http://bugs.winehq.org/show_bug.cgi?id=16325
--- Comment #17 from Xiangrong Fang xrfang@gmail.com 2008-12-07 01:53:11 --- (In reply to comment #16)
FWIW, I suspect GdiGetCodePage is present on windows, but is undocumented.
I am studying this function. I wonder how can I find out which external application calls this function. If any application calls it, even indirectly (e.g. a program uses MFC, and MFC calls it) then it is an undocumented API, if only stuff within gdi32.dll calls it then I suspect it is a wine implementation stuff :)
Could you please tell me:
1) in Wine, how do we record the caller of an api within that api? Does argv[0] work in this case?
2) where does TRACE info go? e.g.:
TRACE("charset %d => cp %d\n", charset, cp);
where to see the log info? I think it may be better than FIXME, as there are so many FIXME and info get flushed out rapidly.
Thank you!