D3DXCreateMatrixStack

Creates an instance of the ID3DXMATRIXStack interface.

HRESULT D3DXCreateMatrixStack(
  DWORD Flags,
  LPD3DXMATRIXSTACK * ppStack
);

Parameters

Flags
[in] Not implemented. Specify zero.
ppStack
[out] Address of a pointer filled with an ID3DXMATRIXStack interface pointer if the function succeeds.

Return Values

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: Declared in D3dx9math.h.