haspds_GetInfo
Retrieves the version number of the installed Sentinel device driver and displays the versions of other drivers included in the installation package.
haspds_status_t __stdcall
haspds_GetInfo
(
PHASPDS_INFO pVersionInfo,
unsigned long* pSize
)
Note that if the value of pVersionInfo is 0, the pSize return value will be the required size for pVersionInfo. The error message HASPDS_STATUS_SMALL_BUFFER will also be returned.
Parameters
| 
                                                                     IpVersionInfo  | 
                                                                
                                                                     Points to a HASPDS_INFO Structure that retrieves the version of the currently installed Run-time Environment. It also retrieves version data for other Run-time Environments in the package.  | 
                                                            
| 
                                                                     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  | 
                                                                
You can retrieve additional information about an error by calling haspds_GetLastError.
