ReactOS 0.4.15-dev-8052-gc0e3179
wmiutils.idl
Go to the documentation of this file.
1/*
2 * Copyright 2012 Hans Leidekker for CodeWeavers
3 *
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.
8 *
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.
13 *
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
17 */
18
19import "oaidl.idl";
20
21interface IWbemPath;
22interface IWbemPathKeyList;
23
25{
45
47{
53
55{
63
64[
65 local,
66 object,
67 uuid(9ae62877-7544-4bb0-aa26-a13824659ed6)
68]
70{
72 [out] ULONG *puKeyCount);
73
75 [in,string] LPCWSTR wszName,
76 [in] ULONG uFlags,
77 [in] ULONG uCimType,
78 [in] LPVOID pKeyVal);
79
81 [in,string] LPCWSTR wszName,
82 [in] ULONG uFlags,
83 [in] ULONG uCimType,
84 [in] VARIANT *pKeyVal);
85
87 [in] ULONG uKeyIx,
88 [in] ULONG uFlags,
89 [in,out] ULONG *puNameBufSize,
90 [in,out] LPWSTR pszKeyName,
91 [in,out] ULONG *puKeyValBufSize,
92 [in,out] LPVOID pKeyVal,
93 [out] ULONG *puApparentCimType);
94
96 [in] ULONG uKeyIx,
97 [in] ULONG uFlags,
98 [in,out] ULONG *puNameBufSize,
99 [in,out] LPWSTR pszKeyName,
100 [in,out] VARIANT *pKeyValue,
101 [out] ULONG *puApparentCimType);
102
104 [in,string] LPCWSTR wszName,
105 [in] ULONG uFlags);
106
108 [in] ULONG uFlags);
109
110 HRESULT MakeSingleton([in] boolean bSet);
111
113 [in] ULONG uRequestedInfo,
114 [out] ULONGLONG *puResponse);
115
117 [in] long lFlags,
118 [in,out] ULONG *puBuffLength,
119 [in,out,string] LPWSTR pszText);
120};
121
122cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
123cpp_quote("#undef GetClassName")
124cpp_quote("#endif")
125
126[
127 local,
128 object,
129 uuid(3bc15af2-736c-477e-9e51-238af8667dcc)
130]
131interface IWbemPath : IUnknown
132{
133 HRESULT SetText(
134 [in] ULONG uMode,
135 [in] LPCWSTR pszPath);
136
137 HRESULT GetText(
138 [in] long lFlags,
139 [in,out] ULONG *puBuffLength,
140 [in,out,string] LPWSTR pszText);
141
142 HRESULT GetInfo(
143 [in] ULONG uRequestedInfo,
144 [out] ULONGLONG *puResponse);
145
146 HRESULT SetServer(
147 [in,string] LPCWSTR Name);
148
149 HRESULT GetServer(
150 [in,out] ULONG *puNameBufLength,
151 [in,out,string] LPWSTR pName);
152
153 HRESULT GetNamespaceCount(
154 [out] ULONG *puCount);
155
156 HRESULT SetNamespaceAt(
157 [in] ULONG uIndex,
158 [in,string] LPCWSTR pszName);
159
160 HRESULT GetNamespaceAt(
161 [in] ULONG uIndex,
162 [in,out] ULONG *puNameBufLength,
163 [in,out,string] LPWSTR pName);
164
165 HRESULT RemoveNamespaceAt(
166 [in] ULONG uIndex);
167
168 HRESULT RemoveAllNamespaces();
169
170 HRESULT GetScopeCount(
171 [out] ULONG *puCount);
172
173 HRESULT SetScope(
174 [in] ULONG uIndex,
175 [in] LPWSTR pszClass);
176
177 HRESULT SetScopeFromText(
178 [in] ULONG uIndex,
179 [in] LPWSTR pszText);
180
181 HRESULT GetScope(
182 [in] ULONG uIndex,
183 [in,out] ULONG *puClassNameBufSize,
184 [in,out] LPWSTR pszClass,
185 [out] IWbemPathKeyList **pKeyList);
186
187 HRESULT GetScopeAsText(
188 [in] ULONG uIndex,
189 [in,out] ULONG *puTextBufSize,
190 [in,out] LPWSTR pszText);
191
192 HRESULT RemoveScope(
193 [in] ULONG uIndex);
194
195 HRESULT RemoveAllScopes();
196
197 HRESULT SetClassName(
198 [in,string] LPCWSTR Name);
199
200 HRESULT GetClassName(
201 [in,out] ULONG *puBuffLength,
202 [in,out,string] LPWSTR pszName);
203
204 HRESULT GetKeyList(
205 [out] IWbemPathKeyList **pOut);
206
207 HRESULT CreateClassPart(
208 [in] long lFlags,
209 [in,string] LPCWSTR Name);
210
211 HRESULT DeleteClassPart(
212 [in] long lFlags);
213
214 BOOL IsRelative(
215 [in,string] LPWSTR wszMachine,
216 [in,string] LPWSTR wszNamespace);
217
218 BOOL IsRelativeOrChild(
219 [in,string] LPWSTR wszMachine,
220 [in,string] LPWSTR wszNamespace,
221 [in] long lFlags);
222
223 BOOL IsLocal(
224 [in,string] LPCWSTR wszMachine);
225
226 BOOL IsSameClassName(
227 [in,string] LPCWSTR wszClass);
228};
229
230[
231 uuid(cf4cc405-e2c5-4ddd-b3ce-5e7582d8c9fa)
232]
233coclass WbemDefPath
234{
235 interface IWbemPath;
236};
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
Definition: d3d10.idl:491
UINT uFlags
Definition: api.c:59
#define local
Definition: zutil.h:30
GLuint in
Definition: glext.h:9616
HRESULT SetKey2([in, string] LPCWSTR wszName, [in] ULONG uFlags, [in] ULONG uCimType, [in] VARIANT *pKeyVal)
HRESULT GetInfo([in] ULONG uRequestedInfo, [out] ULONGLONG *puResponse)
HRESULT GetText([in] long lFlags, [in, out] ULONG *puBuffLength, [in, out, string] LPWSTR pszText)
HRESULT MakeSingleton([in] boolean bSet)
HRESULT RemoveAllKeys([in] ULONG uFlags)
HRESULT GetKey2([in] ULONG uKeyIx, [in] ULONG uFlags, [in, out] ULONG *puNameBufSize, [in, out] LPWSTR pszKeyName, [in, out] VARIANT *pKeyValue, [out] ULONG *puApparentCimType)
HRESULT RemoveKey([in, string] LPCWSTR wszName, [in] ULONG uFlags)
HRESULT SetKey([in, string] LPCWSTR wszName, [in] ULONG uFlags, [in] ULONG uCimType, [in] LPVOID pKeyVal)
HRESULT GetCount([out] ULONG *puKeyCount)
HRESULT GetKey([in] ULONG uKeyIx, [in] ULONG uFlags, [in, out] ULONG *puNameBufSize, [in, out] LPWSTR pszKeyName, [in, out] ULONG *puKeyValBufSize, [in, out] LPVOID pKeyVal, [out] ULONG *puApparentCimType)
Definition: msctf.idl:550
static FILE * out
Definition: regtests2xml.c:44
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
tag_WBEM_GET_TEXT_FLAGS
Definition: wmiutils.idl:55
@ WBEMPATH_GET_RELATIVE_ONLY
Definition: wmiutils.idl:57
@ WBEMPATH_GET_ORIGINAL
Definition: wmiutils.idl:61
@ WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY
Definition: wmiutils.idl:59
@ WBEMPATH_COMPRESSED
Definition: wmiutils.idl:56
@ WBEMPATH_GET_SERVER_TOO
Definition: wmiutils.idl:58
@ WBEMPATH_GET_NAMESPACE_ONLY
Definition: wmiutils.idl:60
tag_WBEM_PATH_CREATE_FLAG
Definition: wmiutils.idl:47
@ WBEMPATH_TREAT_SINGLE_IDENT_AS_NS
Definition: wmiutils.idl:51
@ WBEMPATH_CREATE_ACCEPT_RELATIVE
Definition: wmiutils.idl:48
@ WBEMPATH_CREATE_ACCEPT_ABSOLUTE
Definition: wmiutils.idl:49
@ WBEMPATH_CREATE_ACCEPT_ALL
Definition: wmiutils.idl:50
tag_WBEM_PATH_STATUS_FLAG
Definition: wmiutils.idl:25
@ WBEMPATH_INFO_HAS_IMPLIED_KEY
Definition: wmiutils.idl:33
@ WBEMPATH_INFO_NATIVE_PATH
Definition: wmiutils.idl:41
@ WBEMPATH_INFO_WMI_PATH
Definition: wmiutils.idl:42
@ WBEMPATH_INFO_IS_CLASS_REF
Definition: wmiutils.idl:28
@ WBEMPATH_INFO_IS_PARENT
Definition: wmiutils.idl:39
@ WBEMPATH_INFO_HAS_MACHINE_NAME
Definition: wmiutils.idl:27
@ WBEMPATH_INFO_IS_COMPOUND
Definition: wmiutils.idl:31
@ WBEMPATH_INFO_V2_COMPLIANT
Definition: wmiutils.idl:36
@ WBEMPATH_INFO_IS_SINGLETON
Definition: wmiutils.idl:38
@ WBEMPATH_INFO_HAS_SUBSCOPES
Definition: wmiutils.idl:30
@ WBEMPATH_INFO_CONTAINS_SINGLETON
Definition: wmiutils.idl:34
@ WBEMPATH_INFO_PATH_HAD_SERVER
Definition: wmiutils.idl:43
@ WBEMPATH_INFO_IS_INST_REF
Definition: wmiutils.idl:29
@ WBEMPATH_INFO_SERVER_NAMESPACE_ONLY
Definition: wmiutils.idl:40
@ WBEMPATH_INFO_CIM_COMPLIANT
Definition: wmiutils.idl:37
@ WBEMPATH_INFO_HAS_V2_REF_PATHS
Definition: wmiutils.idl:32
@ WBEMPATH_INFO_ANON_LOCAL_MACHINE
Definition: wmiutils.idl:26
@ WBEMPATH_INFO_V1_COMPLIANT
Definition: wmiutils.idl:35
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185