FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS - NtDoc

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

typedef struct _FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS {
  ULONG                    Size;
  PDEVICE_RESET_COMPLETION DeviceResetCompletion;
  PVOID                    CompletionContext;
} FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS, *PFUNCTION_LEVEL_DEVICE_RESET_PARAMETERS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdm-_function_level_device_reset_parameters)

_FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS structure

Description

The FUNCTION_LEVEL_DEVICE_RESET_PARAMETER structure is used as an argument to the DeviceReset routine of the GUID_DEVICE_RESET_INTERFACE_STANDARD interface. This structure specifies a callback routine that is called when a function-level device reset is completed, and a context structure that is passed to the callback routine. For more information, see Working with the GUID_DEVICE_RESET_INTERFACE_STANDARD

Members

Size

The size, in bytes, of this structure.

DeviceResetCompletion

Pointer to a completion callback routine to be called when a function-level device reset is completed. The callback must enter and exit at the same IRQL.

The function prototype for this callback routine is defined as follows:

typedef
VOID
(*PDEVICE_RESET_COMPLETION)(
    _In_ NTSTATUS Status,
    _Inout_opt_ PVOID Context
    );

CompletionContext

Points to a caller-supplied context structure to be passed to the DeviceResetCompletion callback.

See also

DEVICE_RESET_INTERFACE_STANDARD

DeviceReset

Working with the GUID_DEVICE_RESET_INTERFACE_STANDARD