haspds_GetVendorInfo
Retrieves information about the Vendor files, which will be installed if they exist. Vendor libraries or initial updates are the types of files that may be installed.
haspds_status_t __stdcall
haspds_GetVendorInfo
(
HASPDS_VENDOR_INFO* VendorInfo,
unsigned long* pSize
)
Parameters
VendorInfo |
Points to a HASPDS_VENDOR_INFO Structure that contains any Vendor files that are appended to the installer |
pSize |
Points to an unsigned long that retrieves the size of the VendorInfo and the size of the returned information |
Return Values
HASPDS_STATUS_SUCCESS |
Function successfully executed |
HASPDS_STATUS_SMALL_BUFFER |
Memory allocated to structure too small |
HASPDS_VENDOR_INFO* |
Required buffer size for function |
HASPDS_STATUS_FAILED |
Function failed to execute |
You can retrieve additional information about an error by calling haspds_GetLastError.
Usage Notes
If the function is called with a size other than zero, and VendorInfo requires additional memory, the function returns HASPDS_STATUS_SMALL_BUFFER without changing the list. The function also returns the required buffer length in size.
Related Topics