RenderWare V2.1

Previous Page Index Next Page

RwBool

RwCloseStream(RwStream *stream, void *data);

Description

Closes a RenderWare stream.

Arguments

stream Pointer to a currently opened stream.

data Pointer to a stream dependent structure.

Return Value

TRUE on success, else FALSE.

Description

data for a rwSTREAMFILE or rwSTREAMFILENAME should be set to NULL. For a rwSTREAMMEMORY stream it should point to a RwMemory structure which will be filled in with the stream memory block.

See Also

RwOpenStream()

RwWriteStream()

RwWriteStreamInt()

RwWriteStreamReal()

RwReadStream()

RwReadStreamInt()

RwReadStreamReal()

RwSeekStream()