win32file.GetFinalPathNameByHandle

PyUnicode = GetFinalPathNameByHandle(File, Flags )

Returns the file name for an open file handle

Parameters

File : PyHANDLE

An open file handle

Flags : int

Specifies type of path to return. (win32con.FILE_NAME_NORMALIZED,FILE_NAME_OPENED,VOLUME_NAME_DOS,VOLUME_NAME_GUID,VOLUME_NAME_NONE,VOLUME_NAME_NT)

Comments

Exists on Windows Vista or later.

Accepts keyword arguments.

Win32 API References

Search for GetFinalPathNameByHandle at msdn, google or google groups.