Re: ntdll / kernel32: #38
12 Dec
2003
12 Dec
'03
4:18 a.m.
"Eric Pouech" <pouech-eric(a)wanadoo.fr> wrote:
+HANDLE WINAPI OpenConsoleW(LPCWSTR name, DWORD access, LPSECURITY_ATTRIBUTES sa, + DWORD creation) +{ + static const WCHAR coninW[] = {'C','O','N','I','N','$',0}; + static const WCHAR conoutW[] = {'C','O','N','O','U','T','$',0}; + BOOL output; + HANDLE ret; + + if (strcmpW(coninW, name) == 0) + output = FALSE; + else if (strcmpW(conoutW, name) == 0) + output = TRUE;
While you are moving the code around then you are probably reviewing it as well? So, the question is: shouldn't the above comparisons be case insensitive? -- Dmitry.
8040
Age (days ago)
8040
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dmitry Timoshkov -
Eric Pouech