Overview Members Chapter Previous Next

CDXSurface::UnLock

HRESULT UnLock( ) ;

UnLocks the surface and prevents access to display memory. Should be called after you have finished with a Lock function. This method will properly restore any lost surfaces when called. This way, ALPHA and SHADOW functions can be safely used with surfaces in video memory.