XPRMgetnextiodrv
XPRMgetnextiodrv |
Purpose
Get the next IO driver in the list of available drivers.
Synopsis
void *XPRMgetnextiodrv(void *ref, const char **name, const char **module, const char **info);
Arguments
ref
|
Reference pointer or
NULL
|
name
|
Name of the driver (may be
NULL)
|
module
|
Name of the module publishing the driver (may be
NULL)
|
info
|
Information about the driver (may be
NULL)
|
Return value
Reference pointer for the next call to
XPRMgetnextiodrv.
Further information
This function returns the next IO driver in the table of currently available drivers. The first parameter is used to store the current location in the table; if this parameter is
NULL, the first driver of the table is returned. This function returns
NULL if it is called with the reference to the last driver available. Otherwise, the returned value can be used as the input parameter
ref to get the following driver and so on.
Note that internal drivers have a NULL module name and the default driver has no name ( i.e. name is an empty string). Information returned via info parameter corresponds to the string stored as the XPRM_IOCTRL_INFO operation for the driver. If this operation is not defined, return value is NULL.
Note that internal drivers have a NULL module name and the default driver has no name ( i.e. name is an empty string). Information returned via info parameter corresponds to the string stored as the XPRM_IOCTRL_INFO operation for the driver. If this operation is not defined, return value is NULL.
Related topics