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.
|
|
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1999
//
// File: d3drmvisualarrayobj.cpp
//
//--------------------------------------------------------------------------
// _dxj_Direct3dRMVisualArrayObj.cpp : Implementation of CDirectApp and DLL registration.
#include "stdafx.h"
#include "Direct.h"
#include "dms.h"
#include "d3drmVisualArrayObj.h"
#include "d3drmFrame3Obj.h"
#include "d3drmMeshbuilder3Obj.h"
#include "d3drmTexture3Obj.h"
#include "d3drmShadow2Obj.h"
#include "d3drmMeshObj.h"
#include "d3drmUserVisualObj.h"
CONSTRUCTOR(_dxj_Direct3dRMVisualArray, {}); DESTRUCTOR(_dxj_Direct3dRMVisualArray, {}); GETSET_OBJECT(_dxj_Direct3dRMVisualArray);
GET_DIRECT_R(_dxj_Direct3dRMVisualArray, getSize, GetSize, long);
STDMETHODIMP C_dxj_Direct3dRMVisualArrayObject::getElement(long i,I_dxj_Direct3dRMVisual **ret){ HRESULT hr; LPDIRECT3DRMVISUAL lp=NULL; hr=m__dxj_Direct3dRMVisualArray->GetElement((DWORD)i,&lp); if FAILED(hr) return hr;
hr=CreateCoverVisual(lp,ret);
return hr; }
|