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.

38 lines
902 B

  1. #include "resource.h"
  2. class C_dxj_DDEnumModes2Object :
  3. public I_dxj_DDEnumModes2,
  4. public CComObjectRoot
  5. {
  6. public:
  7. C_dxj_DDEnumModes2Object() ;
  8. virtual ~C_dxj_DDEnumModes2Object() ;
  9. BEGIN_COM_MAP(C_dxj_DDEnumModes2Object)
  10. COM_INTERFACE_ENTRY(I_dxj_DDEnumModes2)
  11. END_COM_MAP()
  12. DECLARE_AGGREGATABLE(C_dxj_DDEnumModes2Object)
  13. public:
  14. HRESULT STDMETHODCALLTYPE getItem( long index, DDSurfaceDesc2 *info);
  15. HRESULT STDMETHODCALLTYPE getCount(long *count);
  16. static HRESULT C_dxj_DDEnumModes2Object::create(LPDIRECTDRAW4 pdd,long flags, DDSurfaceDesc2 *pdesc, I_dxj_DDEnumModes2 **ppRet);
  17. //static HRESULT C_dxj_DDEnumModes2Object::create7(LPDIRECTDRAW7 pdd,long flags, DDSurfaceDesc2 *pdesc, I_dxj_DDEnumModes2 **ppRet);
  18. public:
  19. DDSurfaceDesc2 *m_pList;
  20. long m_nCount;
  21. long m_nMax;
  22. BOOL m_bProblem;
  23. };