FhServiceClosePipe function

Closes a communication channel to the File History Service opened with FhServiceOpenPipe.

Syntax


HRESULT WINAPI FhServiceClosePipe(
  _In_ FH_SERVICE_PIPE_HANDLE Pipe
);

Parameters

Pipe [in]

The communication channel handle returned by an earlier FhServiceOpenPipe call.

Return value

S_OK on success, or an unsuccessful HRESULT value on failure. Possible unsuccessful HRESULT values include values defined in the FhErrors.h header file.

Remarks

An application should call FhServiceClosePipe once for each communication channel handle it opens with FhServiceOpenPipe. Closing a communication channel handle multiple times is not supported and may lead to unpredictable behavior.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

FhSvcCtl.h

Library

FhSvcCtl.lib

See also

FhServiceOpenPipe

 

 

Show: