Searched refs:pTokenGroups (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Main/src-helper-apps/
H A DVBoxExtPackHelperApp.cpp1691 PTOKEN_GROUPS pTokenGroups = (PTOKEN_GROUPS)RTMemAllocZ(cb); local
1692 if (GetTokenInformation(hToken, TokenGroups, pTokenGroups, cb, &cb))
1694 for (DWORD iGrp = 0; iGrp < pTokenGroups->GroupCount; iGrp++)
1698 ConvertSidToStringSid(pTokenGroups->Groups[iGrp].Sid, &pszGrpSid);
1700 if (EqualSid(pAdminGrpSid, pTokenGroups->Groups[iGrp].Sid))
1710 RTMemFree(pTokenGroups);

Completed in 46 milliseconds