Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Shuts down the process.
Syntax
HRESULT ProcessShutdown(
[in] ShutdownType shutdownType
);
Parameters
[in] shutdownType
The shutdown type, as described in Remarks.
Return value
If the method succeeds, the return value is S_OK. Otherwise, it is E_UNEXPECTED.
Remarks
The shutdown type is defined by the following enum.
typedef enum tagShutdownType {
IdleShutdown,
ForcedShutdown
} ShutdownType;
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | objidl.h |