如何使用LoadLibrary()和GetProcAddress()函数将ntdll.dll添加到项目库?

Meh*_*dad 3 c windows nt winapi

我想得到线程的起始地址NtQueryInformationThread,但我需要添加它的库.我怎样才能做到这一点?

Ser*_*bry 5

我更喜欢将ntdll.lib(你可以在Windows DDK/WDK中找到它)添加到项目中.在这种情况下,您不需要GetProcAddress的东西.