2020-08-28 12:28:45 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS Kernel - Vista+ APIs
|
|
|
|
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
|
|
|
* PURPOSE: Etw functions of Vista+
|
|
|
|
* COPYRIGHT: 2020 Victor Perevertkin (victor.perevertkin@reactos.org)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <ntdef.h>
|
|
|
|
#include <ntifs.h>
|
|
|
|
|
|
|
|
_IRQL_requires_max_(HIGH_LEVEL)
|
|
|
|
NTSTATUS
|
2020-09-24 18:51:57 +00:00
|
|
|
NTKRNLVISTAAPI
|
2020-08-28 12:28:45 +00:00
|
|
|
NTAPI
|
|
|
|
EtwWrite(
|
|
|
|
_In_ REGHANDLE RegHandle,
|
|
|
|
_In_ PCEVENT_DESCRIPTOR EventDescriptor,
|
|
|
|
_In_opt_ LPCGUID ActivityId,
|
|
|
|
_In_ ULONG UserDataCount,
|
|
|
|
_In_reads_opt_(UserDataCount) PEVENT_DATA_DESCRIPTOR UserData)
|
|
|
|
{
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
_IRQL_requires_max_(PASSIVE_LEVEL)
|
|
|
|
NTSTATUS
|
2020-09-24 18:51:57 +00:00
|
|
|
NTKRNLVISTAAPI
|
2020-08-28 12:28:45 +00:00
|
|
|
NTAPI
|
|
|
|
EtwRegister(
|
|
|
|
_In_ LPCGUID ProviderId,
|
|
|
|
_In_opt_ PETWENABLECALLBACK EnableCallback,
|
|
|
|
_In_opt_ PVOID CallbackContext,
|
|
|
|
_Out_ PREGHANDLE RegHandle)
|
|
|
|
{
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
_IRQL_requires_max_(PASSIVE_LEVEL)
|
|
|
|
NTSTATUS
|
2020-09-24 18:51:57 +00:00
|
|
|
NTKRNLVISTAAPI
|
2020-08-28 12:28:45 +00:00
|
|
|
NTAPI
|
|
|
|
EtwUnregister(
|
|
|
|
_In_ REGHANDLE RegHandle)
|
|
|
|
{
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
|
|
}
|