Click or drag to resize
Xcalibur Systems LLC Logo

ServiceHelperSetServiceStatus Method

Updates the service control manager's status information for the calling service.

SetServiceStatus function


Namespace: Xcalibur.NativeMethods.V2.Services
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("advapi32.dll")]
public static bool SetServiceStatus(
	IntPtr serviceStatusHandle,
	ref ServiceStatus serviceStatus
)

Parameters

serviceStatusHandle  IntPtr
A handle to the status information structure for the current service.
serviceStatus  ServiceStatus
A pointer to the structure the contains the latest status information for the calling service.

Return Value

Boolean
See Also