#include "precomp.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ PsaCaptureSystemModules()
Definition at line 61 of file drivers.c.
62{
66
67#if 0
68 __try
69 {
70#else
71 do
72 {
73#endif
74
79
81 {
83 break;
84 }
85
86
87
88
89
92
94
95 do
96 {
98
99
100
101
105
107 {
110 break;
111 }
112
113 psmModules = pTmp;
114
115
117 psmModules,
120
121
124
126 {
128 break;
129 }
130
131 *SystemModules = psmModules;
132
134#if 0
135 }
136 __finally
137 {
138#else
139 } while(0);
140#endif
141
143 {
145 }
146#if 0
147 }
148#endif
149
151}
void * PsaiMalloc(SIZE_T size)
#define NT_SUCCESS(StatCode)
@ SystemModuleInformation
#define FAILED_WITH_STATUS
struct _RTL_PROCESS_MODULES RTL_PROCESS_MODULES
NTSYSAPI NTSTATUS NTAPI NtQuerySystemInformation(IN SYSTEM_INFORMATION_CLASS SystemInfoClass, OUT PVOID SystemInfoBuffer, IN ULONG SystemInfoBufferSize, OUT PULONG BytesReturned OPTIONAL)
#define STATUS_INFO_LENGTH_MISMATCH
*nSize LPSTR _Inout_ LPDWORD nSize
Referenced by PsaEnumerateSystemModules().
◆ PsaEnumerateSystemModules()
Definition at line 21 of file drivers.c.
23{
26
27#if 0
28 __try
29 {
30#else
31 do
32 {
33#endif
34
36
38 {
39 break;
40 }
41
42
44#if 0
45 }
46 __finally
47 {
48#else
49 } while(0);
50#endif
51
53#if 0
54 }
55#endif
56
58}
NTSTATUS NTAPI PsaWalkSystemModules(IN PRTL_PROCESS_MODULES SystemModules, IN PSYSMOD_ENUM_ROUTINE Callback, IN OUT PVOID CallbackContext)
NTSTATUS NTAPI PsaCaptureSystemModules(OUT PRTL_PROCESS_MODULES *SystemModules)
VOID NTAPI PsaFreeCapture(IN PVOID Capture)
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR _In_ ULONGLONG _In_ ULONGLONG _In_opt_ PEVENT_FILTER_DESCRIPTOR _Inout_opt_ PVOID CallbackContext
◆ PsaWalkFirstSystemModule()
Definition at line 177 of file drivers.c.
178{
179 return &(SystemModules->Modules[0]);
180}
◆ PsaWalkNextSystemModule()
Definition at line 183 of file drivers.c.
184{
188}
#define FIELD_OFFSET(t, f)
◆ PsaWalkSystemModules()
Definition at line 154 of file drivers.c.
157{
160
161
162 for(
i = 0;
i < SystemModules->NumberOfModules;
i++)
163 {
164
166
168 {
170 }
171 }
172
174}
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
Referenced by PsaEnumerateSystemModules().