39 EngEvent->
pKEvent = EngEvent + 1;
48 DPRINT(
"EngCreateEvent() created %p\n", EngEvent);
53 DPRINT(
"EngCreateEvent() failed\n");
72 DPRINT1(
"Driver attempted to delete a usermapped event!\n");
129 if (!EngEvent)
return NULL;
184 DPRINT(
"EngWaitForSingleObject(%p %I64d)\n",
Event, TimeOut->QuadPart);
193 DPRINT1(
"Driver attempted to wait on a usermapped event!\n");
#define NT_SUCCESS(StatCode)
VOID APIENTRY EngClearEvent(_In_ PEVENT Event)
LONG APIENTRY EngReadStateEvent(_In_ PEVENT Event)
BOOL APIENTRY EngDeleteEvent(_In_ _Post_ptr_invalid_ PEVENT Event)
BOOL APIENTRY EngUnmapEvent(_In_ PEVENT Event)
BOOL APIENTRY EngWaitForSingleObject(_In_ PEVENT Event, _In_opt_ PLARGE_INTEGER TimeOut)
PEVENT APIENTRY EngMapEvent(_In_ HDEV hDev, _In_ HANDLE hUserObject, _Reserved_ PVOID Reserved1, _Reserved_ PVOID Reserved2, _Reserved_ PVOID Reserved3)
LONG APIENTRY EngSetEvent(_In_ PEVENT Event)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeInitializeEvent(pEvt, foo, foo2)
#define KeSetEvent(pEvt, foo, foo2)
LONG NTAPI KePulseEvent(IN PKEVENT Event, IN KPRIORITY Increment, IN BOOLEAN Wait)
VOID NTAPI KeClearEvent(IN PKEVENT Event)
LONG NTAPI KeReadStateEvent(IN PKEVENT Event)
#define ExFreePoolWithTag(_P, _T)
#define _Post_ptr_invalid_
#define _Must_inspect_result_
POBJECT_TYPE ExEventObjectType
NTSTATUS NTAPI ObReferenceObjectByHandle(IN HANDLE Handle, IN ACCESS_MASK DesiredAccess, IN POBJECT_TYPE ObjectType, IN KPROCESSOR_MODE AccessMode, OUT PVOID *Object, OUT POBJECT_HANDLE_INFORMATION HandleInformation OPTIONAL)
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
#define ObDereferenceObject