Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.01 KB

File metadata and controls

47 lines (31 loc) · 1.01 KB

Home

Function name : DisconnectNamedPipe

Group: Pipe - Library: kernel32


Disconnects the server end of a named pipe instance from a client process.


Code examples:

Using named pipes for interprocess communication

Declaration:

BOOL DisconnectNamedPipe(
	HANDLE hNamedPipe
);  

FoxPro declaration:

DECLARE INTEGER DisconnectNamedPipe IN kernel32;
	INTEGER hNamedPipe  

Parameters:

hNamedPipe [in] A handle to an instance of a named pipe. This handle must be created by the CreateNamedPipe function.


Return value:

If the function succeeds, the return value is nonzero.


Comments:

See also: ConnectNamedPipe, FlushFileBuffers, CloseHandle.