Source code of Windows XP (NT5)
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.

58 lines
1.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: d3drmpick2arrayobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // d3dRMPick2edArrayObj.h : Declaration of the C_dxj_Direct3dRMPick2ArrayObject
  11. #ifndef _H_D3DRMPICK2ARRAYOBJ
  12. #define _H_D3DRMPICK2ARRAYOBJ
  13. #include "resource.h" // main symbols
  14. #define typedef__dxj_Direct3dRMPick2Array IDirect3DRMPicked2Array*
  15. /////////////////////////////////////////////////////////////////////////////
  16. // Direct
  17. //REVIEW -- using pointers to ID's is necessary because some compilers don't like
  18. //references as template arguments.
  19. class C_dxj_Direct3dRMPick2ArrayObject :
  20. public I_dxj_Direct3dRMPick2Array,
  21. public CComObjectRoot
  22. {
  23. public:
  24. C_dxj_Direct3dRMPick2ArrayObject() ;
  25. virtual ~C_dxj_Direct3dRMPick2ArrayObject() ;
  26. BEGIN_COM_MAP(C_dxj_Direct3dRMPick2ArrayObject)
  27. COM_INTERFACE_ENTRY(I_dxj_Direct3dRMPick2Array)
  28. END_COM_MAP()
  29. DECLARE_AGGREGATABLE(C_dxj_Direct3dRMPick2ArrayObject)
  30. // I_dxj_Direct3dRMPick2Array
  31. public:
  32. STDMETHOD(InternalSetObject)(IUnknown *lpdd);
  33. STDMETHOD(InternalGetObject)(IUnknown **lpdd);
  34. STDMETHOD(getSize)( long *retval);
  35. STDMETHOD(getPickVisual)(long index, D3dRMPickDesc2 *Desc, I_dxj_Direct3dRMVisual **visual);
  36. STDMETHOD(getPickFrame)(long index, D3dRMPickDesc2 *Desc, I_dxj_Direct3dRMFrameArray **frameArray);
  37. private:
  38. DECL_VARIABLE(_dxj_Direct3dRMPick2Array);
  39. public:
  40. DX3J_GLOBAL_LINKS( _dxj_Direct3dRMPick2Array )
  41. };
  42. #endif