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