mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
be276dde28
for vista+ APIs implemented in ntoskrnl_vista. Now if you statically link ntoskrnl_vista into a driver, NTKERNELAPI will automatically be removed from an API definition
46 lines
1,012 B
C
46 lines
1,012 B
C
/*
|
|
* 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
|
|
NTKRNLVISTAAPI
|
|
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
|
|
NTKRNLVISTAAPI
|
|
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
|
|
NTKRNLVISTAAPI
|
|
NTAPI
|
|
EtwUnregister(
|
|
_In_ REGHANDLE RegHandle)
|
|
{
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
}
|