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.

37 lines
854 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: mtkbmp.hxx
  3. *
  4. * Copyright (c) 1997 Microsoft Corporation
  5. *
  6. \**************************************************************************/
  7. #ifndef __mtkbmp_hxx__
  8. #define __mtkbmp_hxx__
  9. #include "mtk.hxx"
  10. /**************************************************************************\
  11. * MTKBMP
  12. *
  13. \**************************************************************************/
  14. class MTKBMP {
  15. public:
  16. MTKBMP( HDC hdcWinArg );
  17. ~MTKBMP();
  18. BOOL Resize( ISIZE *pSize );
  19. HBITMAP GetHBitmap() { return hBitmap; };
  20. HDC GetHdc() { return hdc; };
  21. HDC hdc;
  22. ISIZE size;
  23. private:
  24. HBITMAP hBitmap;
  25. HDC hdcWin; // the window hdc, ???
  26. };
  27. typedef MTKBMP* PMTKBMP;
  28. #endif // __mtkbmp_hxx__