virtual bool COStream::PutData(void* pStreamBuffer, ULONG* pnPut);

Return Value

        true if successful; otherwise false.

Parameters

        [in] pStreamBuffer:

                A pointer to a buffer containing a stream of data.

        [in/out] pnPut:

                A pointer to a data. It can't be NULL.

Remark

        Calls this function to write a stream of data into a stream object pointed by pStreamBuffer. The size of the stream of data is identified by a data pointed by pnPut which also indicates the actual length of stream data written in bytes after calling this function.

COStream Class Overview & Class Members