Re: setupapi: Make sure machine name is non-empty before failing
9 Jun
2011
9 Jun
'11
5: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.
5305
Age (days ago)
5305
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dmitry Timoshkov -
Juan Lang