ntoskrnl.exe: Add stub for ExCreateCallback.

This commit is contained in:
Christian Costa 2012-10-03 08:55:06 +02:00 committed by Alexandre Julliard
parent a3a909f2b9
commit ea943293c6
3 changed files with 22 additions and 1 deletions

View File

@ -1104,6 +1104,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.@)
*/

View File

@ -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

View File

@ -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