Leaked source code of windows server 2003
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.

46 lines
1.7 KiB

  1. /* ------------------------------------------------------------------------------------
  2. ---------- -------
  3. Plug In Server Interfaces Defintions.
  4. Guru Datta Venkatarama 1/29/1997
  5. ---------- -------
  6. -------------------------------------------------------------------------------------*/
  7. #include <objbase.h>
  8. #include <hsvrguid.h> // contains the handler and server inteface IID's and
  9. // the CLSID's for all our plug in servers
  10. #include <sstructs.h>
  11. #ifndef _PINTERFACEH_
  12. #define _PINTERFACEH_
  13. // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  14. DECLARE_INTERFACE_( IServerCharacteristics, IUnknown)
  15. {
  16. // IUnknown Members
  17. STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE;
  18. STDMETHOD_(ULONG, AddRef) (THIS) PURE;
  19. STDMETHOD_(ULONG,Release) (THIS) PURE;
  20. // CImpIServerProperty methods
  21. STDMETHOD(Launch) (THIS_ HWND, USHORT, USHORT) PURE;
  22. STDMETHOD(GetReport) (THIS_ LPDIGCSHEETINFO *lpSvrSheetInfo, LPDIGCPAGEINFO *lpServerPageInfo) PURE;
  23. };
  24. typedef IServerCharacteristics *pIServerCharacteristics;
  25. DECLARE_INTERFACE_( IDIGameCntrlPropSheet, IUnknown)
  26. {
  27. // IUnknown Members
  28. STDMETHOD(QueryInterface) (THIS_ REFIID, LPVOID * ppvObj) PURE;
  29. STDMETHOD_(ULONG, AddRef) (THIS) PURE;
  30. STDMETHOD_(ULONG,Release) (THIS) PURE;
  31. // IServerProperty Members
  32. STDMETHOD(GetSheetInfo) (THIS_ LPDIGCSHEETINFO *) PURE;
  33. STDMETHOD(GetPageInfo) (THIS_ LPDIGCPAGEINFO *) PURE;
  34. STDMETHOD(SetID) (THIS_ USHORT nID) PURE;
  35. STDMETHOD_(USHORT, GetID) (THIS) PURE;
  36. };
  37. typedef IDIGameCntrlPropSheet *LPIDIGAMECNTRLPROPSHEET;
  38. #endif
  39. //-----------------------------------------------------------------------------------EOF