25 May
2010
25 May
'10
4:58 a.m.
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.