pszName (PSZ) - input
The
ASCIIZ name of the pipe to be opened.
Pipe names must include the prefix \PIPE\ and must conform to file-system
naming conventions. When communicating with a remote process, the computer
name must also be included, using the format \\ComputerName\PIPE\FileName.
pInbuf (PVOID) - input
A pointer to the buffer that is to be written to
the pipe.
cbIn (ULONG) - input
The
number of bytes to be written.
pOutbuf (PVOID) - output
A pointer to the buffer for returned data.
cbOut (ULONG) - input
The
maximum size, in bytes, of returned data.
pcbActual (PULONG) - output
A pointer to the ULONG
in which the number of bytes actually read is returned.
msec (ULONG) - input
The
maximum time, in milliseconds, to wait for a pipe instance to become available.
ulrc (APIRET) - returns
Return Code.
DosCallNPipe returns one of the following values:
- NO_ERROR 2
3
5
11
95
230
231
233
234
On
the PowerPC platform, DosCallNPipe fails with error code ERROR_PATH_NOT_FOUND
when the pipe name contains more than one \ in the name. For example, the
following pipe name would cause DosCallNPipe to fail:
\pipe\\\\\longname.nam
For a full list of error codes, see Errors.
[Back]
[Next]