Re: [PATCH] wininet: Conformance test for InternetCrackUrlA (try 2)
18 Oct
2007
18 Oct
'07
2:15 p.m.
On Mi, 2007-10-17 at 13:17 -0700, Nigel Liang wrote:
+ urlCompa.dwStructSize = sizeof(urlCompa); + bRet = InternetCrackUrlA(sUrl, 11, 0, &urlCompa);
+ ZeroMemory(&urlCompa, sizeof(urlCompa)); + ZeroMemory(&szBuf, sizeof(char)*1024);
+ urlCompa.dwUserNameLength = 1024;
It looks much better, when you avoid constant numbers. I suggest to use sizeof() instead. (but never use "sizeof()" in "ok()" or in "trace()".) Thanks for helping wine. -- By by ... Detlef
6720
Age (days ago)
6720
Last active (days ago)
0 comments
1 participants
participants (1)
-
Detlef Riekenberg