mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
![Amine Khaldi](/assets/img/avatar_default.png)
- Add devpropdef.h and evntprov.h - Fix UOW redefinition. [DDK] - Fix PGUID redefinition. [XDK] - Add wmitypes.h and include it in wdm.h autogeneration template. - Move several definitions to their appropriate places. - Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions. - Add CmKeyObjectType to exported object types. - Fix UOW redefinition. - Group some related definitions. [WDM] - Update wdm.h to reflect XDK changes. svn path=/branches/header-work/; revision=46329
58 lines
1.4 KiB
C
58 lines
1.4 KiB
C
/******************************************************************************
|
|
* WMI Library Support Types *
|
|
******************************************************************************/
|
|
|
|
#ifdef RUN_WPP
|
|
#include <evntrace.h>
|
|
#include <stdarg.h>
|
|
#endif
|
|
|
|
#ifndef TRACE_INFORMATION_CLASS_DEFINE
|
|
|
|
typedef struct _ETW_TRACE_SESSION_SETTINGS {
|
|
ULONG Version;
|
|
ULONG BufferSize;
|
|
ULONG MinimumBuffers;
|
|
ULONG MaximumBuffers;
|
|
ULONG LoggerMode;
|
|
ULONG FlushTimer;
|
|
ULONG FlushThreshold;
|
|
ULONG ClockType;
|
|
} ETW_TRACE_SESSION_SETTINGS, *PETW_TRACE_SESSION_SETTINGS;
|
|
|
|
typedef enum _TRACE_INFORMATION_CLASS {
|
|
TraceIdClass,
|
|
TraceHandleClass,
|
|
TraceEnableFlagsClass,
|
|
TraceEnableLevelClass,
|
|
GlobalLoggerHandleClass,
|
|
EventLoggerHandleClass,
|
|
AllLoggerHandlesClass,
|
|
TraceHandleByNameClass,
|
|
LoggerEventsLostClass,
|
|
TraceSessionSettingsClass,
|
|
LoggerEventsLoggedClass,
|
|
MaxTraceInformationClass
|
|
} TRACE_INFORMATION_CLASS;
|
|
|
|
#endif /* TRACE_INFORMATION_CLASS_DEFINE */
|
|
|
|
#ifndef _ETW_KM_
|
|
#define _ETW_KM_
|
|
#endif
|
|
|
|
#include <evntprov.h>
|
|
|
|
typedef VOID
|
|
(NTAPI *PETWENABLECALLBACK)(
|
|
IN LPCGUID SourceId,
|
|
IN ULONG ControlCode,
|
|
IN UCHAR Level,
|
|
IN ULONGLONG MatchAnyKeyword,
|
|
IN ULONGLONG MatchAllKeyword,
|
|
IN PEVENT_FILTER_DESCRIPTOR FilterData OPTIONAL,
|
|
IN OUT PVOID CallbackContext OPTIONAL);
|
|
|
|
#define EVENT_WRITE_FLAG_NO_FAULTING 0x00000001
|
|
|