// wmigpo.idl : IDL source for wmigpo.dll // // This file will be processed by the MIDL tool to // produce the type library (wmigpo.tlb) and marshalling code. import "oaidl.idl"; import "ocidl.idl"; [ object, uuid(602C65DA-AC2C-4CA3-ABD3-0F8C1275945A), dual, helpstring("IWmiGpoHelper Interface"), pointer_default(unique) ] interface IWmiGpoHelper : IDispatch { [id(1), helpstring("method Create")] HRESULT Create( [in] BSTR bstrName, [in] BSTR bstrDomainPath, [out,retval] BSTR* pbstrPath ); [id(2), helpstring("method Delete")] HRESULT Delete( [in] BSTR bstrPath ); [id(3), helpstring("method GetPath")] HRESULT GetPath( [in] BSTR bstrName, [in] BSTR bstrDomainPath, [out,retval] BSTR* pbstrPath ); [id(4), helpstring("method Link")] HRESULT Link( [in] BSTR bstrPath, [in] BSTR bstrOUPath ); [id(5), helpstring("method Unlink")] HRESULT Unlink( [in] BSTR bstrPath, [in] BSTR bstrOUPath ); [id(6), helpstring("method UnlinkAll")] HRESULT UnlinkAll( [in] BSTR bstrPath ); }; [ uuid(3AF0A1B9-D4CA-493A-82AC-43847C7D8635), version(1.0), helpstring("WmiGpoHelper 1.0 Type Library") ] library WmiGpoHelperLib { importlib("stdole32.tlb"); importlib("stdole2.tlb"); [ uuid(29DC9AF3-7EB3-4BC4-AF9A-16732F6D3653), helpstring("WmiGpoHelper Class") ] coclass WmiGpoHelper { [default] interface IWmiGpoHelper; }; };