Return ERROR_PROC_NOT_FOUND, not ERROR_INVALID_ORDINAL, as failure from XexGetProcedureAddress.
This commit is contained in:
parent
69cf40161e
commit
dece63e351
|
@ -268,7 +268,7 @@ dword_result_t XexGetProcedureAddress(lpvoid_t hmodule, dword_t ordinal,
|
||||||
} else {
|
} else {
|
||||||
XELOGW("ERROR: XexGetProcedureAddress ordinal not found!");
|
XELOGW("ERROR: XexGetProcedureAddress ordinal not found!");
|
||||||
*out_function_ptr = 0;
|
*out_function_ptr = 0;
|
||||||
result = X_STATUS_DRIVER_ORDINAL_NOT_FOUND;
|
result = X_STATUS_DRIVER_ENTRYPOINT_NOT_FOUND;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue