win32file.FindFileNames

[PyUnicode,...] = FindFileNames(FileName, Transaction )

Enumerates hard links that point to specified file

Parameters

FileName : PyUnicode

Name of file for which to find links

Transaction=None : PyHANDLE

Handle to a transaction, can be None

Comments

This uses the API functions FindFirstFileNameW, FindNextFileNameW and FindClose

Available on Vista and later

If Transaction is specified, a transacted search is performed using FindFirstFileNameTransacted