win32file.QueryDosDevice

string = QueryDosDevice(DeviceName)

Returns the mapping for a device name, or all device names

Parameters

DeviceName : string

Name of device to query, or None to return all defined devices

Return Value

Returns a string containing substrings separated by NULLs with 2 terminating NULLs