Ret and retval

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
22karthikreddy
Newbie
Newbie
Posts: 4
Joined: Mon Dec 15, 2008 3:52 am

Ret and retval

Post by 22karthikreddy »

Hey guys,
I'm new to wine and trying to debug. Could you plz tell me what is ret and retval in the following debug session
0019:Ret advapi32.RegOpenKeyW() retval=00000002 ret=7e6c45ae
Thank You
Karthik
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Ret and retval

Post by vitamin »

22karthikreddy wrote:Hey guys,
I'm new to wine and trying to debug. Could you plz tell me what is ret and retval in the following debug session

Code: Select all

0019:Ret  advapi32.RegOpenKeyW() retval=00000002 ret=7e6c45ae
"retval" is the return value from the function. "ret" is the return address (next instruction after 'call').
Locked