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

List the data streams for a file


FileName : PyUnicode

Name of file (or directory) to operate on

Transaction=None : PyHANDLE

Handle to a transaction, can be None


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