ltmmMemory.LockRegion Method

Visual Basic Example

Syntax

object.LockRegion(Index As Long, Count As Long)

Remarks

Locks a region in the object’s buffer.

If the requested size of the region is larger than the size available after the offset, the method locks only the region between the offset and the end of the buffer.

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

Platforms

Win32, x64

See Also

Elements:

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

Topics:

Multimedia Properties, Methods and Events