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.

120 lines
4.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: d3drmclippedvisualobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // d3dRMClippedVisualObj.h : Declaration of the C_dxj_Direct3dRMClippedVisualObject
  11. #include "resource.h" // main symbols
  12. #include "d3drmObjectObj.h"
  13. #define typedef__dxj_Direct3dRMClippedVisual LPDIRECT3DRMCLIPPEDVISUAL
  14. /////////////////////////////////////////////////////////////////////////////
  15. // Direct
  16. class C_dxj_Direct3dRMClippedVisualObject :
  17. public I_dxj_Direct3dRMClippedVisual,
  18. public I_dxj_Direct3dRMVisual,
  19. public I_dxj_Direct3dRMObject,
  20. public CComObjectRoot
  21. {
  22. public:
  23. C_dxj_Direct3dRMClippedVisualObject() ;
  24. virtual ~C_dxj_Direct3dRMClippedVisualObject() ;
  25. BEGIN_COM_MAP(C_dxj_Direct3dRMClippedVisualObject)
  26. COM_INTERFACE_ENTRY(I_dxj_Direct3dRMClippedVisual)
  27. COM_INTERFACE_ENTRY(I_dxj_Direct3dRMVisual)
  28. COM_INTERFACE_ENTRY(I_dxj_Direct3dRMObject)
  29. END_COM_MAP()
  30. DECLARE_AGGREGATABLE(C_dxj_Direct3dRMClippedVisualObject)
  31. // I_dxj_Direct3dRMClippedVisual
  32. public:
  33. /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalSetObject(
  34. /* [in] */ IUnknown __RPC_FAR *lpdd);
  35. /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalGetObject(
  36. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *lpdd);
  37. HRESULT STDMETHODCALLTYPE addDestroyCallback(
  38. /* [in] */ I_dxj_Direct3dRMCallback __RPC_FAR *fn,
  39. /* [in] */ IUnknown __RPC_FAR *arg);
  40. HRESULT STDMETHODCALLTYPE deleteDestroyCallback(
  41. /* [in] */ I_dxj_Direct3dRMCallback __RPC_FAR *fn,
  42. /* [in] */ IUnknown __RPC_FAR *args);
  43. HRESULT STDMETHODCALLTYPE clone(
  44. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *retv);
  45. HRESULT STDMETHODCALLTYPE setAppData(
  46. /* [in] */ long data);
  47. HRESULT STDMETHODCALLTYPE getAppData(
  48. /* [retval][out] */ long __RPC_FAR *retv);
  49. HRESULT STDMETHODCALLTYPE setName(
  50. /* [in] */ BSTR name);
  51. HRESULT STDMETHODCALLTYPE getName(
  52. /* [retval][out] */ BSTR __RPC_FAR *name);
  53. HRESULT STDMETHODCALLTYPE getClassName(
  54. /* [retval][out] */ BSTR __RPC_FAR *name);
  55. HRESULT STDMETHODCALLTYPE addPlane(
  56. /* [in] */ I_dxj_Direct3dRMFrame3 __RPC_FAR *ref,
  57. /* [out][in] */ D3dVector __RPC_FAR *point,
  58. /* [out][in] */ D3dVector __RPC_FAR *normal,
  59. // /* [in] */ long flags,
  60. /* [retval][out] */ long __RPC_FAR *ret);
  61. HRESULT STDMETHODCALLTYPE deletePlane(
  62. /* [in] */ long id
  63. // /* [in] */ long flags
  64. );
  65. HRESULT STDMETHODCALLTYPE getPlane(
  66. /* [in] */ long id,
  67. /* [in] */ I_dxj_Direct3dRMFrame3 __RPC_FAR *ref,
  68. /* [out][in] */ D3dVector __RPC_FAR *point,
  69. /* [out][in] */ D3dVector __RPC_FAR *normal
  70. // /* [in] */ long flags
  71. );
  72. HRESULT STDMETHODCALLTYPE getPlaneIds(
  73. /* [in] */ long count,
  74. /* [out][in] */ SAFEARRAY __RPC_FAR * __RPC_FAR *arrayOfIds);
  75. HRESULT STDMETHODCALLTYPE getPlaneIdsCount(
  76. /* [retval][out] */ long __RPC_FAR *count);
  77. HRESULT STDMETHODCALLTYPE setPlane(
  78. /* [in] */ long id,
  79. /* [in] */ I_dxj_Direct3dRMFrame3 __RPC_FAR *ref,
  80. /* [out][in] */ D3dVector __RPC_FAR *point,
  81. /* [out][in] */ D3dVector __RPC_FAR *normal
  82. // /* [in] */ long flags
  83. );
  84. ////////////////////////////////////////////////////////////////////////////////////
  85. //
  86. private:
  87. DECL_VARIABLE(_dxj_Direct3dRMClippedVisual);
  88. public:
  89. DX3J_GLOBAL_LINKS( _dxj_Direct3dRMClippedVisual )
  90. };