Commit 860a6d76 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

ntoskrnl: Stub EtwRegisterClassicProvider() and EtwUnregister().

parent b313c409
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include "excpt.h" #include "excpt.h"
#include "winreg.h" #include "winreg.h"
#include "ntsecapi.h" #include "ntsecapi.h"
#include "evntprov.h"
#include "ddk/csq.h" #include "ddk/csq.h"
#include "wine/server.h" #include "wine/server.h"
#include "wine/heap.h" #include "wine/heap.h"
...@@ -4599,6 +4600,25 @@ void WINAPI KeLowerIrql(KIRQL new) ...@@ -4599,6 +4600,25 @@ void WINAPI KeLowerIrql(KIRQL new)
#endif #endif
typedef void (WINAPI *PETW_CLASSIC_CALLBACK)(
const GUID *guid, UCHAR control_code, void *enable_context, void *callback_context);
NTSTATUS WINAPI EtwRegisterClassicProvider(const GUID *provider, ULONG type, PETW_CLASSIC_CALLBACK callback,
void *context, REGHANDLE *handle)
{
FIXME("provider %s, type %lu, enable_callback %p, context %p, handle %p\n", debugstr_guid(provider), type,
callback, context, handle);
*handle = 0xdeadbeef;
return STATUS_SUCCESS;
}
NTSTATUS WINAPI EtwUnregister(REGHANDLE handle)
{
FIXME("handle %I64x\n", handle);
return STATUS_SUCCESS;
}
/***************************************************** /*****************************************************
* DllMain * DllMain
*/ */
......
@ stdcall EtwRegisterClassicProvider(ptr long ptr ptr ptr)
@ stdcall EtwUnregister(int64)
@ stdcall -arch=!i386 ExAcquireFastMutex(ptr) @ stdcall -arch=!i386 ExAcquireFastMutex(ptr)
@ stdcall -fastcall ExAcquireFastMutexUnsafe(ptr) @ stdcall -fastcall ExAcquireFastMutexUnsafe(ptr)
@ stub ExAcquireRundownProtection @ stub ExAcquireRundownProtection
......
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