SERVICE_STATUS_PROCESS (advapi32)
Last changed: Smoke-190.64.97.191

.
Summary

C# Signature:

[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)]
public struct SERVICE_STATUS_PROCESS
{
     public int serviceType;
     public int currentState;
     public int controlsAccepted;
     public int win32ExitCode;
     public int serviceSpecificExitCode;
     public int checkPoint;
     public int waitHint;
     public int processID;
     public int serviceFlags;
}

VB Signature:

<StructLayout(LayoutKind.Sequential, CharSet := CharSet.Unicode)> _
Public Structure SERVICE_STATUS_PROCESS
    Public serviceType As Integer
    Public currentState As Integer
    Public controlsAccepted As Integer
    Public win32ExitCode As Integer
    Public serviceSpecificExitCode As Integer
    Public checkPoint As Integer
    Public waitHint As Integer
    Public processID As Integer
    Public serviceFlags As Integer
End Structure

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation