Unlocks index data.
Syntax
HRESULT Unlock(VOID);
Return Value
If the method succeeds, the return value is D3D_OK.If the method fails, the return value can be D3DERR_INVALIDCALL.
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be D3DERR_INVALIDCALL.
See Also
IDirect3DIndexBuffer9::Lock