source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wbemtran.idl@ 1170

Last change on this file since 1170 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 5.1 KB
Line 
1cpp_quote("/**")
2cpp_quote(" * This file is part of the mingw-w64 runtime package.")
3cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
4cpp_quote(" */")
5cpp_quote("")
6
7import "objidl.idl";
8import "oleidl.idl";
9import "oaidl.idl";
10import "wbemcli.idl";
11
12cpp_quote("#include <winapifamily.h>")
13cpp_quote("")
14cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
15
16interface IWbemTransport;
17interface IWbemLevel1Login;
18interface IWbemConnectorLogin;
19interface IWbemAddressResolution;
20interface IWbemClientTransport;
21interface IWbemClientConnectionTransport;
22
23typedef enum tag_WBEM_LOGIN_TYPE {
24 WBEM_FLAG_INPROC_LOGIN = 0,
25 WBEM_FLAG_LOCAL_LOGIN = 1,
26 WBEM_FLAG_REMOTE_LOGIN = 2,
27 WBEM_AUTHENTICATION_METHOD_MASK = 0xf,
28 WBEM_FLAG_USE_MULTIPLE_CHALLENGES = 0x10
29} WBEM_LOGIN_TYPE;
30
31typedef /*[size_is (16), length_is (16)]*/ BYTE *WBEM_128BITS;
32
33[uuid (027947f3-d731-11ce-a357-000000000001)]
34library WbemTransports_v1 {
35 [uuid (8bc3f05e-d86b-11d0-a075-00c04fb68820)] /* restricted */
36 coclass WbemLevel1Login {
37 interface IWbemLevel1Login;
38 interface IWbemConnectorLogin;
39 };
40
41 [uuid (a1044801-8f7e-11d1-9e7c-00c04fc324a8)] /* restricted */
42 coclass WbemLocalAddrRes {
43 interface IWbemAddressResolution;
44 };
45
46 [uuid (7a0227f6-7108-11d1-ad90-00c04fd8fdff)] /* restricted */
47 coclass WbemUninitializedClassObject {
48 interface IWbemClassObject;
49 interface IWbemObjectAccess;
50 interface IWbemConstructClassObject;
51 };
52
53 [uuid (f7ce2e13-8c90-11d1-9e7b-00c04fc324a8)] /* restricted */
54 coclass WbemDCOMTransport {
55 interface IWbemClientTransport;
56 interface IWbemClientConnectionTransport;
57 };
58};
59
60[object, restricted, uuid (f309ad18-d86a-11d0-a075-00c04fb68820), pointer_default (unique)]
61interface IWbemLevel1Login : IUnknown {
62 HRESULT EstablishPosition ([in, unique, string] LPWSTR wszLocaleList,[in] DWORD dwNumLocales,[out] DWORD *reserved);
63 HRESULT RequestChallenge ([in, unique, string] LPWSTR wszNetworkResource,[in, unique, string] LPWSTR wszUser,[out] WBEM_128BITS Nonce);
64 HRESULT WBEMLogin ([in, unique, string] LPWSTR wszPreferredLocale,[in, unique] WBEM_128BITS AccessToken,[in] long lFlags,[in] IWbemContext *pCtx,[out] IWbemServices **ppNamespace);
65 HRESULT NTLMLogin ([in, unique, string] LPWSTR wszNetworkResource,[in, unique, string] LPWSTR wszPreferredLocale,[in] long lFlags,[in] IWbemContext *pCtx,[out] IWbemServices **ppNamespace);
66};
67
68[object, restricted, uuid (d8ec9cb1-b135-4f10-8b1b-c7188bb0d186), pointer_default (unique)]
69interface IWbemConnectorLogin : IUnknown {
70 HRESULT ConnectorLogin ([in, unique, string] LPWSTR wszNetworkResource,[in, unique, string] LPWSTR wszPreferredLocale,[in] long lFlags,[in] IWbemContext *pCtx,[in] REFIID riid,[out, iid_is (riid)] void **pInterface);
71};
72
73[object, local, uuid (F7CE2E12-8c90-11d1-9e7b-00c04fc324a8), restricted, pointer_default (unique)]
74interface IWbemAddressResolution : IUnknown {
75 HRESULT Resolve ([in] LPWSTR wszNamespacePath,[out] LPWSTR wszAddressType,[out] DWORD *pdwAddressLength,[out, size_is (,*pdwAddressLength)] BYTE **pabBinaryAddress);
76};
77
78[local, object, restricted, uuid (553fe584-2156-11d0-b6ae-00aa003240c7)]
79interface IWbemTransport : IUnknown {
80 HRESULT Initialize ();
81}
82[local, object, restricted, uuid (9ef76194-70d5-11d1-ad90-00c04fd8fdff)]
83interface IWbemConstructClassObject : IUnknown {
84 HRESULT SetInheritanceChain ([in] long lNumAntecedents,[in, size_is (lNumAntecedents), string] LPWSTR *awszAntecedents);
85 HRESULT SetPropertyOrigin ([in, string] LPCWSTR wszPropertyName,[in] long lOriginIndex);
86 HRESULT SetMethodOrigin ([in, string] LPCWSTR wszMethodName,[in] long lOriginIndex);
87 HRESULT SetServerNamespace ([in, string] LPCWSTR wszServer,[in, string] LPCWSTR wszNamespace);
88};
89
90[object, local, restricted, uuid (f7ce2e11-8c90-11d1-9e7b-00c04fc324a8), pointer_default (unique)]
91interface IWbemClientTransport : IUnknown {
92 HRESULT ConnectServer ([in] BSTR strAddressType,[in] DWORD dwBinaryAddressLength,[in, size_is (dwBinaryAddressLength)] BYTE *abBinaryAddress,[in] BSTR strNetworkResource,[in] BSTR strUser,[in] BSTR strPassword,[in] BSTR strLocale,[in] long lSecurityFlags,[in] BSTR strAuthority,[in] IWbemContext *pCtx,[out] IWbemServices **ppNamespace);
93};
94
95[object, local, restricted, uuid (a889c72a-fcc1-4a9e-af61-ed071333fb5b), pointer_default (unique)]
96interface IWbemClientConnectionTransport : IUnknown {
97 HRESULT Open ([in] BSTR strAddressType,[in] DWORD dwBinaryAddressLength,[in, size_is (dwBinaryAddressLength)] BYTE *abBinaryAddress,[in] const BSTR strObject,[in] const BSTR strUser,[in] const BSTR strPassword,[in] const BSTR strLocale,[in] long lFlags,[in] IWbemContext *pCtx,[in] REFIID riid,[out, iid_is (riid)] void **pInterface,[out] IWbemCallResult **pCallRes);
98 HRESULT OpenAsync ([in] BSTR strAddressType,[in] DWORD dwBinaryAddressLength,[in, size_is (dwBinaryAddressLength)] BYTE *abBinaryAddress,[in] const BSTR strObject,[in] const BSTR strUser,[in] const BSTR strPassword,[in] const BSTR strLocale,[in] long lFlags,[in] IWbemContext *pCtx,[in] REFIID riid,[in] IWbemObjectSink *pResponseHandler);
99 HRESULT Cancel ([in] long lFlags,[in] IWbemObjectSink *pHandler);
100};
101
102cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.