object.CopyData(Index As Long, Count As Long, Data As VARIANT) |
Remarks
Copies a block of data to a user - defined buffer.
If the size of data to retrieve is larger than the size available after the offset, the method will retrieve only the available data between the offset and the end of the buffer.
The caller is responsible for allocating the required memory for the data.
The region from which the new data is copied will be locked for the call duration.
Use the ltmmMemory.SetData Method to copy the data from Data into the ltmmMemory object's data.
Use the CopyData Method to copy the data from the ltmmMemory object into Data. Data must exist and should be allocated already.
Use the ltmmMemory.GetData Method to create (allocate) a variant and data from the ltmmMemory object is copied into this newly created variant.
Win32, x64
See Also