Microsoft SDK for Java

unlock

This method of the DirectDrawSurface Class notifies DirectDraw that the direct surface manipulations are complete and copies the contents of the memory buffer into the surface.

Syntax

public void unlock(Rect r, DDSurfaceDesc d, byte[] memory);

Parameters

r A Rect object that identifies the region of surface that receives the changes.
d The DDSurfaceDesc object returned by the lock method.
memory Array variable that contains the new contents of the surface memory.

See Also

lock

© 1999 Microsoft Corporation. All rights reserved. Terms of use.