haspds_GetInfoEx

Retrieves the version number of the installed Sentinel device driver and displays the versions of other drivers included in the installation package. This function also retrieves the version of the  installed driver package and the version for the driver package contained in the installer.

This function is similar to haspds_GetInfo, but it retrieves additional information.

haspds_status_t __stdcall 
haspds_GetInfoEx
(
PHASPDS_INFO      pInfo,
unsigned long*    pSize
)

Note that if the value of pInfo is 0, the pSize return value will be the required size for pInfo. The error message HASPDS_STATUS_SMALL_BUFFER will also be returned.

Parameters

pInfo

Points to a HASPDS_INFOEX Structure.

pSize

Points to an unsigned long that retrieves the size of the returned information

Return Values

HASPDS_STATUS_SUCCESS

Function successfully executed

HASPDS_STATUS_SMALL_BUFFER

Memory allocated to the structure is too small

HASPDS_STATUS_FAILED

Function failed to execute. In this case,  haspds_GetLastErrorMessage and haspds_GetLastError functions should be used to get the reason for the failure.

You can retrieve additional information about an error by calling haspds_GetLastError.

Related Topics

HASPDS_INFO Structure

haspds_GetLastError

haspds_GetLastErrorMessage

Error_Messages