Lines Matching defs:pSessionData
562 PSECURITY_LOGON_SESSION_DATA pSessionData = NULL;
563 NTSTATUS rcNt = LsaGetLogonSessionData(pSession, &pSessionData);
570 if (!IsValidSid(pSessionData->Sid))
572 VBoxServiceError("User SID=%p is not valid\n", pSessionData->Sid);
573 if (pSessionData)
574 LsaFreeReturnBuffer(pSessionData);
594 if (EqualSid(pSessionData->Sid, paProcs[i].pSid))
601 pSessionData->Session, paProcs[i].id, paProcs[i].fInteractive,
618 *puTerminalSession = pSessionData->Session;
620 LsaFreeReturnBuffer(pSessionData);
664 PSECURITY_LOGON_SESSION_DATA pSessionData = NULL;
665 NTSTATUS rcNt = LsaGetLogonSessionData(pSession, &pSessionData);
686 if (pSessionData)
687 LsaFreeReturnBuffer(pSessionData);
690 if (!pSessionData)
697 pSessionData->UserName.Buffer,
698 pSessionData->Session,
699 pSessionData->LogonId.HighPart, pSessionData->LogonId.LowPart,
700 pSessionData->LogonType);
706 if ( pSessionData->Session == 0
708 || pSessionData->LogonTime.QuadPart == 0)
710 LsaFreeReturnBuffer(pSessionData);
721 if ( IsValidSid(pSessionData->Sid)
722 && ( (SECURITY_LOGON_TYPE)pSessionData->LogonType == Interactive
723 || (SECURITY_LOGON_TYPE)pSessionData->LogonType == RemoteInteractive
726 || (SECURITY_LOGON_TYPE)pSessionData->LogonType == CachedInteractive))
729 pSessionData->LogonType);
735 &pSessionData->UserName, "User name");
737 &pSessionData->AuthenticationPackage, "Authentication pkg name");
739 &pSessionData->LogonDomain, "Logon domain name");
747 pSessionData->Sid,
770 pUserInfo->wszUser, pSessionData->Session, pSessionData->LogonId.HighPart,
771 pSessionData->LogonId.LowPart, pUserInfo->wszAuthenticationPackage,
813 pSessionData->Session,
870 pUserInfo->ulLastSession = pSessionData->Session;
872 LsaFreeReturnBuffer(pSessionData);