NetWakeSourceGetMediaChangeParameters - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netwakesource.h

void NetWakeSourceGetMediaChangeParameters(
  [_In_]    NETWAKESOURCE                           WakeSource,
  [_Inout_] NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS *Parameters
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netwakesource-netwakesourcegetmediachangeparameters)

NetWakeSourceGetMediaChangeParameters function

Description

The NetWakeSourceGetMediaChangeParameters function gets parameters for a media change wake source.

Parameters

WakeSource [_In_]

A NETWAKESOURCE object that represents this media change wake source.

Parameters [_Inout_]

A pointer to a driver-allocated and initialized NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS structure that receives the media change parameters.

Remarks

Call NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS_INIT to initialize the NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS structure before calling this function.

The client driver must only call NetWakeSourceGetMediaChangeParameters during a power transition, typically from its EVT_WDF_DEVICE_ARM_WAKE_FROM_SX, EVT_WDF_DEVICE_ARM_WAKE_FROM_S0, or EVT_NET_DEVICE_PREVIEW_WAKE_SOURCE callback function. Otherwise, the call results in a system bugcheck.

See also

Configuring power management

NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS

NET_WAKE_SOURCE_MEDIA_CHANGE_PARAMETERS_INIT