I am using Windows 7 Professional x64.
I need to hook DefWindowProcW procedure. But when I try to get it's address via GetProcAddress()
, it returns address of NtdllDefWindowProcW()
, which is located in ntdll.dll. There is a jump to real user32
function DefWindowProcW()
at the beginning of NtdllDefWindowProcW()
.
Is there a way to get real procedure address instead of ntdll procedure?