Click or drag to resize

WindowsApiInitiateSystemShutdownEx Method

Win32 InitiateSystemShutdownEx function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
[DllImportAttribute("advapi32.dll", CharSet = CharSet.Auto, SetLastError = true)]
public static bool InitiateSystemShutdownEx(
	string lpMachineName,
	string lpMessage,
	uint dwTimeout,
	bool bForceAppsClosed,
	bool bRebootAfterShutdown,
	WindowsApiShutdownReason dwReason
)
View Source

Parameters

lpMachineName  String
 
lpMessage  String
 
dwTimeout  UInt32
 
bForceAppsClosed  Boolean
 
bRebootAfterShutdown  Boolean
 
dwReason  WindowsApiShutdownReason
 

Return Value

Boolean
See Also