RenderWare V2.1

Previous Page Index Next Page

RwBool

RwOpenExt(char *device, void *param, RwInt32 numargs,
RwOpenArgument *args);

Description

Initializes the RenderWare library with a number of optional arguments. This function (or its variant RwOpen()) must be called before any other RenderWare functions.

Arguments

device A string whose value is either NullDevice or device-dependent.

param A device dependent parameter.

numargs The number of optional arguments specified.

args An array of optional open arguments.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

The array of arguments (args) is modified by the call to RwOpenExt(). After a call to RwOpenExt() the contents of the argument array are no longer defined and must be reinitialized if the argument array is to be used in another call to RwOpenExt().

For a description of the device dependent parameters, device and param and the optional argument types supported, see Appendix B.

See Also

RwClose()

RwDeviceControl()

RwOpen()