ltmmMemory.LockBuffer Method

Visual Basic Example

Syntax

object.LockBuffer

Remarks

Locks the object’s buffer by calling Lock() on the object’s critical section.

Call ltmmMemory.Unlock to unlock the buffer when it is no longer being used. Each call to ltmmMemory.LockBuffer or ltmmMemory.LockRegion should have a corresponding call to ltmmMemory.Unlock.

Platforms

Win32, x64

See Also

Elements:

ltmmMemory.BufferSize Property, ltmmMemory.GrowBy Property, ltmmMemory.CopyData Method, ltmmMemory.GetByte Method, ltmmMemory.GetData Method, ltmmMemory.LockRegion Method, ltmmMemory.SetByte Method, ltmmMemory.SetData Method, ltmmMemory.Unlock Method

Topics:

Multimedia Properties, Methods and Events