- Add some structures

svn path=/trunk/; revision=43395
This commit is contained in:
Dmitry Chapyshev 2009-10-12 12:28:22 +00:00
parent 3ed9870bca
commit 6eb3586017
2 changed files with 47 additions and 1 deletions

View file

@ -11,6 +11,28 @@
#endif
#endif
typedef struct _EVENT_TRACE_PROPERTIES
{
WNODE_HEADER Wnode;
ULONG BufferSize;
ULONG MinimumBuffers;
ULONG MaximumBuffers;
ULONG MaximumFileSize;
ULONG LogFileMode;
ULONG FlushTimer;
ULONG EnableFlags;
LONG AgeLimit;
ULONG NumberOfBuffers;
ULONG FreeBuffers;
ULONG EventsLost;
ULONG BuffersWritten;
ULONG LogBuffersLost;
ULONG RealTimeBuffersLost;
HANDLE LoggerThreadId;
ULONG LogFileNameOffset;
ULONG LoggerNameOffset;
} EVENT_TRACE_PROPERTIES, *PEVENT_TRACE_PROPERTIES;
typedef struct _EVENT_TRACE_HEADER
{
USHORT Size;

View file

@ -1,6 +1,30 @@
#ifndef _WMISTR_
#define _WMISTR_
typedef struct _WNODE_HEADER
{
ULONG BufferSize;
ULONG ProviderId;
union
{
ULONG64 HistoricalContext;
struct
{
ULONG Version;
ULONG Linkage;
};
};
union
{
ULONG CountLost;
HANDLE KernelHandle;
LARGE_INTEGER TimeStamp;
};
GUID Guid;
ULONG ClientContext;
ULONG Flags;
} WNODE_HEADER, *PWNODE_HEADER;
typedef enum
{
WMI_GET_ALL_DATA = 0,