Go to the source code of this file.
◆ PrintService()
Definition at line 13 of file print.c.
17{
18 _tprintf(
_T(
"SERVICE_NAME: %s\n"), lpServiceName);
19
22
23
25
26 if (bExtended)
27 {
32 }
33
35}
VOID PrintServiceStatus(LPSERVICE_STATUS pStatus)
__in WDFDMATRANSACTION __out NTSTATUS * pStatus
_In_ LPCSTR _Out_writes_to_opt_ cchDisplayName LPSTR lpDisplayName
Referenced by Control(), Query(), and Start().
◆ PrintServiceStatus()
Definition at line 39 of file print.c.
41{
43 (
unsigned int)
pStatus->dwServiceType);
44
46 {
49 break;
52 break;
55 break;
58 break;
60 _tprintf(
_T(
"WIN32_OWN_PROCESS (interactive)\n"));
61 break;
63 _tprintf(
_T(
"WIN32_SHARE_PROCESS (interactive)\n"));
64 break;
65 default:
67 }
68
70 (
unsigned int)
pStatus->dwCurrentState);
71
72 switch (
pStatus->dwCurrentState)
73 {
76 break;
79 break;
82 break;
85 break;
88 break;
91 break;
94 break;
95 default:
97 }
98
100
103 else
105
108 else
110
113 else
115
117
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);
128}
#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
Referenced by EnumDepend(), and PrintService().