HcdMdd_SetCapability

This function is executed by the PDD as part of initialization.

DWORD HcdMdd_SetCapability(
  LPVOID lpvUhcdObject,
  DWORD dwCapability
);

Parameters

  • lpvUhcdObject
    [in] Pointer to a UHCI driver object.
  • dwCapability
    [in] Bitmask for compatibility. HCD_SUSPEND_RESUME is the only supported parameter.

Return Values

Returns TRUE for success. Returns FALSE for failure.

Remarks

For backward compatibility, in your MDD you can assume that the capability bit is zero if HcdMdd_SetCapability is not called.

This function only supports the HCD_SUSPEND_RESUME bit, which tells the MDD that this device can suspend and resume according to the Universal Host Controller Interface Specification.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Uhcdddsi.h.

See Also

USB Drivers | HCD Module MDD Functions

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.