Programming/C
Dlll로부터 함수 얻어오기
Oth
2017. 9. 8. 09:20
typedef NTSTATUS(WINAPI *ArRtlGetVersion)(
_Out_ PRTL_OSVERSIONFOW
) ;HMODULE hMod=LoadLibrary(L"ntdll.dll");
ArRtlGetVersion RtlGetVersion=(ArRtlGetVersion)GetProcAddress(hMod,"RtlGetVersion");