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.

47 lines
598 B

  1. class CDrawData
  2. {
  3. public:
  4. CDrawData(
  5. ~CDrawData(
  6. HDC GetDC();
  7. HDC GetTargetDevice();
  8. DWORD GetDrawAspect();
  9. LONG GetLindex();
  10. const DVTARGETDEVICE *GetTargetDeviceDesc();
  11. void Push(CDrawData *pdd);
  12. CDrawData * Pop();
  13. private:
  14. DWORD _dwDrawAspect;
  15. LONG _lindex;
  16. const DVTARGETDEVICE *_ptd;
  17. HDC _hdcDraw;
  18. HDC _hicTargetDev;
  19. CDrawData * _pddNext;
  20. };
  21. inline void CDrawData::Push(CDrawData *pdd)
  22. {
  23. _pddNext = pdd;
  24. }
  25. inline CDrawData *CDrawData::Pop()
  26. {
  27. return _pNext;
  28. }