RenderWare V2.1

Previous Page Index Next Page

RwBool

RwCheckStartDisplayDeviceExt(RwDisplayDevice *device, void *param,
int numargs, RwOpenArgument *args);

Description

Checks if a device can be started with the currently selected options.

Arguments

device Pointer to an opened display device.

param A device dependent parameter.

numargs The number of optional arguments specified.

args An array of optional open arguments.

Return Value

TRUE if the device is successfully started, FALSE otherwise.

Comments

This function is useful when trying to vet which device will function with the options required. When called a series of checks are performed - these will not affect the display. Note that if this returns TRUE the device will still not necessarily start when RwStartDisplayDevice() is called (for example if there is a failure when switching video modes).

See Also

RwOpenDisplayDevice()

RwCloseDisplayDevice()

RwRelease()

RwInitialize()

RwFindDisplayDevice()

RwGetDisplayDevices()

RwStartDisplayDevice()

RwStartDisplayDeviceExt()

RwStopDisplayDevice()