Read a binary resource such as an image in from the stream. Since we can't get its size, read it in a block at a time until we reach the end of the stream.
Syntax
Parameters
- sIn
- The stream from which to read the image
- byBuffer
- An out parameter to receive the resource bytes
- nLen
- An out parameter to receive the resource length
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also