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.

87 lines
2.8 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: d3drmshadow2obj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // d3drmShadow2Obj.h : Declaration of the C_dxj_Direct3dRMShadow2Object
  11. #include "resource.h" // main symbols
  12. #include "d3drmObjectObj.h"
  13. #define typedef__dxj_Direct3dRMShadow2 LPDIRECT3DRMSHADOW2
  14. /////////////////////////////////////////////////////////////////////////////
  15. // Direct
  16. //REVIEW -- using pointers to ID's is necessary because some compilers don't like
  17. //references as template arguments.
  18. class C_dxj_Direct3dRMShadow2Object :
  19. public I_dxj_Direct3dRMShadow2,
  20. public I_dxj_Direct3dRMObject,
  21. public I_dxj_Direct3dRMVisual,
  22. public CComObjectRoot
  23. {
  24. public:
  25. C_dxj_Direct3dRMShadow2Object() ;
  26. virtual ~C_dxj_Direct3dRMShadow2Object() ;
  27. BEGIN_COM_MAP(C_dxj_Direct3dRMShadow2Object)
  28. COM_INTERFACE_ENTRY(I_dxj_Direct3dRMShadow2)
  29. COM_INTERFACE_ENTRY(I_dxj_Direct3dRMObject)
  30. COM_INTERFACE_ENTRY(I_dxj_Direct3dRMVisual)
  31. END_COM_MAP()
  32. DECLARE_AGGREGATABLE(C_dxj_Direct3dRMShadow2Object)
  33. // I_dxj_Direct3dRMShadow2
  34. public:
  35. /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalSetObject(
  36. /* [in] */ IUnknown __RPC_FAR *lpdd);
  37. /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalGetObject(
  38. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *lpdd);
  39. HRESULT STDMETHODCALLTYPE addDestroyCallback(
  40. /* [in] */ I_dxj_Direct3dRMCallback __RPC_FAR *fn,
  41. /* [in] */ IUnknown __RPC_FAR *arg);
  42. HRESULT STDMETHODCALLTYPE deleteDestroyCallback(
  43. /* [in] */ I_dxj_Direct3dRMCallback __RPC_FAR *fn,
  44. /* [in] */ IUnknown __RPC_FAR *args);
  45. HRESULT STDMETHODCALLTYPE clone(
  46. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *retv);
  47. HRESULT STDMETHODCALLTYPE setAppData(
  48. /* [in] */ long data);
  49. HRESULT STDMETHODCALLTYPE getAppData(
  50. /* [retval][out] */ long __RPC_FAR *data);
  51. HRESULT STDMETHODCALLTYPE setName(
  52. /* [in] */ BSTR name);
  53. HRESULT STDMETHODCALLTYPE getName(
  54. /* [retval][out] */ BSTR __RPC_FAR *name);
  55. HRESULT STDMETHODCALLTYPE getClassName(
  56. /* [retval][out] */ BSTR __RPC_FAR *name);
  57. HRESULT STDMETHODCALLTYPE setOptions(long flags);
  58. ////////////////////////////////////////////////////////////////////////////////////
  59. //
  60. private:
  61. DECL_VARIABLE(_dxj_Direct3dRMShadow2);
  62. public:
  63. DX3J_GLOBAL_LINKS( _dxj_Direct3dRMShadow2 )
  64. };