IStream::Write (Compact 2013)
This method writes a specified number of bytes into the stream object starting at the current seek pointer.
void const* pv,
Pointer to the memory buffer.
Number of bytes of data to write from the stream object.
Pointer to a ULONG variable that receives the actual number of bytes written from the stream object.
If the method succeeds, the return value is S_OK.