On 30 January 2010 12:38, Stefan Dösinger <stefan at codeweavers.com> wrote: > +static HMODULE d3d9_handle = 0; That's still redundant. Note that the variable doesn't have to be static in the first place though, you can just pass it to init_d3d9().