Lines Matching refs:pSid
386 PSID pSid = (PSID) new WIN_BYTE[dwSidBufferSize]; in main() local
387 EXPECT_TRUE(pSid!= NULL) << "# creating SID buffer failed.\n"; in main()
388 memset( pSid, 0, dwSidBufferSize); in main()
403 pSid, // Pointer to the SID buffer. Use NULL to get the size needed, in main()
410 if (IsValidSid( pSid) == FALSE) in main()
423 FreeSid( pSid); in main()
424 pSid = (PSID) new WIN_BYTE[cbSid]; in main()
425 EXPECT_TRUE(pSid!= NULL) << "# re-creating SID buffer failed.\n"; in main()
426 memset( pSid, 0, cbSid); in main()
456 psia=GetSidIdentifierAuthority(pSid); in main()
459 dwSubAuthorities=*GetSidSubAuthorityCount(pSid)<=5?*GetSidSubAuthorityCount(pSid):5; in main()
493 *GetSidSubAuthority(pSid, dwCounter) ); in main()
499 delete pSid; in main()