home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 November / Chip_2002-11_cd1.bin / zkuste / vbasic / Data / Utils / WME71SDK.exe / RCDATA / CABINET / encview.idl < prev    next >
Text File  |  2001-03-02  |  2KB  |  75 lines

  1. // encview.idl : IDL source for encview.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (encview.tlb) and marshalling code.
  6.  
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9. #include "olectl.h"
  10.  
  11. midl_pragma warning( disable: 2039)   
  12.  
  13. cpp_quote( "EXTERN_GUID( LIBID_ENCVIEWLib,        0x63F3230A, 0x47E9, 0x4B86, 0xB6, 0xD7, 0x69, 0x25, 0x70, 0xDE, 0xBC, 0xAF);" )
  14. cpp_quote( "EXTERN_GUID( CLSID_EncoderView,     0x87FE9819, 0x51D3, 0x4AA6, 0x94, 0xAF, 0xAC, 0x82, 0x08, 0xB9, 0xC0, 0x47);" )
  15. cpp_quote( "EXTERN_GUID( IID_IEncoderView ,     0x6D092244, 0x0F25, 0x42D0, 0x97, 0xA2, 0x3F, 0x27, 0xB2, 0x36, 0xC7, 0xE5);" )
  16.     
  17.  
  18.     [
  19.         object,
  20.         uuid(6D092244-0F25-42D0-97A2-3F27B236C7E5),
  21.         dual,
  22.         helpstring("IEncoderView Interface"),
  23.         pointer_default(unique)
  24.     ]
  25.     interface IEncoderView : IDispatch
  26.     {
  27.         [propput, id(DISPID_AUTOSIZE)]
  28.         HRESULT AutoSize([in]VARIANT_BOOL vbool);
  29.         [propget, id(DISPID_AUTOSIZE)]
  30.         HRESULT AutoSize([out,retval]VARIANT_BOOL* pbool);
  31.         [propput, id(DISPID_BACKCOLOR)]
  32.         HRESULT BackColor([in]OLE_COLOR clr);
  33.         [propget, id(DISPID_BACKCOLOR)]
  34.         HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  35.         [propput, id(DISPID_ENABLED)]
  36.         HRESULT Enabled([in]VARIANT_BOOL vbool);
  37.         [propget, id(DISPID_ENABLED)]
  38.         HRESULT Enabled([out,retval]VARIANT_BOOL* pbool);
  39.         [propput, id(DISPID_CAPTION)]
  40.         HRESULT Caption([in]BSTR strCaption);
  41.         [propget, id(DISPID_CAPTION)]
  42.         HRESULT Caption([out,retval]BSTR* pstrCaption);
  43.         [propputref, id(DISPID_MOUSEICON)]
  44.         HRESULT MouseIcon([in]IPictureDisp* pMouseIcon);
  45.         [propput, id(DISPID_MOUSEICON)]
  46.         HRESULT MouseIcon([in]IPictureDisp* pMouseIcon);
  47.         [propget, id(DISPID_MOUSEICON)]
  48.         HRESULT MouseIcon([out, retval]IPictureDisp** ppMouseIcon);
  49.         [propget, id(1), helpstring("property Root")] HRESULT Root([out, retval] IDispatch* *pVal);
  50.         [propput, id(1), helpstring("property Root")] HRESULT Root([in] IDispatch* newVal);
  51.         
  52.         [id(3), helpstring("method Refresh")] HRESULT Refresh();
  53.         [id(4), helpstring("method AddMachine")] HRESULT AddMachine([in] BSTR bstrMachineName);
  54.     };
  55.  
  56. [
  57.     uuid(63F3230A-47E9-4B86-B6D7-692570DEBCAF),
  58.     version(1.0),
  59.     helpstring("encview 1.0 Type Library")
  60. ]
  61. library ENCVIEWLib
  62. {
  63.     importlib("stdole32.tlb");
  64.     importlib("stdole2.tlb");
  65.  
  66.     [
  67.         uuid(87FE9819-51D3-4AA6-94AF-AC8208B9C047),
  68.         helpstring("EncoderView Class")
  69.     ]
  70.     coclass EncoderView
  71.     {
  72.         [default] interface IEncoderView;
  73.     };
  74. };
  75.