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_USE_TIMESTAMP 0x00000200
31 #define WNODE_FLAG_EVENT_REFERENCE 0x00002000
32 #define WNODE_FLAG_METHOD_ITEM 0x00008000
33 #define WNODE_FLAG_PDO_INSTANCE_NAMES 0x00010000
34 #define WNODE_FLAG_TRACED_GUID 0x00020000
35 #define WNODE_FLAG_LOG_WNODE 0x00040000
36 #define WNODE_FLAG_USE_GUID_PTR 0x00080000
37 #define WNODE_FLAG_USE_MOF_PTR 0x00100000
38 #define WNODE_FLAG_SEVERITY_MASK 0xFF000000
43 WMI_GET_SINGLE_INSTANCE
= 1,
44 WMI_SET_SINGLE_INSTANCE
= 2,
45 WMI_SET_SINGLE_ITEM
= 3,
46 WMI_ENABLE_EVENTS
= 4,
47 WMI_DISABLE_EVENTS
= 5,
48 WMI_ENABLE_CONNECTION
= 6,
49 WMI_DISABLE_CONNECTION
= 7,
51 WMI_EXECUTE_METHOD
= 9,
54 typedef struct _WNODE_HEADER
60 ULONG64 HistoricalContext
;
71 LARGE_INTEGER TimeStamp
;
76 } WNODE_HEADER
, *PWNODE_HEADER
;