Go to the source code of this file.
◆ EnumDepend()
Definition at line 12 of file depend.c.
13{
14 SC_HANDLE hManager =
NULL;
15 SC_HANDLE hService =
NULL;
18 DWORD EntriesRead = 0;
21
26 {
29 goto done;
30 }
31
34 {
37 goto done;
38 }
39
43 0,
45 &EntriesRead))
46 {
48 {
51 goto done;
52 }
53 }
54
57 {
61 goto done;
62 }
63
69 &EntriesRead))
70 {
73 goto done;
74 }
75
76 _tprintf(
_T(
"Enum: entriesRead = %lu\n"), EntriesRead);
77
78 for (
i = 0;
i < EntriesRead;
i++)
79 {
84 }
85
86done:
89
92
93 if (hService)
95
96 if (hManager)
98
99 return bResult;
100}
VOID PrintServiceStatus(LPSERVICE_STATUS pStatus)
static WCHAR ServiceName[]
static SERVICE_STATUS ServiceStatus
#define HeapFree(x, y, z)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
DWORD ReportLastError(void)
BOOL WINAPI CloseServiceHandle(SC_HANDLE hSCObject)
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
_In_ LPCSTR _Out_writes_to_opt_ cchDisplayName LPSTR lpDisplayName
DWORD WINAPI GetLastError(void)
#define SERVICE_STATE_ALL
#define EnumDependentServices
#define SC_MANAGER_CONNECT
#define SERVICE_ENUMERATE_DEPENDENTS
Referenced by ScControl().