win32file.FindStreams

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

List the data streams for a file

Parameters

FileName : string

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

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