Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
..msdn    Add comment     W32 Constants      Translate this page
The CreatePipe function creates an anonymous pipe, and returns handles to the read and write ends of the pipe.
Code examples:
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
BOOL CreatePipe(
  PHANDLE hReadPipe,
  PHANDLE hWritePipe,
  DWORD nSize
FoxPro declaration:
DECLARE INTEGER CreatePipe IN kernel32;
    INTEGER @ hReadPipe,;
    INTEGER @ hWritePipe,;
    STRING  @ lpPipeAttributes,;
    LONG      nSize

[out] Pointer to a variable that receives the read handle for the pipe.

[out] Pointer to a variable that receives the write handle for the pipe.

[in] Pointer to a SECURITY_ATTRIBUTES structure that determines whether the returned handle can be inherited by child processes.

[in] Size of the buffer for the pipe, in bytes.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
CreatePipe creates the pipe, assigning the specified pipe size to the storage buffer. CreatePipe also creates handles that the process uses to read from and write to the buffer in subsequent calls to the ReadFile and WriteFile functions.
Word Index links for the CreatePipe :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2004-12-18 09:25:35
Modified: 2004-12-18 09:27:24
Visited in last 7 days: 29
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 (
16 sec.Function: 'FillMemory'
36 sec.Function: 'DefWindowProc'
56 sec.Function: 'CryptReleaseContext'
1.2 min.Function: 'AVIFileExit'
1.47 min.Function: 'GdipDrawRectangle'
1.72 min.Function: 'CertCloseStore'
1.98 min.Function: 'GetAncestor'
2.25 min.Function: 'CopyImage'
2.55 min.Function: 'GdipDrawImageRectRectI'
2.87 min.Function: 'FrameRgn'
Advertise here!