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.

62 lines
1.7 KiB

  1. //***************************************************************************
  2. //
  3. // FileName: hlight.h
  4. // $Workfile: hlight.h $
  5. //
  6. // Author:
  7. // TOSHIBA [PCS](PSY) Seiichi Nakamura
  8. // Copyright (c) 1997 TOSHIBA CORPORATION
  9. //
  10. // Description:
  11. //
  12. //***************************************************************************
  13. // $Header: /DVD Drivers/ZIVA2PC.WDM/hlight.h 1 98/07/18 5:02p Seichan $
  14. // $Modtime: 98/07/18 2:11p $
  15. // $Nokeywords:$
  16. //***************************************************************************
  17. //***************************************************************************
  18. //
  19. //***************************************************************************
  20. //---------------------------------------------------------------------------
  21. //
  22. //---------------------------------------------------------------------------
  23. class HW_DEVICE_EXTENSION;
  24. class HlightControl
  25. {
  26. private:
  27. KTIMER m_StartTimer;
  28. KTIMER m_EndTimer;
  29. KDPC m_HlightStartDPC;
  30. KDPC m_HlightEndDPC;
  31. HW_DEVICE_EXTENSION *m_pHwDevExt;
  32. KSPROPERTY_SPHLI m_HlightInfo;
  33. void HwSet( void );
  34. public:
  35. HlightControl( void );
  36. ~HlightControl( void );
  37. void Init( HW_DEVICE_EXTENSION *pHwDevExt );
  38. void OpenControl( void );
  39. void CloseControl( void );
  40. void Set( PKSPROPERTY_SPHLI HlightInfo );
  41. static void HlightStartDpc( IN PKDPC Dpc, IN PVOID context, IN PVOID arg1, IN PVOID arg2 );
  42. static void HlightEndDpc( IN PKDPC Dpc, IN PVOID context, IN PVOID arg1, IN PVOID arg2 );
  43. BOOL m_SetupStartTimer;
  44. BOOL m_SetupEndTimer;
  45. };
  46. //***************************************************************************
  47. // End of hlight.h
  48. //***************************************************************************