Search found 12 matches: exitwindowsex

Return to advanced search

Re: QRCODE

... antigua de FW que no tiene la funcion CALLDLL Similar a DLL32 Function Apagar (uFlags As LONG, dwReserved AS LONG) ; AS LONG PASCAL FROM "ExitWindowsEx" LIB "USER32.DLL" nResp := DllCall(qrDLL,DC_CALL_STD,"FastQRCode",cStr,cFile) #Define DC_CALL_STD 0x0020 FUNCTION ...
by jnavas
Wed Dec 12, 2018 10:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: QRCODE
Replies: 12
Views: 3745

Re: Resolucion en pantalla

... AS LPSTR,; dwFlags AS DWORD) AS DWORD PASCAL; FROM "ChangeDisplaySettingsA" LIB "User32.dll" DLL32 FUNCTION ExitWindowsEx(uFlags AS DWORD,; dwReserved AS DWORD) AS DWORD PASCAL; LIB "user32.dll" //************************************************************************ ...
by russimicro
Thu Aug 13, 2015 1:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resolucion en pantalla
Replies: 7
Views: 2587

Re: CAMBIO RESOLUCION PANTALLA

... AS LPSTR,; dwFlags AS DWORD) AS DWORD PASCAL; FROM "ChangeDisplaySettingsA" LIB "User32.dll" DLL32 FUNCTION ExitWindowsEx(uFlags AS DWORD,; dwReserved AS DWORD) AS DWORD PASCAL; LIB "user32.dll" ahora puedo usar en cualquier plataforma una resolucion ...
by Maggiro
Sat Apr 19, 2014 9:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMBIO RESOLUCION PANTALLA
Replies: 28
Views: 8700

Change/save Screen-resolution to Applic.-resol. at Runtime ?

... Alias "ChangeDisplaySettingsA" _ (lptypDevMode As Any, ByVal dwFlags As Long) As Long // Exit Windows Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved _ As Long) As Long Best Regards Uwe :?:
by ukoenig
Wed Mar 30, 2011 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4656

Re: Logoff on exit

... LIB "USER32" and DLL32 FUNCTION ExitWindEx; ( uFlags AS LONG, ; dwReserved AS LONG ) ; AS LONG PASCAL; FROM "ExitWindowsEx" LIB "USER32" // uFlags-defines : #define EWX_LOGOFF 0 #define EWX_SHUTDOWN 1 #define EWX_REBOOT 2 #define EWX_POWEROFF ...
by ukoenig
Thu Feb 10, 2011 10:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Logoff on exit
Replies: 3
Views: 1199

... FUNCTION ChangeDisplaySettings(@lpDevMode AS LPSTR,; dwFlags AS DWORD) AS DWORD; FROM "ChangeDisplaySettingsA" LIB "User32.dll" DLL32 FUNCTION ExitWindowsEx(uFlags AS DWORD,; dwReserved AS DWORD) AS DWORD PASCAL; LIB "user32.dll" Probé tu solución y funciona perfectamente Saludos //--------------------------------------------------------------------------// ...
by jaba
Mon Oct 27, 2008 11:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ajustar resolucion
Replies: 10
Views: 2739

... FUNCTION ChangeDisplaySettings(@lpDevMode AS LPSTR,; dwFlags AS DWORD) AS DWORD; FROM "ChangeDisplaySettingsA" LIB "User32.dll" DLL32 FUNCTION ExitWindowsEx(uFlags AS DWORD,; dwReserved AS DWORD) AS DWORD PASCAL; LIB "user32.dll" Probé tu solución y funciona perfectamente Saludos
by horacio
Mon Oct 27, 2008 2:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ajustar resolucion
Replies: 10
Views: 2739

David, Prueba así: DLL FUNCTION ExitWindowsEx( nFlags AS LONG, nReserved AS LONG ) AS BOOL PASCAL LIB "user32.dll" aunque aqui no está funcionando. Quizá haya que codificarla en lenguaje C completamente. #include "hbclass.ch" ...
by metaldrummer
Thu Mar 13, 2008 12:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre el API de windows
Replies: 15
Views: 3705

David,

Prueba así:

DLL FUNCTION ExitWindowsEx( nFlags AS LONG, nReserved AS LONG ) AS BOOL PASCAL LIB "user32.dll"

aunque aqui no está funcionando. Quizá haya que codificarla en lenguaje C completamente.
by Antonio Linares
Thu Mar 13, 2008 12:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre el API de windows
Replies: 15
Views: 3705

... FUNCTION ChangeDisplaySettings(@lpDevMode AS LPSTR,; dwFlags AS DWORD) AS DWORD; FROM "ChangeDisplaySettingsA" LIB "User32.dll" DLL32 FUNCTION ExitWindowsEx(uFlags AS DWORD,; dwReserved AS DWORD) AS DWORD PASCAL; LIB "user32.dll" ------------------------------------------------------------
by Manuel Valdenebro
Fri Feb 08, 2008 9:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMBIO RESOLUCION PANTALLA
Replies: 28
Views: 8700

... oDevMode:cBuffer:=cBuffer DO CASE Case uRet = DISP_RESTART if MsgYesNo("Deseja reiniciar para aplicar as alteracoes?", "Atencao") uRet := ExitWindowsEx(EWX_REBOOT, 0) Endif Case uRet = DISP_SUCCESS uRet := ChangeDisplaySettings( @cBuffer, CDS_UPDATE) lDone:=.T. if lDireto oDevMode:nFields ...
by horacio
Wed Feb 06, 2008 10:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMBIO RESOLUCION PANTALLA
Replies: 28
Views: 8700

Antonio:
Creo que me falta algo. Al compilar me da:

error C2065: 'ExitWindowsEx' : undeclared identifier

(Utilizo la versión FWPPC de 24 agosto 2006) Un saludo,

Rafael
by Rafael Clemente
Tue Oct 10, 2006 11:01 am
 
Forum: FiveWin para Pocket PC
Topic: Puede hacerse un Soft Reset del Pocket desde el programa???
Replies: 6
Views: 1324

Return to advanced search