#NEWLINE# def FindFirstVolumeMountPoint( volume_name ) : #NEWLINE# #INDENT# 'Find the first volume mount point which the system recognises.\n    If none is found, raise x_kernel32. Otherwise return the\n    search handle and the volume mount point name.\n    ' #NEWLINE# volume_mount_point_name = ctypes . create_unicode_buffer ( ( ' ' * VOLUME_NAME_LENGTH ) ) #NEWLINE# hSearch = kernel32 . FindFirstVolumeMountPointW ( volume_name , volume_mount_point_name , VOLUME_NAME_LENGTH ) #NEWLINE# if ( hSearch == win32file . INVALID_HANDLE_VALUE ) : #NEWLINE# #INDENT# return error ( x_kernel32 , 'FindFirstVolumeMountPoint' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( volume_mount_point_name , volume_mount_point_name . value )