Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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 |