Re: ddraw: Add tests for the foreground window set by SetCooperativeLevel
26 Oct
2010
26 Oct
'10
12:30 p.m.
David Adam <david.adam.cnrs(a)gmail.com> writes:
@@ -33,8 +33,9 @@ static LPDIRECTDRAW lpDD = NULL; static LPDIRECTDRAWSURFACE lpDDSPrimary = NULL; static LPDIRECTDRAWSURFACE lpDDSBack = NULL; static WNDCLASS wc; -static HWND hwnd; +static HWND hwnd, hwnd2; static int modes_cnt; +static BOOL success;
That boolean make much sense, especially with this name. If you want to check that you have a valid window you should test the window handle. Same with your createwindow function, it should simply return the handle. -- Alexandre Julliard julliard(a)winehq.org
5529
Age (days ago)
5529
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard