IFXWriteBuffer

This interface is used to write data. Depending on the object that implements the interface, the data can be written to an external file, an internal memory buffer, or a Macromedia Open Architecture§ (MOA) stream.

When to Use:

This interface should be used whenever data needs to be written. This interface inherits from IFXUnknown

Interface Method

Description

Write

Copy data from a memory buffer to an output buffer


IFXWriteBuffer::Write(U8* pBytes, U32 position, U32 count)

This method will copy "count" bytes from the memory pointed to by "pBytes" to an output buffer starting at "position."

Parameters:

pBytes

Memory location where the bytes to be written come from

position

Position within the output buffer to start the write

count

Number of bytes of data to write

Return Values:

IFX_E_WROTE_PAST-END - Miscellaneous I/O stream errors

IFX_E_IO-WRITE - Miscellaneous I/O stream errors

IFX_E_STREAM_NOT_OPEN - Miscellaneous I/O stream errors

IFX_E_BAD_PARAMETER - Miscellaneous I/O stream errors

 

 

 

§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.