#ifndef _NTIOAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// pub
typedef struct _MAILSLOT_CREATE_PARAMETERS
{
ULONG MailslotQuota;
ULONG MaximumMessageSize;
LARGE_INTEGER ReadTimeout;
BOOLEAN TimeoutSpecified;
} MAILSLOT_CREATE_PARAMETERS, *PMAILSLOT_CREATE_PARAMETERS;
View code on GitHub// wdm.h
typedef struct _MAILSLOT_CREATE_PARAMETERS {
ULONG MailslotQuota;
ULONG MaximumMessageSize;
LARGE_INTEGER ReadTimeout;
BOOLEAN TimeoutSpecified;
} MAILSLOT_CREATE_PARAMETERS, *PMAILSLOT_CREATE_PARAMETERS;
View the official Windows Driver Kit DDI referenceNo description available.
The MAILSLOT_CREATE_PARAMETERS is used by the Windows subsystem to create a mailslot.
MailslotQuotaPool quota that is reserved for writes to this mailslot.
MaximumMessageSizeSize, in bytes, of the largest message that can be written to this mailslot.
ReadTimeoutThe timeout period for the read operation, specified as a relative time.
TimeoutSpecifiedBoolean value that specifies whether a timeout period was provided in the ReadTimeout member.
For an IRP_MJ_CREATE_MAILSLOT operation, FLT_PARAMETERS is a CreateMailslot structure, and CreateMailslot.Parameters points to a MAILSLOT_CREATE_PARAMETERS structure that describes the mailslot to create or open.