Partager via


HcdMdd_SetCapability (Windows Embedded CE 6.0)

1/6/2010

This function is executed by the platform dependent driver (PDD) as part of initialization.

Syntax

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 Value

TRUE indicates success. FALSE indicates failure.

Remarks

For backward compatibility, in your model device driver (MDD) 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 (UHCI) Specification.

Requirements

Header Hcdddsi.h or Ohcdddsi.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

USB Host Controller Driver MDD Functions