IDirect3DSurface9::UnlockRect

A method of IDirect3DSurface9 that unlocks a rectangle on a surface.

Syntax
HRESULT UnlockRect;

Return Values
It will return D3D_OK if it succeeds, otherwise D3DERR_INVALIDCALL.

Requirements
 Header -  d3d9.h

 Library -  d3d9.lib