Commit 0a5f0f74 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

ntoskrnl.exe: Add CmRegisterCallback/CmUnRegisterCallback stub.

parent 11669fa5
......@@ -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;
}
......@@ -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
......
......@@ -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
......
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