ReactOS  0.4.14-dev-376-gaedba84
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 
19 import "oaidl.idl";
20 
21 interface IWbemPath;
22 interface 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 
122 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
123 cpp_quote("#undef GetClassName")
124 cpp_quote("#endif")
125 
126 [
127  local,
128  object,
129  uuid(3bc15af2-736c-477e-9e51-238af8667dcc)
130 ]
131 interface IWbemPath : IUnknown
132 {
134  [in] ULONG uMode,
135  [in] LPCWSTR pszPath);
136 
138  [in] long lFlags,
139  [in,out] ULONG *puBuffLength,
140  [in,out,string] LPWSTR pszText);
141 
143  [in] ULONG uRequestedInfo,
144  [out] ULONGLONG *puResponse);
145 
147  [in,string] LPCWSTR Name);
148 
150  [in,out] ULONG *puNameBufLength,
151  [in,out,string] LPWSTR pName);
152 
154  [out] ULONG *puCount);
155 
157  [in] ULONG uIndex,
158  [in,string] LPCWSTR pszName);
159 
161  [in] ULONG uIndex,
162  [in,out] ULONG *puNameBufLength,
163  [in,out,string] LPWSTR pName);
164 
166  [in] ULONG uIndex);
167 
169 
171  [out] ULONG *puCount);
172 
174  [in] ULONG uIndex,
175  [in] LPWSTR pszClass);
176 
178  [in] ULONG uIndex,
179  [in] LPWSTR pszText);
180 
182  [in] ULONG uIndex,
183  [in,out] ULONG *puClassNameBufSize,
184  [in,out] LPWSTR pszClass,
185  [out] IWbemPathKeyList **pKeyList);
186 
188  [in] ULONG uIndex,
189  [in,out] ULONG *puTextBufSize,
190  [in,out] LPWSTR pszText);
191 
193  [in] ULONG uIndex);
194 
196 
198  [in,string] LPCWSTR Name);
199 
201  [in,out] ULONG *puBuffLength,
202  [in,out,string] LPWSTR pszName);
203 
205  [out] IWbemPathKeyList **pOut);
206 
208  [in] long lFlags,
209  [in,string] LPCWSTR Name);
210 
212  [in] long lFlags);
213 
215  [in,string] LPWSTR wszMachine,
216  [in,string] LPWSTR wszNamespace);
217 
219  [in,string] LPWSTR wszMachine,
220  [in,string] LPWSTR wszNamespace,
221  [in] long lFlags);
222 
223  BOOL IsLocal(
224  [in,string] LPCWSTR wszMachine);
225 
227  [in,string] LPCWSTR wszClass);
228 };
229 
230 [
231  uuid(cf4cc405-e2c5-4ddd-b3ce-5e7582d8c9fa)
232 ]
233 coclass WbemDefPath
234 {
235  interface IWbemPath;
236 };
HRESULT SetText([in] ULONG uMode, [in] LPCWSTR pszPath)
HRESULT SetKey([in, string] LPCWSTR wszName, [in] ULONG uFlags, [in] ULONG uCimType, [in] LPVOID pKeyVal)
HRESULT GetNamespaceAt([in] ULONG uIndex, [in, out] ULONG *puNameBufLength, [in, out, string] LPWSTR pName)
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
HRESULT GetInfo([in] ULONG uRequestedInfo, [out] ULONGLONG *puResponse)
HRESULT GetKey2([in] ULONG uKeyIx, [in] ULONG uFlags, [in, out] ULONG *puNameBufSize, [in, out] LPWSTR pszKeyName, [in, out] VARIANT *pKeyValue, [out] ULONG *puApparentCimType)
UINT uFlags
Definition: api.c:59
tag_WBEM_PATH_STATUS_FLAG
Definition: wmiutils.idl:24
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
BOOL IsRelativeOrChild([in, string] LPWSTR wszMachine, [in, string] LPWSTR wszNamespace, [in] long lFlags)
HRESULT RemoveScope([in] ULONG uIndex)
HRESULT RemoveAllKeys([in] ULONG uFlags)
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)
HRESULT GetInfo([in] ULONG uRequestedInfo, [out] ULONGLONG *puResponse)
HRESULT GetKeyList([out] IWbemPathKeyList **pOut)
unsigned int BOOL
Definition: ntddk_ex.h:94
#define e
Definition: ke_i.h:82
HRESULT DeleteClassPart([in] long lFlags)
HRESULT GetServer([in, out] ULONG *puNameBufLength, [in, out, string] LPWSTR pName)
HRESULT GetText([in] long lFlags, [in, out] ULONG *puBuffLength, [in, out, string] LPWSTR pszText)
static LPSTR pName
Definition: security.c:75
HRESULT GetScope([in] ULONG uIndex, [in, out] ULONG *puClassNameBufSize, [in, out] LPWSTR pszClass, [out] IWbemPathKeyList **pKeyList)
LONG HRESULT
Definition: typedefs.h:77
uint64_t ULONGLONG
Definition: typedefs.h:65
BOOL IsSameClassName([in, string] LPCWSTR wszClass)
HRESULT RemoveAllScopes()
const GLubyte * c
Definition: glext.h:8905
static FILE * out
Definition: regtests2xml.c:44
HRESULT GetScopeAsText([in] ULONG uIndex, [in, out] ULONG *puTextBufSize, [in, out] LPWSTR pszText)
BOOL IsLocal([in, string] LPCWSTR wszMachine)
HRESULT SetServer([in, string] LPCWSTR Name)
HRESULT RemoveNamespaceAt([in] ULONG uIndex)
BOOL IsRelative([in, string] LPWSTR wszMachine, [in, string] LPWSTR wszNamespace)
HRESULT SetNamespaceAt([in] ULONG uIndex, [in, string] LPCWSTR pszName)
HRESULT SetScope([in] ULONG uIndex, [in] LPWSTR pszClass)
HRESULT RemoveAllNamespaces()
HRESULT GetClassName([in, out] ULONG *puBuffLength, [in, out, string] LPWSTR pszName)
#define local
Definition: zutil.h:30
HRESULT SetKey2([in, string] LPCWSTR wszName, [in] ULONG uFlags, [in] ULONG uCimType, [in] VARIANT *pKeyVal)
HRESULT GetScopeCount([out] ULONG *puCount)
GLuint in
Definition: glext.h:9616
HRESULT GetNamespaceCount([out] ULONG *puCount)
tag_WBEM_GET_TEXT_FLAGS
Definition: wmiutils.idl:54
HRESULT GetCount([out] ULONG *puKeyCount)
HRESULT SetClassName([in, string] LPCWSTR Name)
HRESULT SetScopeFromText([in] ULONG uIndex, [in] LPWSTR pszText)
HRESULT GetText([in] long lFlags, [in, out] ULONG *puBuffLength, [in, out, string] LPWSTR pszText)
unsigned int ULONG
Definition: retypes.h:1
WCHAR * LPWSTR
Definition: xmlstorage.h:184
HRESULT CreateClassPart([in] long lFlags, [in, string] LPCWSTR Name)
tag_WBEM_PATH_CREATE_FLAG
Definition: wmiutils.idl:46
void * object
Definition: jmemsys.h:48
HRESULT MakeSingleton([in] boolean bSet)
HRESULT RemoveKey([in, string] LPCWSTR wszName, [in] ULONG uFlags)