18 _tprintf(
_T(
"SERVICE_NAME: %s\n"), lpServiceName);
43 (
unsigned int)
pStatus->dwServiceType);
60 _tprintf(
_T(
"WIN32_OWN_PROCESS (interactive)\n"));
63 _tprintf(
_T(
"WIN32_SHARE_PROCESS (interactive)\n"));
70 (
unsigned int)
pStatus->dwCurrentState);
72 switch (
pStatus->dwCurrentState)
118 _tprintf(
_T(
"\tWIN32_EXIT_CODE : %u (0x%x)\n"),
119 (
unsigned int)
pStatus->dwWin32ExitCode,
120 (
unsigned int)
pStatus->dwWin32ExitCode);
121 _tprintf(
_T(
"\tSERVICE_EXIT_CODE : %u (0x%x)\n"),
122 (
unsigned int)
pStatus->dwServiceSpecificExitCode,
123 (
unsigned int)
pStatus->dwServiceSpecificExitCode);
125 (
unsigned int)
pStatus->dwCheckPoint);
127 (
unsigned int)
pStatus->dwWaitHint);
VOID PrintService(LPCTSTR lpServiceName, LPCTSTR lpDisplayName, LPSERVICE_STATUS_PROCESS pStatus, BOOL bExtended)
VOID PrintServiceStatus(LPSERVICE_STATUS pStatus)
__in WDFDMATRANSACTION __out NTSTATUS * pStatus
_In_ LPCSTR _Out_writes_to_opt_ cchDisplayName LPSTR lpDisplayName
#define SERVICE_ACCEPT_STOP
#define SERVICE_STOP_PENDING
#define SERVICE_START_PENDING
#define SERVICE_ACCEPT_PAUSE_CONTINUE
#define SERVICE_ACCEPT_SHUTDOWN
#define SERVICE_PAUSE_PENDING
#define SERVICE_CONTINUE_PENDING
#define SERVICE_KERNEL_DRIVER
#define SERVICE_WIN32_SHARE_PROCESS
#define SERVICE_INTERACTIVE_PROCESS
#define SERVICE_WIN32_OWN_PROCESS
#define SERVICE_FILE_SYSTEM_DRIVER