Defined in:Reads some or all of the resource data.
ResourceResult Read(void *buffer, uint32 start, uint32 size);
|A pointer to the memory location where the resource data is loaded.
|The byte offset within the resource data at which the read operation starts.
|The number of bytes that are read into memory.
Read function reads a portion of the resource data into memory. This function reads
size bytes of data from the resource, beginning at the offset specified by the
start parameter, and stores them in memory beginning at the location specified by the
buffer parameter. The sum
size should not exceed the size of the resource data returned by the
If the resource data is successfully loaded, then the return value is
kResourceOkay. Otherwise, the return value is