Expand Minimize

D3DXCreateMatrixStack function

Creates an instance of the ID3DXMATRIXStack interface.

Syntax


HRESULT D3DXCreateMatrixStack(
  _In_   DWORD Flags,
  _Out_  LPD3DXMATRIXSTACK *ppStack
);

Parameters

Flags [in]

Type: DWORD

Not implemented. Specify zero.

ppStack [out]

Type: LPD3DXMATRIXSTACK*

Address of a pointer filled with an ID3DXMATRIXStack interface pointer if the function succeeds.

Return value

Type: HRESULT

If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following: D3DERR_INVALIDCALL, D3DXERR_INVALIDDATA, E_OUTOFMEMORY.

Requirements

Header

D3dx9math.h

Library

D3dx9.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft