Jump to content

WinShutdownSystem: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
mNo edit summary
Line 16: Line 16:
INCL_WINWORKPLACE
INCL_WINWORKPLACE


=== Calling conversion ===
=== Calling Convention ===
[[Cdecl32]]
[[Cdecl32]]



Revision as of 22:28, 16 January 2017

WinShutdownSystem

WinShutdownSystem(anchorBlockHndl, messageQueueHndl)
Brings the system down.

Parameters

anchorBlockHndl - HAB - input
The anchor block handle.
password - HMQ - input
The message queue handle.

Constants

Returns

This function returns a BOOL with the values of:

Define (C/C++)

INCL_WINWORKPLACE

Calling Convention

Cdecl32

Example Code

...
HAB   hab;
HMQ   hmq;
BOOL rc;
...
rc = WinShutdownSystem (hab, hmq);
...

Related Functions

Notes

This call will close all running applications and call DosShutdown.

All PM apps will receive a WM_SAVEAPPLICATION message before the WM_QUIT message.