Skip to content

Function_IRPMonDllGetRequest

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

IRPMonDllGetRequest function

Summary

Removes a request from the IRPMon Event Queue and copies it to a given buffer.

Definition

void cdecl IRPMonDllGetRequest(
    _REQUEST_HEADER* Request,
    long System.UInt32 Size
   );

Parameters

Request

Address of buffer to which the request data will be copied.

Size

Size of the buffer, in bytes.

Return Value

Value Description
ERROR_SUCCESS
A request has been successfully removed from the queue and
copied to the given buffer.

| | ERROR_INSUFFICIENT_BUFFER | The given buffer is not large enough to hold all the request data. The caller needs to specify a larger buffer. The request remains in the queue. | | Other | An error occurred. |

Remarks

The calling thread must be connected to the IRPMon Event Queue. Otherwise, the function fails.

Requirements

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

General

For Users-Developers

Tutorial

Public API

Functions

Types

Clone this wiki locally