home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / atl / direct3d / direct3d.idl < prev    next >
Text File  |  1998-03-26  |  743b  |  37 lines

  1. // Direct3D.idl : IDL source for Direct3D.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (Direct3D.tlb) and marshalling code.
  6.  
  7.     [
  8.         object,
  9.         uuid(AF74287B-1FCE-11D0-B91B-000000000000),
  10.         dual,
  11.         helpstring("IDirect3DCtl Interface"),
  12.         pointer_default(unique)
  13.     ]
  14.     interface IDirect3DCtl : IDispatch
  15.     {
  16.         import "oaidl.idl";
  17.         HRESULT DisplayScene();
  18.     };
  19. [
  20.     uuid(AF742877-1FCE-11D0-B91B-000000000000),
  21.     version(1.0),
  22.     helpstring("Direct3DCtl 1.0 Type Library")
  23. ]
  24. library DIRECT3DLib
  25. {
  26.     importlib("stdole32.tlb");
  27.  
  28.     [
  29.         uuid(AF74287A-1FCE-11D0-B91B-000000000000),
  30.         helpstring("Direct3DCtl Class")
  31.     ]
  32.     coclass CDirect3DCtl
  33.     {
  34.         [default] interface IDirect3DCtl;
  35.     };
  36. };
  37.