FilterVolumeFindClose function

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

Syntax

HRESULT FilterVolumeFindClose(
  HANDLE hVolumeFind
);

Parameters

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

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

See Also

FilterVolumeFindFirst

FilterVolumeFindNext