mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:47:16 +00:00
ntoskrnl: Stub EtwRegisterClassicProvider() and EtwUnregister().
This commit is contained in:
parent
b313c4095f
commit
860a6d762f
|
@ -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)
|
||||||
|
|
||||||
#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
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@ 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
|
||||||
|
|
Loading…
Reference in a new issue