https://bugs.winehq.org/show_bug.cgi?id=46130
Bug ID: 46130 Summary: Star Citizen (RSI launcher) installer needs kernel32.dll.SetFileInformationByHandle 'FileIoPriorityHintInfo' info class semi-stub Product: Wine Version: 3.20 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
to track:
https://www.winehq.org/pipermail/wine-devel/2018-November/134925.html
https://www.reddit.com/r/wine_gaming/comments/9o3kic/new_to_wine_want_to_get...
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/kernel32/file.c#l1086
--- snip --- 1089 BOOL WINAPI SetFileInformationByHandle( HANDLE file, FILE_INFO_BY_HANDLE_CLASS class, VOID *info, DWORD size ) 1090 { 1091 NTSTATUS status; 1092 IO_STATUS_BLOCK io; 1093 1094 TRACE( "%p %u %p %u\n", file, class, info, size ); 1095 1096 switch (class) 1097 { 1098 case FileBasicInfo: 1099 case FileNameInfo: 1100 case FileRenameInfo: 1101 case FileAllocationInfo: 1102 case FileEndOfFileInfo: 1103 case FileStreamInfo: 1104 case FileIdBothDirectoryInfo: 1105 case FileIdBothDirectoryRestartInfo: 1106 case FileIoPriorityHintInfo: 1107 case FileFullDirectoryInfo: 1108 case FileFullDirectoryRestartInfo: 1109 case FileStorageInfo: 1110 case FileAlignmentInfo: 1111 case FileIdInfo: 1112 case FileIdExtdDirectoryInfo: 1113 case FileIdExtdDirectoryRestartInfo: 1114 FIXME( "%p, %u, %p, %u\n", file, class, info, size ); 1115 SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); 1116 return FALSE; 1117 1118 case FileDispositionInfo: 1119 status = NtSetInformationFile( file, &io, info, size, FileDispositionInformation ); 1120 break; 1121 1122 case FileStandardInfo: 1123 case FileCompressionInfo: 1124 case FileAttributeTagInfo: 1125 case FileRemoteProtocolInfo: 1126 default: 1127 SetLastError( ERROR_INVALID_PARAMETER ); 1128 return FALSE; 1129 } 1130 1131 if (status != STATUS_SUCCESS) 1132 { 1133 SetLastError( RtlNtStatusToDosError( status ) ); 1134 return FALSE; 1135 } 1136 return TRUE; 1137 } --- snip ---
An actual implementation would be in ntdll/wineserver of course.
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ntdll/file.c#l2507
Unfortunately one has to *buy* "pledge" a Star Citizen package before being able to login and download something. Hence, I can't help here with diagnostics and have to rely on third parties to have proper analysis/conclusions.
$ wine --version wine-3.20
Regards