Fwd: SetShellWindow() [resend]

Alexandre Julliard julliard at winehq.org
Tue Aug 26 19:39:57 CDT 2003


Martin Fuchs <martin-fuchs at gmx.net> writes:

> +/* globally stored shell window handles */
> +
> +static HWND hwndShellWindow = 0;
> +static HWND hwndShellListView = 0;
> +
> +/* id of the process, which currently owns the shell window */
> +static DWORD pidShellWindow = 0;

You must not store handles or pids in the server, you should store
pointers to the server objects, and properly handle the case where the
corresponding window or process gets destroyed.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list