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.

33 lines
953 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: CDirect3D.h
  3. *
  4. * This file contains the code to support the functionality test harness
  5. * for GDI+. This includes menu options and calling the appropriate
  6. * functions for execution.
  7. *
  8. * Created: 05-May-2000 - Jeff Vezina [t-jfvez]
  9. *
  10. * Copyright (c) 2000 Microsoft Corporation
  11. *
  12. \**************************************************************************/
  13. #ifndef __CDIRECT3D_H
  14. #define __CDIRECT3D_H
  15. #include "COutput.h"
  16. class CDirect3D : public COutput
  17. {
  18. public:
  19. CDirect3D(BOOL bRegression);
  20. virtual ~CDirect3D();
  21. BOOL Init();
  22. Graphics *PreDraw(int &nOffsetX,int &nOffsetY); // Set up graphics at the given X,Y offset
  23. void PostDraw(RECT rTestArea); // Finish off graphics at rTestArea
  24. LPDIRECTDRAW7 m_paDD7; // DirectDraw 7
  25. LPDIRECTDRAWSURFACE7 m_paDDSurf7; // DirectDraw surface 7
  26. };
  27. #endif