Using Win32 functions in Visual FoxPro Image Gallery
Pipe
..msdn
ConnectNamedPipe
CreateNamedPipe
CreatePipe
DisconnectNamedPipe
SetNamedPipeHandleState
Code examples:
Using named pipes for interprocess communication
ConnectNamedPipe
..msdn    Add comment     W32 Constants      Translate this page
Enables a named pipe server process to wait for a client process to connect to an instance of a named pipe.
Code examples:
Using named pipes for interprocess communication
Declaration:
BOOL ConnectNamedPipe(
    HANDLE hNamedPipe,
    LPOVERLAPPED lpOverlapped
);
FoxPro declaration:
DECLARE INTEGER ConnectNamedPipe IN kernel32;
    INTEGER hNamedPipe,;
    INTEGER lpOverlapped
Parameters:
hNamedPipe
[in] A handle to the server end of a named pipe instance. This handle is returned by the CreateNamedPipe function.

lpOverlapped
[in] A pointer to an OVERLAPPED structure.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
A client process connects by calling either the CreateFile or CallNamedPipe function.

See also: DisconnectNamedPipe, CloseHandle.
Word Index links for the ConnectNamedPipe :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2007-01-17 14:38:05
Modified: 2007-01-17 14:40:03
Visited in last 7 days: 20
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.242.205.33)
9 sec.Function: 'CM_Connect_Machine'
18 sec.Function: 'GetFileNameFromBrowse'
28 sec.Function: 'GetLocalTime'
37 sec.Function: 'AllocConsole'
49 sec.Function: 'GdipDeleteFont'
1.05 min.Function: 'GdipGetImageRawFormat'
1.28 min.Function: 'CreateFileMapping'
1.55 min.Function: 'AVIFileRelease'
1.78 min.Function: 'ChrCmpI'
2.03 min.Function: 'GdipCloneBitmapArea'
Google
Advertise here!