FilterVolumeFindClose function

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

hVolumeFind [in]

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

 

 

Send comments about this topic to Microsoft

Show: