Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.04 KB

ExitWindows.md

File metadata and controls

55 lines (37 loc) · 1.04 KB

Home

Function name : ExitWindows

Group: System Shutdown - Library: user32


Logs the current user off


Code examples:

Closing Windows

Declaration:

BOOL ExitWindows(
	DWORD  dwReserved,	// reserved
	UINT  uReserved 	// reserved
);  

FoxPro declaration:

DECLARE INTEGER ExitWindows IN user32;
	INTEGER dwReserved,;
	INTEGER uReserved  

Parameters:

dwReserved Reserved; must be zero.

uReserved Reserved; must be zero


Return value:

If the function succeeds, the return value is TRUE


Comments:

Windows Me: using this function causes an error: entry point not found; it looks like this function is not implemented or it has an alias different from "ExitWindow".

Most evidently ExitWindows call is completely equivalent to
ExitWindowsEx (EWX_LOGOFF, 0)