home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / addins / cmdwnd / cmdstub / cmdstub.idl < prev    next >
Text File  |  1998-04-02  |  825b  |  44 lines

  1. // cmdstub.idl : IDL source for cmdstub.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (cmdstub.tlb) and marshalling code.
  6.  
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9.     [
  10.         object,
  11.         uuid(B772026D-B6B0-11D1-8320-00A0C91BC942),
  12.         dual,
  13.         helpstring("ICmdWnd Interface"),
  14.         pointer_default(unique)
  15.     ]
  16.     interface ICmdWnd : IDispatch
  17.     {
  18.         [id(1)] HRESULT DoCmdWnd();
  19.     };
  20.  
  21. [
  22.     uuid(B7720258-B6B0-11D1-8320-00A0C91BC942),
  23.     version(1.0),
  24.     helpstring("cmdstub 1.0 Type Library")
  25. ]
  26. library CMDSTUBLib
  27. {
  28.     importlib("stdole32.tlb");
  29.     importlib("stdole2.tlb");
  30.  
  31.     importlib("devshl.dll");
  32.     importlib("ide\devdbg.pkg");
  33.     
  34.  
  35.     [
  36.         uuid(B772026E-B6B0-11D1-8320-00A0C91BC942),
  37.         helpstring("CmdWnd Class")
  38.     ]
  39.     coclass CmdWnd
  40.     {
  41.         [default] interface ICmdWnd;
  42.     };
  43. };
  44.