Return ERROR_PROC_NOT_FOUND, not ERROR_INVALID_ORDINAL, as failure from XexGetProcedureAddress.

This commit is contained in:
gibbed 2017-01-20 08:19:01 -06:00
parent 69cf40161e
commit dece63e351
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ dword_result_t XexGetProcedureAddress(lpvoid_t hmodule, dword_t ordinal,
} else {
XELOGW("ERROR: XexGetProcedureAddress ordinal not found!");
*out_function_ptr = 0;
result = X_STATUS_DRIVER_ORDINAL_NOT_FOUND;
result = X_STATUS_DRIVER_ENTRYPOINT_NOT_FOUND;
}
}