FilterVolumeFindClose function (fltuser.h)

The FilterVolumeFindClose function closes the specified volume search handle. FilterVolumeFindFirst and FilterVolumeFindNext use this search handle to locate volumes.

Syntax

HRESULT FilterVolumeFindClose(
  [in] HANDLE hVolumeFind
);

Parameters

[in] hVolumeFind

Volume search handle to close. This handle must have been previously opened by FilterVolumeFindFirst.

Return value

FilterVolumeFindClose returns S_OK if successful. Otherwise, it returns an error value.

Remarks

After the FilterVolumeFindClose function is called, the handle specified by the hVolumeFind parameter cannot be used in subsequent calls to FilterVolumeFindNext or FilterVolumeFindClose.

Requirements

Requirement Value
Target Platform Universal
Header fltuser.h (include Fltuser.h)
Library FltLib.lib
DLL FltLib.dll

See also

FilterVolumeFindFirst

FilterVolumeFindNext