Stubbed implementations and Windows objects

Ian D. Stewart idstewart at
Sat May 11 23:06:45 CDT 2002

On 2002.05.11 21:54 Dmitry Timoshkov wrote:
> "Ian D. Stewart" <idstewart at> 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.

Ah, that's what I was looking for, thank you!  (I'm still kinda new to 
this windows programming stuff)

> Regarding HWNDs: what
> ctl3d function is supposed to return window handles?

None, it was really more of a general question.

Thanx again,

More information about the wine-devel mailing list