Re: Resend of Adds NET START to net.exe
May 8, 2007
10:35 p.m.
"Tim Schwartz" <tim(a)sanityinternet.com> wrote:
+ GetServiceDisplayName(SCManager, service_name, NULL, &buffer_size);
You need to check GetServiceDisplayName return value here and later.
+ /* until GetServiceDisplayName() is implemented, buffer_size will always be zero so the service short name will be used instead */
GetServiceDisplayName *is* implemented.
+ if(!buffer_size) + {
The check above is wrong. -- Dmitry.
6896
Age (days ago)
6896
Last active (days ago)
1 comments
1 participants
participants (1)
-
Dmitry Timoshkov