Surface.Lock Method

Language:

Allows manipulation of surface memory.

Definition

Visual Basic Public Function Lock( _
    ByVal destRectangle As Rectangle, _
    ByVal flags As LockFlags _
) As LockedData
C# public LockedData Lock(
    Rectangle destRectangle,
    LockFlags flags
);
C++ public:
LockedData Lock(
    Rectangle destRectangle,
    LockFlags flags
);
JScript public function Lock(
    destRectangle : Rectangle,
    flags : LockFlags
) : LockedData;

Parameters

destRectangle System.Drawing.Rectangle
flags Microsoft.DirectX.DirectDraw.LockFlags

Return Value

Microsoft.DirectX.DirectDraw.LockedData


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center