IoSizeOfIrp - NtDoc

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

void IoSizeOfIrp(
  StackSize
);

View the official Windows Driver Kit DDI reference
// wdm.h

void IoSizeOfIrp(
  [in] StackSize
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-iosizeofirp)

IoSizeOfIrp macro (ntifs.h)

Description

The IoSizeOfIrp routine determines the size in bytes for an IRP, given the number of stack locations in the IRP.

Parameters

StackSize

[in] Specifies the number of stack locations for the IRP.

Remarks

IoSizeOfIrp returns the size, in bytes, of the IRP.

The input StackSize value is either that of the next-lower driver's device object or one more than that value.

See also

IoAllocateIrp

IoMakeAssociatedIrp


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

IoSizeOfIrp macro (wdm.h)

Description

The IoSizeOfIrp routine determines the size in bytes for an IRP, given the number of stack locations in the IRP.

Parameters

StackSize [in]

Specifies the number of stack locations for the IRP.

Remarks

IoSizeOfIrp returns the size, in bytes, of the IRP.

The input StackSize value is either that of the next-lower driver's device object or one more than that value.

See also

IoAllocateIrp

IoMakeAssociatedIrp