#include "exp.h"
Go to the source code of this file.
Classes | |
struct | _CALLBACK_OBJECT |
struct | _CALLBACK_REGISTRATION |
Defines | |
#define | CALLBACK_MODIFY_STATE 0x0001 |
#define | CALLBACK_ALL_ACCESS |
Typedefs | |
typedef _CALLBACK_OBJECT | CALLBACK_OBJECT |
typedef _CALLBACK_OBJECT * | PCALLBACK_OBJECT |
typedef _CALLBACK_REGISTRATION | CALLBACK_REGISTRATION |
typedef _CALLBACK_REGISTRATION * | PCALLBACK_REGISTRATION |
Functions | |
VOID | ExpDeleteCallback (IN PCALLBACK_OBJECT CallbackObject) |
BOOLEAN | ExpInitializeCallbacks () |
NTSTATUS | ExCreateCallback (OUT PCALLBACK_OBJECT *CallbackObject, IN POBJECT_ATTRIBUTES ObjectAttributes, IN BOOLEAN Create, IN BOOLEAN AllowMultipleCallbacks) |
PVOID | ExRegisterCallback (IN PCALLBACK_OBJECT CallbackObject, IN PCALLBACK_FUNCTION CallbackFunction, IN PVOID CallbackContext) |
VOID | ExUnregisterCallback (IN PVOID CbRegistration) |
VOID | ExNotifyCallback (IN PCALLBACK_OBJECT CallbackObject, IN PVOID Argument1, IN PVOID Argument2) |
Variables | |
POBJECT_TYPE | ExCallbackObjectType |
KEVENT | ExpCallbackEvent |
GENERIC_MAPPING | ExpCallbackMapping |
|
Value:
Definition at line 35 of file ex/callback.c. Referenced by ExpInitializeCallbacks(). |
|
Definition at line 33 of file ex/callback.c. |
|
|
|
|
|
Referenced by ExCreateCallback(), and ExUnregisterCallback(). |
|
Referenced by ExNotifyCallback(), ExRegisterCallback(), and ExUnregisterCallback(). |
|
Definition at line 222 of file ex/callback.c. References Create(), ExCallbackObjectType, Handle, KeInitializeSpinLock(), KernelMode, NT_SUCCESS, NTSTATUS(), NULL, ObCreateObject(), ObInsertObject(), ObjectAttributes, ObOpenObjectByName(), ObReferenceObjectByHandle(), PAGED_CODE, PCALLBACK_OBJECT, and Status. Referenced by ExpInitializeCallbacks().
|
|
Definition at line 563 of file ex/callback.c. References _CALLBACK_REGISTRATION::Busy, _CALLBACK_REGISTRATION::CallbackContext, _CALLBACK_REGISTRATION::CallbackFunction, DISPATCH_LEVEL, ExpCallbackEvent, FALSE, KeAcquireSpinLock, KeReleaseSpinLock(), KeSetEvent(), NULL, PCALLBACK_REGISTRATION, and _CALLBACK_REGISTRATION::UnregisterWaiting.
|
|
Definition at line 370 of file ex/callback.c. References ASSERT. Referenced by ExpInitializeCallbacks().
|
|
Definition at line 101 of file ex/callback.c. References CALLBACK_ALL_ACCESS, EXP_INITIALIZE_GLOBAL_CALLBACKS::CallBackObject, ExCallbackObjectType, ExCreateCallback(), ExpCallbackEvent, ExpCallbackMapping, ExpDeleteCallback(), ExpInitializeCallback, ExpWstrCallback, FALSE, KeInitializeEvent, L, NonPagedPool, NT_SUCCESS, NtClose(), NtCreateDirectoryObject(), NTSTATUS(), NULL, ObCreateObjectType(), OBJECT_TYPE_INITIALIZER, ObjectAttributes, RtlInitUnicodeString(), SePublicDefaultSd, Status, and TRUE.
|
|
Definition at line 378 of file ex/callback.c. References ASSERT, _CALLBACK_REGISTRATION::Busy, _CALLBACK_REGISTRATION::CallbackContext, _CALLBACK_REGISTRATION::CallbackFunction, _CALLBACK_REGISTRATION::CallbackObject, DISPATCH_LEVEL, ExAllocatePoolWithTag, ExFreePool(), FALSE, KeAcquireSpinLock, KeReleaseSpinLock(), _CALLBACK_REGISTRATION::Link, NonPagedPool, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObject, PCALLBACK_FUNCTION, PCALLBACK_REGISTRATION, Status, TRUE, and _CALLBACK_REGISTRATION::UnregisterWaiting.
|
|
Definition at line 479 of file ex/callback.c. References ASSERT, _CALLBACK_REGISTRATION::Busy, _CALLBACK_REGISTRATION::CallbackObject, DISPATCH_LEVEL, Executive, ExFreePool(), ExpCallbackEvent, FALSE, KeAcquireSpinLock, KeClearEvent, KeReleaseSpinLock(), KernelMode, KeWaitForSingleObject(), _CALLBACK_REGISTRATION::Link, _CALLBACK_OBJECT::Lock, NULL, ObDereferenceObject, PCALLBACK_OBJECT, PCALLBACK_REGISTRATION, TRUE, and _CALLBACK_REGISTRATION::UnregisterWaiting.
|
|
Definition at line 43 of file ex/callback.c. Referenced by ExCreateCallback(), and ExpInitializeCallbacks(). |
|
Definition at line 49 of file ex/callback.c. Referenced by ExNotifyCallback(), ExpInitializeCallbacks(), and ExUnregisterCallback(). |
|
Initial value:
Definition at line 56 of file ex/callback.c. Referenced by ExpInitializeCallbacks(). |