[Wine] Re: How to call an internal wine function ?

Alex wineforum-user at winehq.org
Sun Jan 31 05:11:20 CST 2010


> You filed a bug for that in bugzilla? 


Yeah, it's this bug (http://bugs.winehq.org/show_bug.cgi?id=21307).

But I know there are lots of bugs and mine is (even if annoying) not critical.

So I thought "Hey, Alex ! Why don't you try to understand how it works ? Thus, you could fix this issue on your own !"



> I'm not sure what you looking for but here is how it works. For example, if you look at VkKeyScanExW(): http://source.winehq.org/source/dlls/user32/input.c#L587 you'll see it's calling the USER_Driver which is x11drv on Wine and the actual implementation of that functions is, as you said it, X11DRV_VkKeyScanEx. 


I understood that but if I can't call it directly, I have to modify the source, adding some printf() or TRACE_(alex) and compile it again.

But there is not problem, I'm here to learn, so thank you again.







More information about the wine-users mailing list