home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
atl
/
opengl
/
opengl.idl
< prev
next >
Wrap
Text File
|
1998-03-26
|
779b
|
42 lines
// 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;
};
};