virtual bool COStream::GetData(void* pStreamBuffer, ULONG* pnGet);

Return Value

        true if successful; otherwise false.

Parameters

        [in] pStreamBuffer:

                A pointer to a buffer which will receives a stream of data.

        [in/out] pnGet:

                A pointer to a data which both indicates the length of the buffer pointed by pStreamBuffer in bytes. It can't be NULL.

Remark

        Gets a stream data into the buffer pointed by pStreamBuffer. The buffer size is identified by a data pointed by pnGet, which also indicates the length of the obtained stream data in bytes after calling this function.

COStream Class Overview & Class Members