Corrected XFileXctdCompressionInformation handling. Needs to be further corrected in the future.

This commit is contained in:
gibbed 2014-01-20 06:02:30 -08:00
parent e5e6a2cea6
commit c673d55c1e
1 changed files with 3 additions and 5 deletions

View File

@ -418,13 +418,11 @@ SHIM_CALL NtQueryInformationFile_shim(
file_info.Write(SHIM_MEM_BASE, file_info_ptr); file_info.Write(SHIM_MEM_BASE, file_info_ptr);
} }
break; break;
case XFileMailslotSetInformation: case XFileXctdCompressionInformation:
// Read timeout. // Read timeout.
if (length == 4) { if (length == 4) {
info = 4; // ? it's not a read. info = 4;
uint32_t read_timeout = SHIM_MEM_32(file_info_ptr); SHIM_SET_MEM_64(file_info_ptr, 0); // TODO(gibbed): determine how we figure this out
// May be INFINITE.
// Do something with this?
} else { } else {
result = X_STATUS_INFO_LENGTH_MISMATCH; result = X_STATUS_INFO_LENGTH_MISMATCH;
} }