Lines Matching defs:tokenGroupInfo
447 PTOKEN_PRIMARY_GROUP tokenGroupInfo = NULL;
456 tokenGroupInfo = (PTOKEN_PRIMARY_GROUP)HeapAlloc
460 tokenGroupInfo,
477 getTextualSid(tokenGroupInfo->PrimaryGroup, NULL, &bufSize);
479 getTextualSid(tokenGroupInfo->PrimaryGroup, *primaryGroup, &bufSize);
485 if (tokenGroupInfo != NULL) {
486 HeapFree(GetProcessHeap(), 0, tokenGroupInfo);
501 PTOKEN_GROUPS tokenGroupInfo = NULL;
510 tokenGroupInfo = (PTOKEN_GROUPS)HeapAlloc(GetProcessHeap(), 0, bufSize);
513 tokenGroupInfo,
529 if (tokenGroupInfo->GroupCount == 0) {
535 *numGroups = tokenGroupInfo->GroupCount;
540 getTextualSid(tokenGroupInfo->Groups[i].Sid, NULL, &bufSize);
542 getTextualSid(tokenGroupInfo->Groups[i].Sid, (*groups)[i], &bufSize);
549 if (tokenGroupInfo != NULL) {
550 HeapFree(GetProcessHeap(), 0, tokenGroupInfo);