Код: Выделить всё
ordinal hint RVA name
56 3D 00005BB0 GetUserPass
Код: Выделить всё
USER_API USER::ResultCode DD_STDCALL GetUserPass();
Код: Выделить всё
import ctypes
from ctypes import wintypes, byref, c_uint32, c_int, c_int32
dll_path = r"C:\\Program Files (x86)\\Software\\UserComm.dll"
user = ctypes.cdll.LoadLibrary(dll_path)
ResultCode = c_uint32
user.GetUserPass.restype = ResultCode
rc = user.GetUserPass()
print("GetUserPass:", "Success" if rc == 0 else f"Error {rc}")
Код: Выделить всё
GetUserPass: Error 3758100487
Я не могу получить успешный код возврата из API - в случае успеха он должен вернуть 0.
Как я могу добиться того же и в чем проблема здесь, на моей стороне?>
Подробнее здесь: https://stackoverflow.com/questions/798 ... -the-issue
Мобильная версия