Index   Commented   Search   About

Mailslot Server Functions

Mailslot servers have exclusive use of three functions, as shown in the following table.

Function
Description
CreateMailslot
Creates a mailslot and returns a mailslot handle.
GetMailslotInfo
Retrieves the maximum message size, the mailslot size, the size of the next message in the mailslot, the number of messages in the mailslot, and the amount of time a read operation can wait for a message.
SetMailslotInfo
Changes the read time-out for a mailslot.

The following functions are also used by mailslot servers.

Function
Description
DuplicateHandle
Duplicates the mailslot handle.
ReadFile
Retrieves messages from a mailslot.
GetFileTime
Retrieves the date and time a mailslot was created.
SetFileTime
Sets the date and time a mailslot was created.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun