ntoskrnl.exe: Add stub for ExRegisterCallback() function.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1cad86fced
commit
7bc99ae125
|
@ -2062,6 +2062,14 @@ NTSTATUS WINAPI ExCreateCallback(PCALLBACK_OBJECT *obj, POBJECT_ATTRIBUTES attr,
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
void * WINAPI ExRegisterCallback(PCALLBACK_OBJECT callback_object,
|
||||
PCALLBACK_FUNCTION callback_function, void *callback_context)
|
||||
{
|
||||
FIXME("callback_object %p, callback_function %p, callback_context %p stub.\n",
|
||||
callback_object, callback_function, callback_context);
|
||||
|
||||
return (void *)0xdeadbeef;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ExFreePool (NTOSKRNL.EXE.@)
|
||||
|
@ -3046,6 +3054,7 @@ PVOID WINAPI MmGetSystemRoutineAddress(PUNICODE_STRING SystemRoutineName)
|
|||
if (!pFunc)
|
||||
{
|
||||
hMod = GetModuleHandleW( halW );
|
||||
|
||||
if (hMod) pFunc = GetProcAddress( hMod, routineNameA.Buffer );
|
||||
}
|
||||
RtlFreeAnsiString( &routineNameA );
|
||||
|
|
|
@ -183,7 +183,7 @@
|
|||
@ stub ExRaiseException
|
||||
@ stub ExRaiseHardError
|
||||
@ stub ExRaiseStatus
|
||||
@ stub ExRegisterCallback
|
||||
@ stdcall ExRegisterCallback(ptr ptr ptr)
|
||||
@ stub ExReinitializeResourceLite
|
||||
@ stdcall ExReleaseResourceForThreadLite(ptr long)
|
||||
@ extern ExSemaphoreObjectType
|
||||
|
|
|
@ -1356,6 +1356,7 @@ typedef void * (NTAPI *PALLOCATE_FUNCTION)(POOL_TYPE, SIZE_T, ULONG);
|
|||
typedef void * (NTAPI *PALLOCATE_FUNCTION_EX)(POOL_TYPE, SIZE_T, ULONG, PLOOKASIDE_LIST_EX);
|
||||
typedef void (NTAPI *PFREE_FUNCTION)(void *);
|
||||
typedef void (NTAPI *PFREE_FUNCTION_EX)(void *, PLOOKASIDE_LIST_EX);
|
||||
typedef void (NTAPI *PCALLBACK_FUNCTION)(void *, void *, void *);
|
||||
|
||||
#ifdef _WIN64
|
||||
#define LOOKASIDE_ALIGN DECLSPEC_CACHEALIGN
|
||||
|
@ -1627,6 +1628,7 @@ PSLIST_ENTRY WINAPI ExInterlockedPushEntrySList(PSLIST_HEADER,PSLIST_ENTRY,PKSPI
|
|||
LIST_ENTRY * WINAPI ExInterlockedRemoveHeadList(LIST_ENTRY*,KSPIN_LOCK*);
|
||||
BOOLEAN WINAPI ExIsResourceAcquiredExclusiveLite(ERESOURCE*);
|
||||
ULONG WINAPI ExIsResourceAcquiredSharedLite(ERESOURCE*);
|
||||
void * WINAPI ExRegisterCallback(PCALLBACK_OBJECT,PCALLBACK_FUNCTION,void*);
|
||||
void FASTCALL ExReleaseFastMutexUnsafe(PFAST_MUTEX);
|
||||
void WINAPI ExReleaseResourceForThreadLite(ERESOURCE*,ERESOURCE_THREAD);
|
||||
ULONG WINAPI ExSetTimerResolution(ULONG,BOOLEAN);
|
||||
|
|
Loading…
Reference in New Issue