OPENGL.IDL
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- // OpenGL.idl : IDL source for OpenGL.dll
- //
- #include <olectl.h>
- [
- object,
- uuid(72D08898-0EBD-11D0-BF0D-0000E8D0D146),
- dual,
- helpstring("IOpenGLObj Interface"),
- pointer_default(unique)
- ]
- interface IOpenGLObj : IDispatch
- {
- import "oaidl.idl";
- [propput, id(DISPID_CAPTION)]
- HRESULT Caption([in]BSTR pCaption);
- [propget, id(DISPID_CAPTION)]
- HRESULT Caption([out,retval]BSTR* ppCaption);
- // HRESULT Refresh();
- };
- [
- uuid(72D08896-0EBD-11D0-BF0D-0000E8D0D146),
- version(1.0),
- helpstring("OpenGL 1.0 Type Library")
- ]
- library OPENGLLib
- {
- importlib("stdole2.tlb");
- [
- uuid(72D0889C-0EBD-11D0-BF0D-0000E8D0D146),
- helpstring("OpenGLObj Class")
- ]
- coclass COpenGLObj
- {
- [default] interface IOpenGLObj;
- };
- };