xmllite/tests: Fix a memory leak (Valgrind).
[wine.git] / include / wmistr.h
blob0962fc3f92bf34af7311fc63a6f68dd86e1292df
1 /*
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
19 #ifndef _WMISTR_
20 #define _WMISTR_
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
40 typedef enum
42 WMI_GET_ALL_DATA = 0,
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,
50 WMI_REGINFO = 8,
51 WMI_EXECUTE_METHOD = 9,
52 } WMIDPREQUESTCODE;
54 typedef struct _WNODE_HEADER
56 ULONG BufferSize;
57 ULONG ProvicerId;
58 union
60 ULONG64 HistoricalContext;
61 struct
63 ULONG Version;
64 ULONG Linkage;
65 } DUMMYSTRUCTNAME;
67 } DUMMYUNIONNAME;
68 union
70 HANDLE KernelHandle;
71 LARGE_INTEGER TimeStamp;
72 } DUMMYUNIONNAME2;
73 GUID Guid;
74 ULONG ClientContext;
75 ULONG Flags;
76 } WNODE_HEADER, *PWNODE_HEADER;
78 #endif /* _WMISTR_ */