shell32.dll/Printer_LoadIconsW implemented (v2)

Frank Richter frank.richter at gmail.com
Tue Jul 5 18:25:31 CDT 2005


On 06.07.2005 01:01, Detlef Riekenberg wrote:
> +    /* Icon in native printui.dll: "Not the default, connected Local Printer" */ 
> +    SHELL32_hmodule = LoadLibraryA("printui.dll");
> +    iconindex = 1;
> +
> +    if (SHELL32_hmodule == NULL)
> +    {
> +        /* Icon in shell32.dll: "Not the default, connected Local Printer" */ 
> +        SHELL32_hmodule = shell32_hInstance;
> +        iconindex = IDI_SHELL_PRINTER;
> +    }

Actually, all the different printer icons are contained in shell32.dll;
hence, trying to use printui.dll there is probably rather
counter-productive...

-f.r.



More information about the wine-devel mailing list