次の方法で共有


HcdMdd_SetCapability (Compact 2013)

3/26/2014

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

See Also

Reference

USB Host Controller Driver MDD Functions