ltmmMemory.GetData Method
Remarks
Retrieves a block of data from the object’s 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.
This method allocates the required memory for the data; the caller is responsible for freeing it.
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 ltmmMemory.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