pDataPointer to the buffer containing the data to be written to the file.offWrite offsetwrite_sizeTotal number of bytes to write
S_OK or standard OLE error code.
Writes data to a document. The written data overwrites document's existing data and may also increase the file's size if it overlaps the current file's size. Write always creates a new operation in document's operation history. Complexity: constant-time.