UfnGetRegistryInfo (Compact 2013)
3/26/2014
This function retrieves device information from the registry.
Syntax
DWORD UfnGetRegistryInfo(
LPCTSTR pszActiveKey,
PUFN_CLIENT_REG_INFO pRegInfo
);
Parameters
- pszActiveKey
[in] Pointer to a string containing the registry path to the Active key for the driver.
- pRegInfo
[out] Pointer to a structure to receive registry data.
Return Value
This function fails if any values, excluding the serial number, are not in the registry. If this function finds the serial number in the registry, this function verifies that the serial number adheres to Windows-based desktop platform Plug and Play restrictions. If the serial number does not adhere to these restrictions, the function fails.
Remarks
The USB function client driver helper library is in %_WINCEROOT%\Public\Common\OAK\Drivers\Usbfn\Ufnclientlib.
This function retrieves the device serial number from the registry.
Requirements
Header |
usbfntypes.h |
Library |
UfnClientLibBase.lib |