GA_enumerateDevices

Enumerates the number of display devices on the PCI bus.

Declaration

int NAPI GA_enumerateDevices(
N_int32 shared)

Prototype In

snap/graphics.h

Parameters

shared | True if the device driver should be loaded into shared memory

Return Value

Number of display devices found.

Description

This function enumerates the number of available display devices on the PCI bus, and returns the number found. The number of devices allows you to load graphics drivers for each device, but calling GA_loadDriver starting with device 0 and up to the maximum number of devices-1. Note that even though we may enumarate a valid PCI display device, it is possible that no graphics driver is available for the device and the GA_loadDriver function could fail.

Hence this function does not enumerate all the devices and match them up with valid graphics drivers; the matching to available drivers is done when you call GA_loadDriver.

See Also

GA_loadDriver

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com