gvListDevices
Gets a list of devices available on the system.
- int gvListDevices(
- GVDeviceInfo devices[],
- int maxDevices,
- GVDeviceType types );
Routine | Required Header | Distribution |
---|---|---|
gvListDevices | <gv.h> | SDKZIP |
Return Value
Returns the number of devices that it put into the list. Return value of 0 may indicate an error or that no devices were found.
Parameters
- devices
- [out] The list of device details to be filled in by the function.
- maxDevices
- [in] The number of elements in the devices array.
- types
- [in] The types of devices to survey.
Remarks
You can request capture devices with GV_CAPTURE, playback devices with GV_PLAYBACK, or capture and playback devices with GV_CAPTURE_AND_PLAYBACK. For GV_CAPTURE_AND_PLAYBACK, it can list capture devices, playback devices, and devices that support both capture and playback.
Section Reference: Gamespy Voice SDK
See Also: GVDeviceInfo