正在加载图片...
利用宏描述接口 DECLARE INTERFACE (IClassFactory, IUnknown STDMETHOD(QueryInterface)(THIS REFIID riid LPVOID FAR* PPVObJ PURE STDMETHOD ULONG, AddRef)(THIS) PURE STDMETHOD (ULONG, Release)(THIS) PURE STDMETHOD(CreateInstance)(THIS LPUNKNOWN pUnkOuter REFIID riid LP VOID FAR PPVObject)PURE, STDMETHOD(Lock Server )(THIS BOOL fLock) PURE利用宏描述接口 DECLARE_INTERFACE_(IClassFactory, IUnknown) { STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD(CreateInstance) (THIS_ LPUNKNOWN pUnkOuter, REFIID riid, LPVOID FAR* ppvObject) PURE; STDMETHOD(LockServer)(THIS_ BOOL fLock) PURE; };
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有