Using Win32 functions in Visual FoxPro Image Gallery
System Shutdown
..msdn
ExitWindows
ExitWindowsEx
InitiateShutdown
InitiateSystemShutdown
LockWorkStation
Code examples:
Closing Windows
ExitWindows
    Add comment     W32 Constants      Translate this page
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
My comment:
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)
Word Index links for the ExitWindows :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-12 12:00:00
Modified: 2001-11-26 16:02:24
Visited in last 7 days: 18
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.234.126.92)
21.26 hrs.Function: 'StrTrim'
Function group: 'String'
 Function: 'GetProp'
22.64 hrs.Function: 'MonitorFromWindow'
 Example: 'Enumerating printer drivers installed'
1 day(s)Example: 'Converting strings between ANSI and OEM'
 Example: 'Setting the date and time that a file was created'
 Example: 'Reading the state of mouse buttons within DO WHILE loop'
 Example: 'Using NetWkstaTransportEnum to obtain MAC Address of remote server'
2 day(s)Example: 'Wininet last error description'
 Example: 'How to view system icons for the classes installed on the local machine'
Google
Advertise here!