FltGetIrpName function (fltkernel.h)
The FltGetIrpName routine returns the name for a major function code as a printable string.
Syntax
PCHAR FLTAPI FltGetIrpName(
[in] UCHAR IrpMajorCode
);
Parameters
[in] IrpMajorCode
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | fltkernel.h (include Fltkernel.h) |
Library | FltMgr.lib |
DLL | Fltmgr.sys |
IRQL | Any level |