home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / wpobj.idl < prev    next >
Text File  |  1998-04-25  |  1KB  |  56 lines

  1. /*------------------------------------------------*\
  2.  *
  3.  *    Copyright 1997 - 1998 Microsoft Corporation
  4.  *
  5.  *    Module Name:
  6.  *
  7.  *        wpobj.idl
  8.  *
  9.  *    Abstract:
  10.  *
  11.  *        Declaration of the IWPObj interface
  12.  *        and type library
  13.  *
  14. \*------------------------------------------------*/
  15.  
  16.     [
  17.         object,
  18.         uuid(EDD8BBC0-9240-11CF-9ED3-00AA004C120C),
  19.         dual,
  20.         helpstring("IWPObj Interface"),
  21.         pointer_default(unique)
  22.     ]
  23.     interface IWPObj : IDispatch
  24.     {
  25.         import "oaidl.idl";
  26.  
  27.         HRESULT WpPostFile(        [in]                LONG hwnd,
  28.                                 [in, string]        BSTR bsLocalPath,
  29.                                 [in, out]            LONG *plSiteNameBufLen,
  30.                                 [in, out, string]    BSTR *pbsSiteName,
  31.                                 [in, out]            LONG *plDestURLBufLen,
  32.                                 [in, out, string]    BSTR *pbsDestURL,
  33.                                 [in]                LONG lFlag,
  34.                                 [out]                LONG *plRetCode);
  35.     };
  36.  
  37.  
  38. [
  39.     uuid(336c8c70-a62b-11d0-ad5f-00aa00a219aa),
  40.     version(1.0),
  41.     helpstring("WPObj 1.0 Type Library")
  42. ]
  43. library WPObjLib
  44. {
  45.     importlib("stdole2.tlb");
  46.  
  47.     [
  48.         uuid(53DEFDE0-9222-11CF-9ED3-00AA004C120C),
  49.         helpstring("WPObj Class")
  50.     ]
  51.     coclass WPObj
  52.     {
  53.         [default] interface IWPObj;
  54.     };
  55. };
  56.