BYTE* Detach( );
Return Value
A pointer to the memory block that contains the contents of the HTML stream.
Remarks
Call this function to get a pointer to the memory block being used by CHtmlStream.
Calling this function also closes the CHtmlStream. You can reattach the memory block to CHtmlStream by calling Attach. If you want to reattach the file and use the data in it, you should call GetStreamSize to get the length of the file before calling Detach. Note that if you attach a memory block to CHtmlStream so that you can use its data (nGrowBytes == 0), then you will not be able to grow the memory.
CHtmlStream Overview | Class Members | Hierarchy Chart
See Also CHtmlStream::Attach