Page tree
Skip to end of metadata
Go to start of metadata

Initiates a shutdown of the WinGate engine from the WinGate Management Console

Syntax

Parameters

hParent
Type: HWND
 The parent window of the message dialog that will appear as part of the shutdown
dwFlags
Type: DWORD

 The bit flags that control the shutdown process

FlagDescription
SHUTDOWN_FLAG_RESTARTRestart the WinGate engine after it has shut down
SHUTDOWN_FLAG_NOCANCELSet if you don't wish to allow the user to cancel the shutdown
SHUTDOWN_FLAG_ASKUSERPrompt the user for verification that they wish to shutdown

Return Value

Type: HRESULT
If the shutdown request succeeds then the return value is ERROR_SUCCESS.

Remarks

None

Examples

None

See Also