"Tim Schwartz" tim@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 Timoshkov" dmitry@codeweavers.com wrote:
- if(!buffer_size)
- {
The check above is wrong.
Please ignore this one.