FindNextStreamW function

Continues a stream search started by a previous call to the FindFirstStreamW function.

Syntax

BOOL FindNextStreamW(
  HANDLE hFindStream,
  LPVOID lpFindStreamData
);

Parameters

hFindStream

The search handle returned by a previous call to the FindFirstStreamW function.

lpFindStreamData

A pointer to the WIN32_FIND_STREAM_DATA structure that receives information about the stream.

Return Value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError. If no more streams can be found, GetLastError returns ERROR_HANDLE_EOF (38).

Remarks

In Windows 8 and Windows Server 2012, this function is supported by the following technologies.

Technology Supported
Server Message Block (SMB) 3.0 protocol Yes
SMB 3.0 Transparent Failover (TFO) Yes
SMB 3.0 with Scale-out File Shares (SO) Yes
Cluster Shared Volume File System (CsvFS) Yes
Resilient File System (ReFS) Yes

Requirements

   
Windows version Windows Vista [desktop apps only] Windows Server 2003 [desktop apps only]
Target Platform Windows
Header fileapi.h (include Windows.h, WinBase.h)
Library Kernel32.lib
DLL Kernel32.dll

See Also

File Management Functions

FindFirstStreamW

WIN32_FIND_STREAM_DATA