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.

53 lines
1.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: d3drmarrayobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // d3dRMObjectArrayObj.h : Declaration of the C_dxj_Direct3dRMObjectArrayObject
  11. #include "resource.h" // main symbols
  12. #define typedef__dxj_Direct3dRMObjectArray LPDIRECT3DRMOBJECTARRAY
  13. /////////////////////////////////////////////////////////////////////////////
  14. // Direct
  15. class C_dxj_Direct3dRMObjectArrayObject :
  16. public I_dxj_Direct3dRMObjectArray,
  17. //public CComCoClass<C_dxj_Direct3dRMObjectArrayObject, &CLSID__dxj_Direct3dRMObjectArray>,
  18. public CComObjectRoot
  19. {
  20. public:
  21. C_dxj_Direct3dRMObjectArrayObject();
  22. virtual ~C_dxj_Direct3dRMObjectArrayObject();
  23. BEGIN_COM_MAP(C_dxj_Direct3dRMObjectArrayObject)
  24. COM_INTERFACE_ENTRY(I_dxj_Direct3dRMObjectArray)
  25. END_COM_MAP()
  26. DECLARE_AGGREGATABLE(C_dxj_Direct3dRMObjectArrayObject)
  27. // I_dxj_Direct3dRMObjectArray
  28. public:
  29. STDMETHOD(InternalSetObject)(IUnknown *lpdd);
  30. STDMETHOD(InternalGetObject)(IUnknown **lpdd);
  31. STDMETHOD(getSize)( long *retval);
  32. STDMETHOD(getElement)( long index, I_dxj_Direct3dRMObject **ret);
  33. private:
  34. DECL_VARIABLE(_dxj_Direct3dRMObjectArray);
  35. public:
  36. DX3J_GLOBAL_LINKS( _dxj_Direct3dRMObjectArray )
  37. };