S
su haiqing
Hi All,
I am trying to use NetGroupAdd() to create a group on my computer, but it
always return ERROR_ACCESS_DENIED. Do you guys know how to resolve the
problem? (Windows Xp sp3)
///code here
_GROUP_INFO_0 groupInfo;
DWORD param_err;
NET_API_STATUS sResult;
ZeroMemory(&groupInfo, sizeof(groupInfo));
groupInfo.grpi0_name = L"testGroup";
USES_CONVERSION;
sResult = NetGroupAdd(NULL, 0, (LPBYTE)&groupInfo, ¶m_err);
/// end code
Thanks
Su
I am trying to use NetGroupAdd() to create a group on my computer, but it
always return ERROR_ACCESS_DENIED. Do you guys know how to resolve the
problem? (Windows Xp sp3)
///code here
_GROUP_INFO_0 groupInfo;
DWORD param_err;
NET_API_STATUS sResult;
ZeroMemory(&groupInfo, sizeof(groupInfo));
groupInfo.grpi0_name = L"testGroup";
USES_CONVERSION;
sResult = NetGroupAdd(NULL, 0, (LPBYTE)&groupInfo, ¶m_err);
/// end code
Thanks
Su