ntoskrnl.exe: Add CmRegisterCallback/CmUnRegisterCallback stub.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2015-11-16 22:34:47 -06:00 committed by Alexandre Julliard
parent 11669fa5e2
commit 0a5f0f7420
3 changed files with 24 additions and 2 deletions

View File

@ -36,6 +36,7 @@
#include "ddk/csq.h"
#include "ddk/ntddk.h"
#include "ddk/ntifs.h"
#include "ddk/wdm.h"
#include "wine/unicode.h"
#include "wine/server.h"
#include "wine/list.h"
@ -2378,3 +2379,21 @@ void WINAPI ProbeForWrite(void *address, SIZE_T length, ULONG alignment)
{
FIXME("(%p %lu %u) stub\n", address, length, alignment);
}
/***********************************************************************
* CmRegisterCallback (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI CmRegisterCallback(EX_CALLBACK_FUNCTION *function, void *context, LARGE_INTEGER *cookie)
{
FIXME("(%p %p %p): stub\n", function, context, cookie);
return STATUS_NOT_IMPLEMENTED;
}
/***********************************************************************
* CmUnRegisterCallback (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI CmUnRegisterCallback(LARGE_INTEGER cookie)
{
FIXME("(%s): stub\n", wine_dbgstr_longlong(cookie.QuadPart));
return STATUS_NOT_IMPLEMENTED;
}

View File

@ -100,8 +100,8 @@
@ stub CcUnpinRepinnedBcb
@ stub CcWaitForCurrentLazyWriterActivity
@ stub CcZeroData
@ stub CmRegisterCallback
@ stub CmUnRegisterCallback
@ stdcall CmRegisterCallback(ptr ptr ptr)
@ stdcall CmUnRegisterCallback(int64)
@ stdcall DbgBreakPoint() ntdll.DbgBreakPoint
@ stub DbgBreakPointWithStatus
@ stub DbgLoadImageSymbols

View File

@ -1163,6 +1163,9 @@ typedef struct _CALLBACK_OBJECT
UCHAR reserved[3];
} CALLBACK_OBJECT, *PCALLBACK_OBJECT;
typedef NTSTATUS (NTAPI EX_CALLBACK_FUNCTION)(void *CallbackContext, void *Argument1, void *Argument2);
typedef EX_CALLBACK_FUNCTION *PEX_CALLBACK_FUNCTION;
NTSTATUS WINAPI ObCloseHandle(IN HANDLE handle);
#ifdef NONAMELESSUNION