[PATCH] shlwapi: initial implement of SHAutoComplete (Retry)

Nikolay Sivov nsivov at codeweavers.com
Tue May 25 04:58:17 CDT 2010


On 5/25/2010 03:29, Hirofumi Katayama wrote:
> See attachment.
>    
Hi.
> +        list = (LPWSTR) malloc(len);
> +        free(list);
Use HeapAlloc()/HeapFree() for that and others allocations.

> +    fUnicode = IsWindowUnicode(hwndEdit);
> +    if (fUnicode)
> +        pProp = (AUTOCOMPLETEPROP *) GetPropW(hwndEdit, szPropNameW);
> +    else
> +        pProp = (AUTOCOMPLETEPROP *) GetPropA(hwndEdit, szPropNameA);
This is unrelated thing. You can use GetPropW for non-Unicode windows as 
well.



More information about the wine-devel mailing list