Group: Mailslot - Library: kernel32
The SetMailslotInfo function sets the time-out value used by the specified mailslot for a read operation.
BOOL SetMailslotInfo(
HANDLE hMailslot, // mailslot handle
DWORD lReadTimeout // read time-out interval
);
DECLARE INTEGER SetMailslotInfo IN kernel32;
INTEGER hMailslot,;
INTEGER lReadTimeout
hMailslot [in] Handle to a mailslot. The CreateMailslot function must create this handle.
lReadTimeout [in] Specifies the amount of time, in milliseconds, a read operation can wait for a message to be written to the mailslot before a time-out occurs.
If the function succeeds, the return value is nonzero.