IoGetFunctionCodeFromCtlCode - NtDoc

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

void IoGetFunctionCodeFromCtlCode(
  [in] ControlCode
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IoGetFunctionCodeFromCtlCode macro

Description

The IoGetFunctionCodeFromCtlCode macro returns the value of the function code contained in an I/O control code.

Parameters

ControlCode [in]

The IOCTL_XXX (or FSCTL_XXX) value, which can be obtained from the driver's I/O stack location of the IRP at Parameters.DeviceIoControl.IoControlCode.

Remarks

IoGetFunctionCodeFromCtlCode returns the value of the Function part of the given IOCTL_XXX code.

For information about the layout of IOCTL codes, see Using I/O Control Codes.

See also

IoBuildDeviceIoControlRequest