Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.1 KiB

  1. /*****************************************************************************\
  2. * *
  3. * vbdsc.h DSC interfaces for OLE *
  4. * *
  5. * OLE Version 2.0 *
  6. * *
  7. * Copyright (c) 1992-1994, Microsoft Corp. All rights reserved. *
  8. * *
  9. \*****************************************************************************/
  10. #if !defined( _VBDSC_H_ )
  11. #define _VBDSC_H_
  12. // JeffG: Copied this section from olebind.h to get rid of compiler warnings
  13. #if !defined( INITGUID )
  14. // trevors: To build with vc5, we should not include olectlid.h anymore. We
  15. // should include olectl.h. We check to see if we are compiling with vc5 or
  16. // not and include the correct header file.
  17. #if _MSC_VER == 1100
  18. #include <olectl.h>
  19. #else
  20. #include <olectlid.h>
  21. #endif // _MSC_VER
  22. #endif
  23. DEFINE_GUID(IID_IVBDSC,
  24. 0x1ab42240, 0x8c70, 0x11ce, 0x94, 0x21, 0x0, 0xaa, 0x0, 0x62, 0xbe, 0x57);
  25. typedef interface IVBDSC FAR *LPVBDSC;
  26. typedef enum _tagDSCERROR
  27. {
  28. DSCERR_BADDATAFIELD = 0
  29. }
  30. DSCERROR;
  31. //////////////////////////////////////////////////////////////////////////////
  32. //
  33. // IVBDSC interface
  34. //
  35. //////////////////////////////////////////////////////////////////////////////
  36. #undef INTERFACE
  37. #define INTERFACE IVBDSC
  38. DECLARE_INTERFACE_(IVBDSC, IUnknown)
  39. {
  40. //
  41. // IUnknown methods
  42. //
  43. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  44. STDMETHOD_(ULONG,AddRef)(THIS) PURE;
  45. STDMETHOD_(ULONG,Release)(THIS) PURE;
  46. //
  47. // IVBDSC methods
  48. //
  49. STDMETHOD(CancelUnload)(THIS_ BOOL FAR *pfCancel) PURE;
  50. STDMETHOD(Error)(THIS_ DWORD dwErr, BOOL FAR *pfShowError) PURE;
  51. STDMETHOD(CreateCursor)(THIS_ ICursor FAR * FAR *ppCursor) PURE;
  52. };
  53. #endif // !defined( _VBDSC_H_ )
  54.