Partager via


LPRESUME_DEVICE (Windows Embedded CE 6.0)

1/6/2010

This function resumes the attached device by resuming the port on the universal serial bus (USB) hub.

Syntax

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

Parameters

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

Return Value

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

Remarks

For multiple interface devices, if multiple interfaces are activated, the device is resumed after the first ResumeDevice call on all first interfaces.

Requirment

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

Requirements

Header usbdi.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

USB Host Driver Functions
LPDISABLE_DEVICE
LPSUSPEND_DEVICE