Compartir a través de


LPSUSPEND_DEVICE (Windows CE 5.0)

Send Feedback

This function suspends an attached device by suspending the port on the universal serial bus (USB) hub. After the USB hub suspends the device, the device can be resumed by the LPRESUME_DEVICE function or by a global resume sent from the USB bus.

typedef BOOL (* LPSUSPEND_DEVICE)(  USB_HANDLE hDevice ,  UCHAR bInterfaceNumber );

Parameters

  • hDevice
    [in] Handle to a USB device.
  • bInterfaceNumber
    [in] Interface number being suspended on the device.

Return Values

Returns TRUE if the operation is successful. Otherwise, returns FALSE.

Remarks

For multiple interface devices, if multiple interfaces are activated, the device is only suspended after SuspendDevice is called on all active interfaces*.*

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Usbdi.h.

See Also

LPDISABLE_DEVICE | LPRESUME_DEVICE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.