MbbDeviceSetWakeCapabilities function (mbbcx.h)

The MbbDeviceSetWakeCapabilities method sets the wake capabilities for a MBBCx device.

Syntax

void MbbDeviceSetWakeCapabilities(
  WDFDEVICE                          Device,
  const MBB_DEVICE_WAKE_CAPABILITIES *Capabilities
);

Parameters

Device

The WDFDEVICE object the driver previously obtained from a call to WdfDeviceCreate.

Capabilities

A pointer to a driver-allocated and initialized MBB_DEVICE_WAKE_CAPABILITIES structure.

Return value

None

Remarks

The client driver typically calls this method from within EVT_DEVICE_PREPARE_HARDWARE.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Target Platform Universal
Header mbbcx.h
IRQL PASSIVE_LEVEL