Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.5 KiB

// ConnMgr.idl : IDL source for ConnMgr.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (ConnMgr.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
import "wbemcli.idl";
[
uuid(FA84E6F2-0B7B-11D2-BDCB-00C04FA35447),
helpstring("IConnectionManager Interface"),
pointer_default(unique)
]
interface IConnectionManager : IUnknown
{
[helpstring("method GetConnection")]
HRESULT GetConnection([in]BSTR bsMachineName,
[out]IWbemServices** ppWbemService,
[out]long* lStatus);
[helpstring("method RegisterEventNotification")]
HRESULT RegisterEventNotification([in]BSTR bsMachineName,
[in]BSTR bsQuery,
[in]IWbemObjectSink* pSink);
[helpstring("method RemoveConnection")]
HRESULT RemoveConnection([in] BSTR bsMachineName,
[in]IWbemObjectSink* pSink);
[helpstring("method ExecQueryAsync")] HRESULT ExecQueryAsync([in]BSTR bsMachineName, [in]BSTR bsQuery, [in]IWbemObjectSink* pSink);
[helpstring("method ConnectToNamespace")] HRESULT ConnectToNamespace([in]BSTR bsNamespace, [out]IWbemServices** ppService);
};
[
uuid(FA84E6E5-0B7B-11D2-BDCB-00C04FA35447),
version(1.0),
helpstring("ConnMgr 1.0 Type Library")
]
library CONNMGRLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(FA84E6F3-0B7B-11D2-BDCB-00C04FA35447),
helpstring("ConnectionManager Class")
]
coclass ConnectionManager
{
[default] interface IConnectionManager;
};
};