IStreamReader::Read Method
HRESULT Read([] void * pv, [] ULONG cb, [] ULONG * pcbRead);
Reads upto cb bytes of data from the stream into the buffer. pcbRead will return the actual number of
bytes written to the buffer. this will be 0 when the end of the stream is reached.
Parameters
- pv
- void *, []: the address of the buffer to put the data
- cb
- ULONG, []: the maximum number of bytes to read from the stream
- pcbRead
- ULONG *, []: the actual number of bytes written to the buffer. This will be 0 at the end of the stream
Return Values
Sample Code
See Also
The IStreamReader Interface |
Copyright
Copyright © Simon Fell, 2000-2004. All rights reserved.