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.

42 lines
1.3 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // hwprov.h
  4. //
  5. // Base hardware HAL provider class.
  6. //
  7. // Copyright (C) Microsoft Corporation, 1997.
  8. //
  9. //----------------------------------------------------------------------------
  10. #ifndef _HWPROV_H_
  11. #define _HWPROV_H_
  12. //----------------------------------------------------------------------------
  13. //
  14. // HwHalProvider
  15. //
  16. // Implements the base HAL provider for hardware renderers.
  17. //
  18. //----------------------------------------------------------------------------
  19. class HwHalProvider : public IHalProvider
  20. {
  21. public:
  22. // IUnknown.
  23. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID* ppvObj);
  24. STDMETHOD_(ULONG, AddRef)(THIS);
  25. STDMETHOD_(ULONG, Release)(THIS);
  26. // IHalProvider.
  27. STDMETHOD(GetCaps)(THIS_
  28. LPDDRAWI_DIRECTDRAW_GBL pDdGbl,
  29. LPD3DDEVICEDESC pHwDesc,
  30. LPD3DDEVICEDESC pHelDesc,
  31. DWORD dwVersion);
  32. STDMETHOD(GetInterface)(THIS_
  33. LPDDRAWI_DIRECTDRAW_GBL pDdGbl,
  34. LPD3DHALPROVIDER_INTERFACEDATA pInterfaceData,
  35. DWORD dwVersion);
  36. };
  37. #endif // #ifndef _HWPROV_H_