Share via


UfnCheckPID (Compact 2013)

3/26/2014

This function displays a warning if the device descriptors are using the Microsoft vendor ID with a prototype product ID.

Syntax

BOOL UfnCheckPID(
  PCUSB_DEVICE_DESCRIPTOR pHighSpeedDeviceDesc,
  PCUSB_DEVICE_DESCRIPTOR pFullSpeedDeviceDesc,
  DWORD dwReferencePID
);

Parameters

  • pHighSpeedDeviceDesc
    [in] Pointer to the USB high-speed device descriptor for the device.
  • pFullSpeedDeviceDesc
    [in] Pointer to the USB full-speed device descriptor for the device.
  • dwReferencePID
    [in] Pointer to the Microsoft vendor identifier for the device.

Return Value

This function returns TRUE if a warning was displayed.

Remarks

Shipping devices can not use the Microsoft vendor ID.

Requirements

Header

usbfntypes.h

Library

UfnClientLibBase.lib

See Also

Reference

USB Function Client Driver Helper Library Functions