Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Using named pipes for interprocess communication
..msdn    Add comment     W32 Constants      Translate this page
Sets the read mode and the blocking mode of the specified named pipe. If the specified handle is to the client end of a named pipe and if the named pipe server process is on a remote computer, the function can also be used to control local buffering.
Code examples:
Using named pipes for interprocess communication
BOOL SetNamedPipeHandleState(
    HANDLE hNamedPipe,
    LPDWORD lpMode,
    LPDWORD lpMaxCollectionCount,
    LPDWORD lpCollectDataTimeout
FoxPro declaration:
DECLARE INTEGER SetNamedPipeHandleState IN kernel32;
    INTEGER hNamedPipe,;
    LONG @lpMode,;
    LONG lpMaxCollectionCount,;
    LONG lpCollectDataTimeout
[in] A handle to the named pipe instance.

[in] The new pipe mode. The mode is a combination of a read-mode flag and a wait-mode flag.

[in] The maximum number of bytes collected on the client computer before transmission to the server.

[in] The maximum time, in milliseconds, that can pass before a remote named pipe transfers information over the network.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
This is a part of pipe client code
hPipe = CreateFile(cPipename,;
        0, 0, OPEN_EXISTING, 0, 0)

        nResult = SetNamedPipeHandleState(m.hPipe,;
                @nPipeMode, 0, 0)
Word Index links for the SetNamedPipeHandleState :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2007-01-17 14:42:43
Modified: 2007-01-17 14:47:56
Visited in last 7 days: 32
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 (
5 sec.Example: 'How to create MD-5 and SHA-1 hash values from a string'
12 sec.Function: 'LogonUser'
17 sec.Function: 'EnableWindow'
22 sec.
Function group: 'Shell Lightweight Utility APIs -- Path Functions'
28 sec.Function: 'mixerGetLineControls'
34 sec.Function: 'RegSaveKey'
40 sec.Function: 'GetAce'
46 sec.Function: 'StrToInt'
52 sec.Function: 'NetUserEnum'
57 sec.Function: 'FillConsoleOutputCharacter'
Advertise here!