#include "ntoskrnl.h"
#include "debug.h"
Go to the source code of this file.
◆ NDEBUG
◆ PREGISTRY_CALLBACK
◆ REGISTRY_CALLBACK
◆ CmiCallRegisteredCallbacks()
Definition at line 59 of file cmhook.c.
61{
66
68
71 CurrentEntry = CurrentEntry->
Flink)
72 {
76 {
77
79
83
85
86
87
88
91 {
92
93 break;
94 }
95 }
96 }
97
99
101}
LIST_ENTRY CmiCallbackHead
FAST_MUTEX CmiCallbackLock
#define NT_SUCCESS(StatCode)
#define ExReleaseRundownProtection
#define ExAcquireRundownProtection
VOID FASTCALL ExAcquireFastMutex(IN PFAST_MUTEX FastMutex)
VOID FASTCALL ExReleaseFastMutex(IN PFAST_MUTEX FastMutex)
struct _LIST_ENTRY * Flink
EX_RUNDOWN_REF RundownRef
PEX_CALLBACK_FUNCTION Function
#define CONTAINING_RECORD(address, type, field)
_IRQL_requires_same_ _In_opt_ PVOID Argument1
Referenced by CmpDeleteKeyObject(), NtDeleteKey(), NtDeleteValueKey(), NtEnumerateKey(), NtEnumerateValueKey(), NtQueryKey(), NtQueryValueKey(), and NtSetValueKey().
◆ CmpInitCallback()
Definition at line 38 of file cmhook.c.
39{
42
43
45
46
48 {
49
51 }
52
53
56}
#define CMP_MAX_CALLBACKS
EX_CALLBACK CmpCallBackVector[100]
#define InitializeListHead(ListHead)
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
VOID NTAPI ExInitializeCallBack(IN OUT PEX_CALLBACK Callback)
FORCEINLINE VOID ExInitializeFastMutex(_Out_ PFAST_MUTEX FastMutex)
Referenced by CmInitSystem1().
◆ CmRegisterCallback()
Definition at line 110 of file cmhook.c.
113{
117
120 'bcMC');
122 {
124 }
125
126
131
132
134
135
136
139
141
144}
_In_ CDROM_SCAN_FOR_SPECIAL_INFO _In_ PCDROM_SCAN_FOR_SPECIAL_HANDLER Function
#define InsertTailList(ListHead, Entry)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define ExInitializeRundownProtection
#define STATUS_INSUFFICIENT_RESOURCES
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
_In_opt_ PVOID _Out_ PLARGE_INTEGER Cookie
◆ CmUnRegisterCallback()
Definition at line 151 of file cmhook.c.
152{
156
158
161 CurrentEntry = CurrentEntry->
Flink)
162 {
165 {
167 {
168
169
172
173
175
176
177
181
182
185 }
186 else
187 {
188
191 }
192 }
193 }
194
196
198}
#define RemoveEntryList(Entry)
#define ExWaitForRundownProtectionRelease
#define ExFreePoolWithTag(_P, _T)
#define STATUS_UNSUCCESSFUL
◆ CmiCallbackHead
◆ CmiCallbackLock
◆ CmpCallBackCount
ULONG CmpCallBackCount = 0 |
◆ CmpCallBackVector