IoGetDriverProxyFeatures - NtDoc

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

VOID IoGetDriverProxyFeatures(
  PDRIVER_OBJECT              DriverObject,
  PDRIVER_PROXY_FEATURE_FLAGS Flags
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-iogetdriverproxyfeatures)

Description

The IoGetDriverProxyFeatures function gets the DriverProxy feature flags for the current system and the specified driver.

This function allows drivers to determine whether DriverProxy functionality is available and enabled for their specific driver instance. DriverProxy enables hot-swappable driver functionality by allowing drivers to register endpoint functions that can be replaced at runtime without unloading the driver.

Parameters

DriverObject

[in, optional] An optional pointer to the DRIVER_OBJECT to check for DriverProxy support. If this parameter is NULL, the function checks whether DriverProxy is enabled for all drivers on the system.

Flags

[out] A pointer to a DRIVER_PROXY_FEATURE_FLAGS structure that receives the DriverProxy feature flags. The structure indicates whether DriverProxy functionality is available and enabled.

Return value

This function does not return a value.

Remarks

The IoGetDriverProxyFeatures function determines DriverProxy availability based on several factors:

Drivers should call this function before attempting to use other DriverProxy APIs such as IoCreateDriverProxyExtension or IoRegisterDriverProxyEndpoints.

The function can be called at any IRQL level and is safe to use during driver initialization.

See also

DRIVER_PROXY_FEATURE_FLAGS

IoCreateDriverProxyExtension

IoRegisterDriverProxyEndpoints

DRIVER_OBJECT