Re: setupapi: Make sure machine name is non-empty before failing
9 Jun
2011
9 Jun
'11
12:49 p.m.
Juan Lang <juan.lang(a)gmail.com> wrote:
+static const WCHAR emptyW[] = { 0 }; ... - if (MachineName != NULL) + if (MachineName != NULL && strcmpW(MachineName, emptyW))
What's wrong with 'if (MachineName && *MachineName)' ? -- Dmitry.
5390
Age (days ago)
5390
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dmitry Timoshkov -
Juan Lang