CfCloseHandle function (cfapi.h)

Closes the file or directory handle returned by CfOpenFileWithOplock. This should not be used with standard Win32 file handles, only on handles used within CfApi.h.

Syntax

void CfCloseHandle(
  [in] HANDLE FileHandle
);

Parameters

[in] FileHandle

The file or directory handle to be closed.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10, version 1709 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header cfapi.h
Library CldApi.lib
DLL CldApi.dll

See also

CfOpenFileWithOplock