Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Creating a mailslot
Peer-to-peer LAN messenger built with Mailslot API functions
..msdn    Add comment     W32 Constants      Translate this page
The GetMailslotInfo function retrieves information about the specified mailslot.
Code examples:
Peer-to-peer LAN messenger built with Mailslot API functions
Creating a mailslot
BOOL GetMailslotInfo(
  HANDLE hMailslot,          // mailslot handle
  LPDWORD lpMaxMessageSize,  // maximum message size
  LPDWORD lpNextSize,        // size of next message
  LPDWORD lpMessageCount,    // number of messages
  LPDWORD lpReadTimeout      // read time-out interval
FoxPro declaration:
DECLARE INTEGER GetMailslotInfo IN kernel32;
    INTEGER   hMailslot,;
    INTEGER @ lpMaxMessageSize,;
    INTEGER @ lpNextSize,;
    INTEGER @ lpMessageCount,;
    INTEGER @ lpReadTimeout
[in] Handle to a mailslot. The CreateMailslot function must create this handle.

[in] Pointer to a buffer specifying the maximum message size, in bytes, allowed for this mailslot, when the function returns.

[in] Pointer to a buffer specifying the size, in bytes, of the next message, when the function returns.

[in] Pointer to a buffer specifying the total number of messages waiting to be read, when the function returns.

[in] Pointer to a buffer specifying 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.
Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the GetMailslotInfo :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2002-01-26 14:34:03
Modified: 2002-01-26 14:35:52
Visited in last 7 days: 35
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
17 sec.Function: 'EndDoc'
36 sec.Function: 'MoveFile'
53 sec.Function: 'CreateFile'
1.2 min.Function: 'GdipGetImageEncoders'
1.53 min.Function: 'WinHttpSetCredentials'
1.85 min.Function: 'MoveFileTransacted'
2.17 min.Function: 'GetComputerName'
2.48 min.Function: 'FindCloseChangeNotification'
2.78 min.Function: 'ScreenToClient'
3.08 min.Function: 'CeDeleteDatabase'
Advertise here!