IoSizeOfIrp macro (ntifs.h)
The IoSizeOfIrp routine determines the size in bytes for an IRP, given the number of stack locations in the IRP.
Syntax
void IoSizeOfIrp(
StackSize
);
Parameters
StackSize
[in] Specifies the number of stack locations for the IRP.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 |
Target Platform | Desktop |
Header | ntifs.h (include Wdm.h, Ntddk.h, Ntifs.h) |
IRQL | Any level |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for