Revert "TMP mechassault hack"
This reverts commit d616e94c117d3e1f0e8ce35bfc97d9f845d3c5b7.
This commit is contained in:
parent
325e663c9f
commit
adc065b0bc
|
@ -859,12 +859,12 @@ XBSYSAPI EXPORTNUM(246) xboxkrnl::NTSTATUS NTAPI xboxkrnl::ObReferenceObjectByHa
|
||||||
// HACK: Since we forward to NtDll::NtCreateEvent, this *might* be a Windows handle instead of our own
|
// HACK: Since we forward to NtDll::NtCreateEvent, this *might* be a Windows handle instead of our own
|
||||||
// In this case, we must return the input handle
|
// In this case, we must return the input handle
|
||||||
// Test Case: Xbox Live Dashboard, Network Test (or any other Xbox Live connection)
|
// Test Case: Xbox Live Dashboard, Network Test (or any other Xbox Live connection)
|
||||||
//DWORD flags = 0;
|
DWORD flags = 0;
|
||||||
//if (GetHandleInformation(Handle, &flags)) {
|
if (GetHandleInformation(Handle, &flags)) {
|
||||||
// // This was a Windows Handle, so return it.
|
// This was a Windows Handle, so return it.
|
||||||
// *ReturnedObject = Handle;
|
*ReturnedObject = Handle;
|
||||||
// return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
//}
|
}
|
||||||
|
|
||||||
status = STATUS_INVALID_HANDLE;
|
status = STATUS_INVALID_HANDLE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue