CAtlTemporaryFile::Write
Call this method to write data to the temporary file starting at the position indicated by the file pointer.
HRESULT Write(
LPCVOID pBuffer,
DWORD nBufSize,
DWORD* pnBytesWritten = NULL
) throw( );
Параметры
pBuffer
The buffer containing the data to be written to the file.nBufSize
The number of bytes to be transferred from the buffer.pnBytesWritten
The number of bytes written.
Возвращаемое значение
Returns S_OK on success, or an error HRESULT on failure.
Заметки
Calls CAtlFile::Write.
Пример
See the example for CAtlTemporaryFile::CAtlTemporaryFile.
Требования
Header: atlfile.h