win32file.FindStreams

[(long, PyUnicode),...] = FindStreams(FileName, Transaction )

List the data streams for a file

Parameters

FileName : PyUnicode

Name of file (or directory) to operate on

Transaction=None : PyHANDLE

Handle to a transaction, can be None

Comments

This uses the API functions FindFirstStreamW, FindNextStreamW and FindClose

Available on Windows Server 2003 and Vista

If the Transaction arg is not None, FindFirstStreamTransacted will be called in place of FindFirstStreamW

Return Value

Returns a list of tuples containing each stream's size and name