wined3d: Use wined3d_mask_from_size() in wined3d_ffp_get_fs_settings().
[wine.git] / include / wmistr.h
blob12b9832696e0eda5deb754b91b94a0370a1cca14
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_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
45 typedef enum
47 WMI_GET_ALL_DATA = 0,
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,
55 WMI_REGINFO = 8,
56 WMI_EXECUTE_METHOD = 9,
57 WMI_CAPTURE_STATE = 10
58 } WMIDPREQUESTCODE;
60 typedef struct _WNODE_HEADER
62 ULONG BufferSize;
63 ULONG ProviderId;
64 union
66 ULONG64 HistoricalContext;
67 struct
69 ULONG Version;
70 ULONG Linkage;
71 } DUMMYSTRUCTNAME;
72 } DUMMYUNIONNAME;
73 union
75 ULONG CountLost;
76 HANDLE KernelHandle;
77 LARGE_INTEGER TimeStamp;
78 } DUMMYUNIONNAME2;
79 GUID Guid;
80 ULONG ClientContext;
81 ULONG Flags;
82 } WNODE_HEADER, *PWNODE_HEADER;
84 #endif /* _WMISTR_ */