win32file.GetVolumePathName
PyUnicode = GetVolumePathName(FileName, BufferLength )
Returns volume mount point for a path
Parameters
Comments
Api gives no indication of how much memory is needed, so function assumes returned path will not be longer that length of input path + 1. Use GetFullPathName first for relative paths, or GetLongPathName for 8.3 paths. Optional second parm can also be used to override the buffer size for returned pathAccepts keyword args.