Microsoft DirectX 8.1 (C++)

D3DXCreateMatrixStack

Creates an instance of the ID3DXMatrixStack interface.

HRESULT D3DXCreateMatrixStack(
  DWORD Flags,
  ID3DXMatrixStack** 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 values.

D3DERR_INVALIDCALL
D3DXERR_INVALIDDATA
E_OUTOFMEMORY

Requirements

  Header: Declared in D3dx8math.h.
  Import Library: Use D3dx8.lib.