Поделиться через


LPRESUME_DEVICE (Compact 2013)

3/26/2014

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.

Requirements

Header

usbdi.h

See Also

Reference

USB Driver Functions
LPDISABLE_DEVICE
LPSUSPEND_DEVICE