Corrected XFileXctdCompressionInformation handling. Needs to be further corrected in the future.
This commit is contained in:
parent
e5e6a2cea6
commit
c673d55c1e
|
@ -418,13 +418,11 @@ SHIM_CALL NtQueryInformationFile_shim(
|
|||
file_info.Write(SHIM_MEM_BASE, file_info_ptr);
|
||||
}
|
||||
break;
|
||||
case XFileMailslotSetInformation:
|
||||
case XFileXctdCompressionInformation:
|
||||
// Read timeout.
|
||||
if (length == 4) {
|
||||
info = 4; // ? it's not a read.
|
||||
uint32_t read_timeout = SHIM_MEM_32(file_info_ptr);
|
||||
// May be INFINITE.
|
||||
// Do something with this?
|
||||
info = 4;
|
||||
SHIM_SET_MEM_64(file_info_ptr, 0); // TODO(gibbed): determine how we figure this out
|
||||
} else {
|
||||
result = X_STATUS_INFO_LENGTH_MISMATCH;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue