Compartir a través de


UfnGetRegistryInfo (Windows CE 5.0)

Send Feedback

This function retrieves device information from the registry.

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 Values

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.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Usbfntypes.h.
Link Library: UfnClientLibBase.lib.

See Also

USB Function Client Driver Helper Library Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.