IoSizeOfIrp macro (wdm.h)
The IoSizeOfIrp routine determines the size in bytes for an IRP, given the number of stack locations in the IRP.
C++
void IoSizeOfIrp(
[in] StackSize
);
[in] StackSize
Specifies the number of stack locations for the IRP.
None
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.
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Desktop |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
IRQL | Any level |