I am trying to debug some win32API's like Createthread which returns a handle. How to get the return values in windbg?
I did some research and found that return values generally stored in EAx register.
If I put breakpoint on CreateThread then I can step into assembly of Createthread and ultimatelyw I will hit ret statement which means Createthread is returning .
At this point should I check the value of EAX register to get the HANDLE value or is the some other way?