component.idl
上传用户:bjlvip
上传日期:2010-02-08
资源大小:744k
文件大小:1k
- // component.idl
- import "unknwn.idl";
- [ object, uuid(10000777-0000-0000-0000-000000000001) ]
- interface IPointerTest : IUnknown
- {
- // For in process only, otherwise must be commented out
- [local] HRESULT GetInterfacePointer1([out] void** ppv);
- HRESULT GetInterfacePointer2([in] REFIID riid, [out, iid_is(riid)] IUnknown** ppv);
- HRESULT GetInterfacePointer3([out] IPointerTest** ppv);
- [local] HRESULT GetInterfacePointer4([in] REFIID riid, [out, iid_is(riid)] void** ppv);
- [call_as(GetInterfacePointer4)] HRESULT RemoteGetInterfacePointer4([in] REFIID riid, [out, iid_is(riid)] IUnknown** ppv);
- }
- [ uuid(10000778-0000-0000-0000-000000000001),
- helpstring("IDL Test Component Type Library"),
- version(1.0) ]
- library Component
- {
- importlib("stdole32.tlb");
- interface IPointerTest;
- [ uuid(10000779-0000-0000-0000-000000000001) ]
- coclass PointerTest
- {
- interface IPointerTest;
- }
- };