UfnGetRegistryInfo (Windows Embedded CE 6.0)
1/6/2010
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.
For Windows Embedded CE 6.0 and later, this function retrieves the device serial number from the registry.
Requirements
Header | usbfntypes.h |
Library | UfnClientLibBase.lib |
Windows Embedded CE | Windows CE 5.0 and later |