FltGetIrpName routine

The FltGetIrpName routine returns the name for a major function code as a printable string.

Syntax


PCHAR FltGetIrpName(
  _In_ UCHAR IrpMajorCode
);

Parameters

IrpMajorCode [in]

The IRP major function code whose name is to be returned.

Return value

If IrpMajorCode is a valid major function code value, FltGetIrpName returns its name as a null-terminated string of ANSI characters (such as "IRP_MJ_CREATE"). Otherwise, FltGetIrpName returns "<invalid IRP code>".

Remarks

FltGetIrpName is a debugging support routine.

The value of the IrpMajorCode parameter can equal to the value of the MajorFunction field for an IRP or the MajorFunction field for the Iopb field of a callback data structure (FLT_CALLBACK_DATA).

Requirements

Target platform

Universal

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

DLL

Fltmgr.sys

IRQL

Any level

See also

FLT_CALLBACK_DATA

 

 

Send comments about this topic to Microsoft

Show: