다음을 통해 공유


HcdMdd_SetCapability (Windows CE 5.0)

Send Feedback

This function is executed by the platform dependent driver (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

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

OS Versions: Windows CE .NET 4.2 and later.
Header: Hcdddsi.h or Ohcdddsi.h.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.