Commit ea943293 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

ntoskrnl.exe: Add stub for ExCreateCallback.

parent a3a909f2
......@@ -1105,6 +1105,18 @@ PVOID WINAPI ExAllocatePoolWithQuotaTag( POOL_TYPE type, SIZE_T size, ULONG tag
/***********************************************************************
* ExCreateCallback (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI ExCreateCallback(PCALLBACK_OBJECT *obj, POBJECT_ATTRIBUTES attr,
BOOLEAN create, BOOLEAN allow_multiple)
{
FIXME("(%p, %p, %u, %u): stub\n", obj, attr, create, allow_multiple);
return STATUS_NOT_IMPLEMENTED;
}
/***********************************************************************
* ExFreePool (NTOSKRNL.EXE.@)
*/
void WINAPI ExFreePool( void *ptr )
......
......@@ -122,7 +122,7 @@
@ stdcall ExAllocatePoolWithTag(long long long)
@ stub ExAllocatePoolWithTagPriority
@ stub ExConvertExclusiveToSharedLite
@ stub ExCreateCallback
@ stdcall ExCreateCallback(ptr ptr long long)
@ stub ExDeleteNPagedLookasideList
@ stub ExDeletePagedLookasideList
@ stub ExDeleteResourceLite
......
......@@ -1106,6 +1106,15 @@ typedef enum {
IoModifyAccess
} LOCK_OPERATION;
typedef struct _CALLBACK_OBJECT
{
ULONG Signature;
KSPIN_LOCK Lock;
LIST_ENTRY RegisteredCallbacks;
BOOLEAN AllowMultipleCallbacks;
UCHAR reserved[3];
} CALLBACK_OBJECT, *PCALLBACK_OBJECT;
NTSTATUS WINAPI ObCloseHandle(IN HANDLE handle);
#ifdef NONAMELESSUNION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment