ntoskrnl: Stub EtwRegisterClassicProvider() and EtwUnregister().

This commit is contained in:
Hans Leidekker 2023-11-09 11:35:01 +01:00 committed by Alexandre Julliard
parent b313c4095f
commit 860a6d762f
2 changed files with 22 additions and 0 deletions

View file

@ -27,6 +27,7 @@
#include "excpt.h"
#include "winreg.h"
#include "ntsecapi.h"
#include "evntprov.h"
#include "ddk/csq.h"
#include "wine/server.h"
#include "wine/heap.h"
@ -4599,6 +4600,25 @@ void WINAPI KeLowerIrql(KIRQL new)
#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
*/

View file

@ -1,3 +1,5 @@
@ stdcall EtwRegisterClassicProvider(ptr long ptr ptr ptr)
@ stdcall EtwUnregister(int64)
@ stdcall -arch=!i386 ExAcquireFastMutex(ptr)
@ stdcall -fastcall ExAcquireFastMutexUnsafe(ptr)
@ stub ExAcquireRundownProtection