Click or drag to resize

WindowsApiInitiateSystemShutdownEx Method

Win32 InitiateSystemShutdownEx function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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