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.

61 lines
2.0 KiB

  1. //==========================================================================;
  2. //
  3. // MMCONFIG.H
  4. // CATIMultimediaTable Class definition.
  5. // Copyright (c) 1996 - 1998 ATI Technologies Inc. All Rights Reserved.
  6. //
  7. // $Date: 23 Jun 1999 11:59:52 $
  8. // $Revision: 1.3 $
  9. // $Author: pleung $
  10. //
  11. //==========================================================================;
  12. #ifndef _MMCONFIG_H_
  13. #define _MMCONFIG_H_
  14. #include "i2cgpio.h"
  15. #include "atibios.h"
  16. #include "atiguids.h"
  17. #include "atidigad.h"
  18. class CATIMultimediaTable
  19. {
  20. public:
  21. // constructor
  22. CATIMultimediaTable ( PDEVICE_OBJECT pDeviceObject, GPIOINTERFACE * pGPIOInterface, PBOOL pbResult);
  23. ~CATIMultimediaTable ();
  24. PVOID operator new ( size_t stSize);
  25. void operator delete ( PVOID pvAllocation);
  26. // Attributes
  27. private:
  28. ULONG m_ulRevision;
  29. ULONG m_ulSize;
  30. PUCHAR m_pvConfigurationData;
  31. // Implementation
  32. public:
  33. BOOL GetTVTunerId ( PUSHORT pusTVTunerId);
  34. BOOL GetVideoDecoderId ( PUSHORT pusDecoderId);
  35. BOOL GetOEMId ( PUSHORT pusOEMId);
  36. BOOL GetOEMRevisionId ( PUSHORT pusOEMRevisionId);
  37. BOOL GetATIProductId ( PUSHORT pusProductId);
  38. BOOL IsATIProduct ( PBOOL pbATIProduct);
  39. BOOL GetDigialAudioConfiguration ( PDIGITAL_AUD_INFO pInput);
  40. BOOL GetVideoInCrystalId ( PUCHAR pucVInCrystalId ); //Paul
  41. private:
  42. BOOL GetMultimediaInfo_IConfiguration2 ( PDEVICE_OBJECT pDeviceObject,
  43. ATI_QueryPrivateInterface pfnQueryInterface);
  44. BOOL GetMultimediaInfo_IConfiguration1 ( PDEVICE_OBJECT pDeviceObject,
  45. ATI_QueryPrivateInterface pfnQueryInterface);
  46. BOOL GetMultimediaInfo_IConfiguration ( PDEVICE_OBJECT pDeviceObject,
  47. ATI_QueryPrivateInterface pfnQueryInterface);
  48. BOOL QueryGPIOProvider ( PDEVICE_OBJECT pDeviceObject,
  49. GPIOINTERFACE * pGPIOInterface,
  50. PGPIOControl pGPIOControl);
  51. };
  52. #endif // _MMCONFIG_H_