2 * Copyright (C) 2005 Mike McCormack
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #define WNODE_FLAG_ALL_DATA 0x00000001
23 #define WNODE_FLAG_SINGLE_INSTANCE 0x00000002
24 #define WNODE_FLAG_SINGLE_ITEM 0x00000004
25 #define WNODE_FLAG_EVENT_ITEM 0x00000008
26 #define WNODE_FLAG_FIXED_INSTANCE_SIZE 0x00000010
27 #define WNODE_FLAG_TOO_SMALL 0x00000020
28 #define WNODE_FLAG_INSTANCES_SAME 0x00000040
29 #define WNODE_FLAG_STATIC_INSTANCE_NAMES 0x00000080
30 #define WNODE_FLAG_INTERNAL 0x00000100
31 #define WNODE_FLAG_USE_TIMESTAMP 0x00000200
32 #define WNODE_FLAG_PERSIST_EVENT 0x00000400
33 #define WNODE_FLAG_EVENT_REFERENCE 0x00002000
34 #define WNODE_FLAG_ANSI_INSTANCENAMES 0x00004000
35 #define WNODE_FLAG_METHOD_ITEM 0x00008000
36 #define WNODE_FLAG_PDO_INSTANCE_NAMES 0x00010000
37 #define WNODE_FLAG_TRACED_GUID 0x00020000
38 #define WNODE_FLAG_LOG_WNODE 0x00040000
39 #define WNODE_FLAG_USE_GUID_PTR 0x00080000
40 #define WNODE_FLAG_USE_MOF_PTR 0x00100000
41 #define WNODE_FLAG_NO_HEADER 0x00200000
42 #define WNODE_FLAG_SEND_DATA_BLOCK 0x00400000
43 #define WNODE_FLAG_SEVERITY_MASK 0xFF000000
48 WMI_GET_SINGLE_INSTANCE
= 1,
49 WMI_SET_SINGLE_INSTANCE
= 2,
50 WMI_SET_SINGLE_ITEM
= 3,
51 WMI_ENABLE_EVENTS
= 4,
52 WMI_DISABLE_EVENTS
= 5,
53 WMI_ENABLE_CONNECTION
= 6,
54 WMI_DISABLE_CONNECTION
= 7,
56 WMI_EXECUTE_METHOD
= 9,
57 WMI_CAPTURE_STATE
= 10
60 typedef struct _WNODE_HEADER
66 ULONG64 HistoricalContext
;
77 LARGE_INTEGER TimeStamp
;
82 } WNODE_HEADER
, *PWNODE_HEADER
;