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.

58 lines
1.8 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: d3drmpickedarrayobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // d3drmPickedArrayObj.h : Declaration of the C_dxj_Direct3dRMPickArrayObject
  11. #include "resource.h" // main symbols
  12. #define typedef__dxj_Direct3dRMPickArray LPDIRECT3DRMPICKEDARRAY
  13. /////////////////////////////////////////////////////////////////////////////
  14. // Direct
  15. //REVIEW -- using pointers to ID's is necessary because some compilers don't like
  16. //references as template arguments.
  17. class C_dxj_Direct3dRMPickArrayObject :
  18. public I_dxj_Direct3dRMPickArray,
  19. // public CComCoClass<C_dxj_Direct3dRMPickArrayObject, &CLSID__dxj_Direct3dRMPickArray>,
  20. public CComObjectRoot
  21. {
  22. public:
  23. C_dxj_Direct3dRMPickArrayObject() ;
  24. virtual ~C_dxj_Direct3dRMPickArrayObject() ;
  25. BEGIN_COM_MAP(C_dxj_Direct3dRMPickArrayObject)
  26. COM_INTERFACE_ENTRY(I_dxj_Direct3dRMPickArray)
  27. END_COM_MAP()
  28. // DECLARE_REGISTRY(CLSID__dxj_Direct3dRMPickArray, "DIRECT.Direct3dRMPickedArray.3", "DIRECT.Direct3dRMPickedArray.3", IDS_D3DRMPICKEDARRAY_DESC, THREADFLAGS_BOTH)
  29. DECLARE_AGGREGATABLE(C_dxj_Direct3dRMPickArrayObject)
  30. // I_dxj_Direct3dRMPickArray
  31. public:
  32. STDMETHOD(InternalSetObject)(IUnknown *lpdd);
  33. STDMETHOD(InternalGetObject)(IUnknown **lpdd);
  34. STDMETHOD(getSize)( long *retval);
  35. STDMETHOD(getPickVisual)(long index, D3dRMPickDesc *Desc, I_dxj_Direct3dRMVisual **visual);
  36. STDMETHOD(getPickFrame)(long index, D3dRMPickDesc *Desc, I_dxj_Direct3dRMFrameArray **frameArray);
  37. private:
  38. DECL_VARIABLE(_dxj_Direct3dRMPickArray);
  39. public:
  40. DX3J_GLOBAL_LINKS( _dxj_Direct3dRMPickArray )
  41. };