OpenSCManager

In Windows Vista with administrator privileges.
hSCMan = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
hSCMan always return error 5 = ERROR_ACCESS_DENIED
In Windows Xp always works OK.
What I need to do ?
[239 byte] By [alfredoangel] at [2007-11-20 11:55:50]
# 1 Re: OpenSCManager
May be helpful, however, no exact answer there: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=282559&SiteID=1
Hobson at 2007-11-11 4:02:15 >