Stubbed implementations and Windows objects

Dmitry Timoshkov dmitry at baikal.ru
Sat May 11 20:54:02 CDT 2002


"Ian D. Stewart" <idstewart at compuvative.com> wrote:

> I am currently in the process of implementing a stubbed version of 
> ctl3d.dll.  For functions that return BOOL, I'm printing a fixme and 
> then returning TRUE.  What is the convention for stubbed 
> implementations that return a Windows object (HBRUSH, HWND, etc)?

I think that you better should try to return real GDI object handles
returned by GetStockObject or GetSysColorBrush. Regarding HWNDs: what
ctl3d function is supposed to return window handles?

-- 
Dmitry.






More information about the wine-devel mailing list