please dont rip this site Prev Next

GetNamedPipeInfo info  Overview  Group

The GetNamedPipeInfo function retrieves information about the specified named pipe.

BOOL GetNamedPipeInfo(

    HANDLE hNamedPipe,

// handle of named pipe

    LPDWORD lpFlags,

// address of flags indicating type of pipe

    LPDWORD lpOutBufferSize,

// address of size, in bytes, of pipe’s output buffer

    LPDWORD lpInBufferSize,

// address of size, in bytes, of pipe’s input buffer

    LPDWORD lpMaxInstances 

// address of max. number of pipe instances

   );

Parameters

hNamedPipe
Identifies the named pipe instance. The handle must have GENERIC_READ access to the named pipe.
lpFlags
Points to a 32-bit variable that indicates the type of the named pipe. This parameter can be NULL if this information is not required. Otherwise, use the following values:

Value

Meaning

PIPE_CLIENT_END

The handle refers to the client end of a named pipe instance. This is the default.

PIPE_SERVER_END

The handle refers to the server end of a named pipe instance. If this value is not specified, the handle refers to the client end of a named pipe instance.

PIPE_TYPE_BYTE

The named pipe is a byte pipe. This is the default.

PIPE_TYPE_MESSAGE

The named pipe is a message pipe. If this value is not specified, the pipe is a byte pipe.

lpOutBufferSize
Points to a 32-bit variable that receives the size, in bytes, of the buffer for outgoing data. If the buffer size is zero, the buffer is allocated as needed. This parameter can be NULL if this information is not required.
lpInBufferSize
Points to a 32-bit variable that receives the size, in bytes, of the buffer for incoming data. If the buffer size is zero, the buffer is allocated as needed. This parameter can be NULL if this information is not required.
lpMaxInstances
Points to a 32-bit variable that receives the maximum number of pipe instances that can be created. If the variable is set to PIPE_UNLIMITED_INSTANCES, the number of pipe instances that can be created is limited only by the availability of system resources. This parameter can be NULL if this information is not required.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

See Also

CreateNamedPipe, GetNamedPipeHandleState


file: /Techref/os/win/api/win32/func/src/f35_8.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/19 22:19,
TOP NEW HELP FIND: 
18.117.230.165:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/techref/os/win/api/win32/func/src/f35_8.htm"> GetNamedPipeInfo</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .