Microsoft DirectX 9.0 SDK Update (October 2004)

Surface.Lock Method

Language:

Note: This documentation is preliminary and is subject to change.

Allows manipulation of surface memory.

Definition

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

Parameters

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

Return Value

Microsoft.DirectX.DirectDraw.LockedData .


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

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