Using Win32 functions in Visual FoxPro Image Gallery
Mailslot
..msdn
CreateMailslot
GetMailslotInfo
SetMailslotInfo
Code examples:
Creating a mailslot
Peer-to-peer LAN messenger built with Mailslot API functions
GetMailslotInfo
..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
Declaration:
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
Parameters:
hMailslot
[in] Handle to a mailslot. The CreateMailslot function must create this handle.

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

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

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

lpReadTimeout
[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  
FreeTranslation.com 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: 22
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.82.81.154)
17 sec.Function: 'SQLRowCount'
35 sec.Function: 'GetBinaryType'
53 sec.Function: 'BlockInput'
1.18 min.Function: 'WinHttpCrackUrl'
1.5 min.Function: 'GdipDeleteMatrix'
1.78 min.Function: 'TaskDialogIndirect'
2.07 min.Function: 'LoadResource'
2.35 min.Function: 'UnloadUserProfile'
2.63 min.Function: 'mixerOpen'
2.92 min.Function: 'waveOutGetNumDevs'
Google
Advertise here!