IoValidateDeviceIoControlAccess function (wdm.h)

For more information, see the WdmlibIoValidateDeviceIoControlAccess function.

Syntax

NTSTATUS IoValidateDeviceIoControlAccess(
  [in] PIRP  Irp,
  [in] ULONG RequiredAccess
);

Parameters

[in] Irp

For more information, see the WdmlibIoValidateDeviceIoControlAccess function.

[in] RequiredAccess

For more information, see the WdmlibIoValidateDeviceIoControlAccess function.

Return value

For more information, see the WdmlibIoValidateDeviceIoControlAccess function.

Requirements

Requirement Value
Minimum supported client Available in Windows Server 2003 and later versions of Windows. Drivers that must also work for Windows 2000 and Windows XP can instead link to Wdmsec.lib to use this routine. (The Wdmsec.lib library first shipped with the Windows XP Service Pack 1 [SP1] and Windows Server 2003 editions of the Driver Development Kit [DDK] and now ships with the Windows Driver Kit [WDK].)
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level

See also

IRP