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.
|
|
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1999
//
// File: d3drmtextureinterobj.h
//
//--------------------------------------------------------------------------
// d3drmViewport2Obj.h : Declaration of the C_dxj_Direct3dRMTextureInterpolatorObject
#include "resource.h" // main symbols
//#include "d3drmObjectObj.h"
#define typedef__dxj_Direct3dRMTextureInterpolator LPDIRECT3DRMINTERPOLATOR
/////////////////////////////////////////////////////////////////////////////
// Direct
//REVIEW -- using pointers to ID's is necessary because some compilers don't like
//references as template arguments.
class C_dxj_Direct3dRMTextureInterpolatorObject : public I_dxj_Direct3dRMTextureInterpolator, public I_dxj_Direct3dRMInterpolator, //public I_dxj_Direct3dRMObject,
public CComObjectRoot { public: C_dxj_Direct3dRMTextureInterpolatorObject() ; virtual ~C_dxj_Direct3dRMTextureInterpolatorObject() ; DWORD InternalAddRef(); DWORD InternalRelease();
BEGIN_COM_MAP(C_dxj_Direct3dRMTextureInterpolatorObject) COM_INTERFACE_ENTRY(I_dxj_Direct3dRMTextureInterpolator) COM_INTERFACE_ENTRY(I_dxj_Direct3dRMInterpolator) //COM_INTERFACE_ENTRY(I_dxj_Direct3dRMObject)
END_COM_MAP()
DECLARE_AGGREGATABLE(C_dxj_Direct3dRMTextureInterpolatorObject)
// I_dxj_Direct3dRMViewport2
public:
/* [hidden] */ HRESULT STDMETHODCALLTYPE InternalSetObject( /* [in] */ IUnknown __RPC_FAR *lpdd); /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalGetObject( /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *lpdd); HRESULT STDMETHODCALLTYPE attachObject( /* [in] */ I_dxj_Direct3dRMObject __RPC_FAR *rmObject); HRESULT STDMETHODCALLTYPE detachObject( /* [in] */ I_dxj_Direct3dRMObject __RPC_FAR *rmObject); HRESULT STDMETHODCALLTYPE getAttachedObjects( /* [retval][out] */ I_dxj_Direct3dRMObjectArray __RPC_FAR *__RPC_FAR *rmArray); HRESULT STDMETHODCALLTYPE setIndex( /* [in] */ float val); HRESULT STDMETHODCALLTYPE getIndex( /* [retval][out] */ float __RPC_FAR *val); HRESULT STDMETHODCALLTYPE interpolate( /* [in] */ float val, /* [in] */ I_dxj_Direct3dRMObject __RPC_FAR *rmobject, /* [in] */ long options); HRESULT STDMETHODCALLTYPE setDecalOrigin( /* [in] */ long x, /* [in] */ long y); HRESULT STDMETHODCALLTYPE setDecalSize( /* [in] */ float width, /* [in] */ float height); HRESULT STDMETHODCALLTYPE setDecalTransparentColor( /* [in] */ d3dcolor tcolor); ////////////////////////////////////////////////////////////////////////////////////
//
// note: this is public for the callbacks
private: DECL_VARIABLE(_dxj_Direct3dRMTextureInterpolator); LPDIRECT3DRMTEXTURE3 m__dxj_Direct3dRMTexture3;
public: DX3J_GLOBAL_LINKS( _dxj_Direct3dRMTextureInterpolator ) };
|