When I use registry key to get it always return error c开发者_JAVA技巧ode=5 means ,access denied
how to decide that the guest account on the system Windows 7 is enabled or disabled using C++
thanks
Use NetUserGetInfo with level 1 and check if USER_INFO_1.usri1_flags contains the UF_ACCOUNTDISABLE bit.
精彩评论