HRESULT DeleteMatrix(D3DMATRIXHANDLE d3dMatHandle);
Deletes a matrix handle. This matrix handle must have been created by using the IDirect3DDevice::CreateMatrix method.
·Returns D3D_OK if successful, or an error otherwise, such as DDERR_INVALIDPARAMS.
d3dMatHandle
Matrix handle to be deleted.