Skip to content

Function_IRPMonDllDriverSetInfo

Martin Drab edited this page Mar 20, 2020 · 3 revisions

IRPMonDllDriverSetInfo function

Summary

Changes monitoring settings for a given driver and its devices.

Definition

void cdecl IRPMonDllDriverSetInfo(
    System.Void* DriverHandle,
    _DRIVER_MONITOR_SETTINGS* Settings
   );

Parameters

DriverHandle

Handle to the hooked driver the settings of which needs to be changed.

Settings

New values of the monitoring settings for the given driver.

Return Value

Value Description
ERROR_SUCCESS The settings for the given hooked driver has been successfully changed to the new values.
ERROR_INVALID_HANDLE The handle supplied in the parameter is not valid.
Other An error has occurred.

Remarks

If the IRPMon driver is currently monitoring activity related to the given driver, only the value stored in the DRIVER_MONITOR_SETTINGS.MonitorNewDevices field passed in the Settings parameter takes effect.

See also

Requirements

Header irpmondll.h
Library irpmondll.lib
DLL irpmondll.dll

General

For Users-Developers

Tutorial

Public API

Functions

Types

Clone this wiki locally