Desktop Functions: Smart Device Functions:
|
Search Results for "QueryServiceStatusEx" in [All]advapi32
/// Required to call the QueryServiceStatusEx function to ask the service
''' Required to call the QueryServiceStatusEx function to ask the service
static extern bool QueryServiceStatusEx(IntPtr serviceHandle, int infoLevel, IntPtr buffer, int bufferSize, out int bytesNeeded);
Public Shared Function QueryServiceStatusEx(serviceHandle As IntPtr, infoLevel As Integer, buffer As IntPtr, bufferSize As Integer, ByRef bytesNeeded As Integer) As Boolean
public static SERVICE_STATUS_PROCESS QueryServiceStatusEx(IntPtr serviceHandle)
QueryServiceStatusEx(serviceHandle, 0, buf, size, out size);
if (!QueryServiceStatusEx(serviceHandle, 0, buf, size, out size))
public static extern unsafe bool QueryServiceStatusEx(IntPtr serviceHandle, int infoLevel, IntPtr buffer, int bufferSize, out int bytesNeeded);
Public Shared Function QueryServiceStatusEx(serviceHandle As IntPtr, infoLevel As Integer, buffer As IntPtr, bufferSize As Integer, ByRef bytesNeeded As Integer) As Boolean
public static SERVICE_STATUS_PROCESS QueryServiceStatusEx(SafeHandle serviceHandle)
bool bOk = QueryServiceStatusEx(serviceHandle.DangerousGetHandle(), 0, pData, sizeof(SERVICE_STATUS_PROCESS), out |