Home
last modified time | relevance | path

Searched refs:pSid (Results 1 – 3 of 3) sorted by relevance

/trunk/main/sal/qa/osl/security/
H A Dosl_Security.cxx386 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()
410 if (IsValidSid( pSid) == FALSE) in main()
423 FreeSid( pSid); in main()
424 pSid = (PSID) new WIN_BYTE[cbSid]; 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()
[all …]
/trunk/main/desktop/win32/source/officeloader/
H A Dofficeloader.cxx57 BOOL WINAPI ConvertSidToStringSid( PSID pSid, LPTSTR* StringSid ) in ConvertSidToStringSid() argument
67 if(!IsValidSid(pSid)) return FALSE; in ConvertSidToStringSid()
71 psia = GetSidIdentifierAuthority(pSid); in ConvertSidToStringSid()
75 dwSubAuthorities = *GetSidSubAuthorityCount(pSid); in ConvertSidToStringSid()
116 *GetSidSubAuthority(pSid, dwCounter) ); in ConvertSidToStringSid()
249 PSID pSid = ((PTOKEN_USER)pTokenInfo)->User.Sid; in WinMain() local
253 fSuccess = ConvertSidToStringSid( pSid, &szUserIdent ); in WinMain()
/trunk/main/sal/osl/w32/
H A Dsecurity.c366 PSID pSid = ((PTOKEN_USER)pInfoBuffer)->User.Sid; in osl_getUserIdent() local
374 psia=GetSidIdentifierAuthority(pSid); in osl_getUserIdent()
377 dwSubAuthorities=min(*GetSidSubAuthorityCount(pSid), 5); in osl_getUserIdent()
411 *GetSidSubAuthority(pSid, dwCounter) ); in osl_getUserIdent()

Completed in 24 milliseconds