/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
mdbrole.hxx | 27 WINBOOL ROLDLLEXP ROLEAPI FRoleSid(PSID psid); 28 HRESULT ROLDLLEXP ROLEAPI HrParseRoleSid(PSID psid,long cbNameBuffer,char rgchName[],ULONG *pptagrole,BYTE *prolescope); 29 HRESULT ROLDLLEXP ROLEAPI HrConstructRoleSid(char *szRoleName,BYTE rolescope,ULONG ptagrole,PSID *ppsid); 30 void ROLDLLEXP ROLEAPI FreeRoleSid(PSID psid);
|
aclapi.h | 51 WINADVAPI DWORD WINAPI GetNamedSecurityInfoA(LPSTR pObjectName,SE_OBJECT_TYPE ObjectType,SECURITY_INFORMATION SecurityInfo,PSID *ppsidOwner,PSID *ppsidGroup,PACL *ppDacl,PACL *ppSacl,PSECURITY_DESCRIPTOR *ppSecurityDescriptor); 52 WINADVAPI DWORD WINAPI GetNamedSecurityInfoW(LPWSTR pObjectName,SE_OBJECT_TYPE ObjectType,SECURITY_INFORMATION SecurityInfo,PSID *ppsidOwner,PSID *ppsidGroup,PACL *ppDacl,PACL *ppSacl,PSECURITY_DESCRIPTOR *ppSecurityDescriptor); 53 WINADVAPI DWORD WINAPI GetSecurityInfo(HANDLE handle,SE_OBJECT_TYPE ObjectType,SECURITY_INFORMATION SecurityInfo,PSID *ppsidOwner,PSID *ppsidGroup,PACL *ppDacl,PACL *ppSacl,PSECURITY_DESCRIPTOR *ppSecurityDescriptor); 54 WINADVAPI DWORD WINAPI SetNamedSecurityInfoA(LPSTR pObjectName,SE_OBJECT_TYPE ObjectType,SECURITY_INFORMATION SecurityInfo,PSID psidOwner,PSID psidGroup,PACL pDacl,PACL pSacl); 55 WINADVAPI DWORD WINAPI SetNamedSecurityInfoW(LPWSTR pObjectName,SE_OBJECT_TYPE ObjectType,SECURITY_INFORMATION SecurityInfo,PSID psidOwner,PSID psidGroup,PACL pDacl,PACL pSacl) [all...] |
sddl.h | 128 WINADVAPI WINBOOL WINAPI ConvertSidToStringSidA(PSID Sid,LPSTR *StringSid); 129 WINADVAPI WINBOOL WINAPI ConvertSidToStringSidW(PSID Sid,LPWSTR *StringSid); 130 WINADVAPI WINBOOL WINAPI ConvertStringSidToSidA(LPCSTR StringSid,PSID *Sid); 131 WINADVAPI WINBOOL WINAPI ConvertStringSidToSidW(LPCWSTR StringSid,PSID *Sid);
|
fwpmu.h | 188 PSID *sidOwner, 189 PSID *sidGroup, 228 PSID *sidOwner, 229 PSID *sidGroup, 295 PSID *sidOwner, 296 PSID *sidGroup, 378 PSID *sidOwner, 379 PSID *sidGroup, 417 PSID *sidOwner, 418 PSID *sidGroup [all...] |
ntsecapi.h | 165 PSID Sid; 181 PSID Sid; 222 PSID DomainSid; 227 PSID Sid; 235 PSID Sid; 347 PSID Sid; 356 PSID Sid; 413 PSID Sid; 462 PSID Sid; 476 PSID Sid [all...] |
authz.h | 41 PSID PrincipalSelfSid; 89 AUTHZAPI WINBOOL WINAPI AuthzInitializeContextFromSid(DWORD Flags,PSID UserSid,AUTHZ_RESOURCE_MANAGER_HANDLE hAuthzResourceManager,PLARGE_INTEGER pExpirationTime,LUID Identifier,PVOID DynamicGroupArgs,PAUTHZ_CLIENT_CONTEXT_HANDLE phAuthzClientContext); 123 AUTHZAPI WINBOOL WINAPIV AuthzReportSecurityEvent(DWORD dwFlags,AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE hEventProvider,DWORD dwAuditId,PSID pUserSid,DWORD dwCount,...); 124 AUTHZAPI WINBOOL WINAPI AuthzReportSecurityEventFromParams(DWORD dwFlags,AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE hEventProvider,DWORD dwAuditId,PSID pUserSid,PAUDIT_PARAMS pParams);
|
aclui.h | 104 STDMETHOD(LookupSids) (THIS_ ULONG cSids,PSID *rgpSids,LPDATAOBJECT *ppdo) PURE; 111 PSID pSid; 128 STDMETHOD(GetEffectivePermission) (THIS_ const GUID *pguidObjectType,PSID pUserSid,LPCWSTR pszServerName,PSECURITY_DESCRIPTOR pSD,POBJECT_TYPE_LIST *ppObjectTypeList,ULONG *pcObjectTypeListLength,PACCESS_MASK *ppGrantedAccessList,ULONG *pcGrantedAccessListLength) PURE;
|
dskquota.h | 123 STDMETHOD(AddUserSid)(THIS_ PSID pUserSid,DWORD fNameResolution,PDISKQUOTA_USER *ppUser) PURE; 126 STDMETHOD(FindUserSid)(THIS_ PSID pUserSid,DWORD fNameResolution,PDISKQUOTA_USER *ppUser) PURE; 128 STDMETHOD(CreateEnumUsers)(THIS_ PSID *rgpUserSids,DWORD cpSids,DWORD fNameResolution,PENUM_DISKQUOTA_USERS *ppEnum) PURE;
|
evntcons.h | 128 PSID Sid,
|
lmaccess.h | 126 PSID usri4_user_sid; 207 PSID usri23_user_sid; 306 PSID usrmod2_domain_id; 536 PSID grpi3_group_sid; 579 NET_API_STATUS WINAPI NetLocalGroupAddMember(LPCWSTR servername,LPCWSTR groupname,PSID membersid); 584 NET_API_STATUS WINAPI NetLocalGroupDelMember(LPCWSTR servername,LPCWSTR groupname,PSID membersid); 604 PSID lgrmi0_sid; 608 PSID lgrmi1_sid; 614 PSID lgrmi2_sid; [all...] |
userenv.h | 123 USERENVAPI DWORD WINAPI GetAppliedGPOListA(DWORD dwFlags,LPCSTR pMachineName,PSID pSidUser,GUID *pGuidExtension,PGROUP_POLICY_OBJECTA *ppGPOList); 124 USERENVAPI DWORD WINAPI GetAppliedGPOListW(DWORD dwFlags,LPCWSTR pMachineName,PSID pSidUser,GUID *pGuidExtension,PGROUP_POLICY_OBJECTW *ppGPOList); 176 USERENVAPI HRESULT WINAPI RsopAccessCheckByType(PSECURITY_DESCRIPTOR pSecurityDescriptor,PSID pPrincipalSelfSid,PRSOPTOKEN pRsopToken,DWORD dwDesiredAccessMask,POBJECT_TYPE_LIST pObjectTypeList,DWORD ObjectTypeListLength,PGENERIC_MAPPING pGenericMapping,PPRIVILEGE_SET pPrivilegeSet,LPDWORD pdwPrivilegeSetLength,LPDWORD pdwGrantedAccessMask,LPBOOL pbAccessStatus);
|
dsgetdc.h | 127 PSID DomainSid; 138 PSID DomainSid;
|
winbase.h | [all...] |
wtypes.h | 259 typedef PVOID PSID; 272 PSID Owner; 273 PSID Group;
|
winevt.h | 291 PSID SidVal; 310 PSID *SidArr;
|
wtsapi32.h | 69 PSID pUserSid; 76 PSID pUserSid;
|
ntsecpkg.h | 201 PSID UserSid; 224 PSID DomainSid; 296 PSID pSid; 321 typedef VOID (NTAPI LSA_AUDIT_LOGON)(NTSTATUS Status,NTSTATUS SubStatus,PUNICODE_STRING AccountName,PUNICODE_STRING AuthenticatingAuthority,PUNICODE_STRING WorkstationName,PSID UserSid,SECURITY_LOGON_TYPE LogonType,PTOKEN_SOURCE TokenSource,PLUID LogonId); [all...] |
sspi.h | 801 KSECDDDECLSPEC NTSTATUS WINAPI SecLookupAccountSid(PSID Sid,PULONG NameSize,PUNICODE_STRING NameBuffer,PULONG DomainSize,PUNICODE_STRING DomainBuffer,PSID_NAME_USE NameUse); 802 KSECDDDECLSPEC NTSTATUS WINAPI SecLookupAccountName(PUNICODE_STRING Name,PULONG SidSize,PSID Sid,PSID_NAME_USE NameUse,PULONG DomainSize,PUNICODE_STRING ReferencedDomain); 803 KSECDDDECLSPEC NTSTATUS WINAPI SecLookupWellKnownSid(WELL_KNOWN_SID_TYPE SidType,PSID Sid,ULONG SidBufferSize,PULONG SidSize); [all...] |
winwlx.h | 150 int WINAPI WlxLoggedOutSAS(PVOID pWlxContext,DWORD dwSasType,PLUID pAuthenticationId,PSID pLogonSid,PDWORD pdwOptions,PHANDLE phToken,PWLX_MPR_NOTIFY_INFO pNprNotifyInfo,PVOID *pProfile);
|
/external/lzma/CPP/Windows/ |
SecurityUtils.h | 61 PSID AccountSid, PLSA_UNICODE_STRING UserRights, ULONG CountOfRights );
131 NTSTATUS EnumerateAccountRights(PSID sid, PLSA_UNICODE_STRING* userRights, PULONG countOfRights)
134 NTSTATUS LookupSids(ULONG count, PSID* sids,
138 NTSTATUS AddAccountRights(PSID accountSid, PLSA_UNICODE_STRING userRights, ULONG countOfRights)
156 NTSTATUS AddAccountRights(PSID accountSid, PLSA_UNICODE_STRING userRights)
159 NTSTATUS RemoveAccountRights(PSID accountSid, bool allRights, PLSA_UNICODE_STRING userRights, ULONG countOfRights)
|
SecurityUtils.cpp | 11 bool MyLookupAccountSid(LPCTSTR systemName, PSID sid,
41 static void MyLookupSids(CPolicy &policy, PSID ps)
56 PSID Sid,
64 static PSID GetSid(LPWSTR accountName)
87 PSID pSid = ::HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sidLen);
95 (NULL, accountName, pSid, &sidLen, domainName, &domainLen, &sidNameUse);
98 return pSid;
130 PSID psid = GetSid(userName); 174 HeapFree(GetProcessHeap(), 0, psid); local [all...] |
/external/dbus/dbus/ |
dbus-sysdeps-wince-glue.h | 173 BOOL LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE); 176 BOOL IsValidSid(PSID);
|
dbus-sysdeps-wince-glue.c | 516 LookupAccountNameW (LPCWSTR lpSystemName, LPCWSTR lpAccountName, PSID Sid, PDWORD cbSid, 525 IsValidSid (PSID psid)
|
dbus-sysdeps-win.c | 59 extern BOOL WINAPI ConvertStringSidToSidA (LPCSTR StringSid, PSID *Sid); 60 extern BOOL WINAPI ConvertSidToStringSidA (PSID Sid, LPSTR *StringSid); 699 if (!LookupAccountNameW (NULL, waccount, (PSID) *ppsid, &sid_length, 706 if (!IsValidSid ((PSID) *ppsid)) 753 PSID psid; local 769 psid = token_user->User.Sid; 770 if (!IsValidSid (psid)) 775 if (!ConvertSidToStringSidA (psid, sid)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
ntifs.h | 101 PSID Sid; 408 PSID Owner; 409 PSID Group; 477 PSID PrincipalSelfSid; 612 PSID Owner; 616 PSID PrimaryGroup; 756 PSID SeNullSid; 757 PSID SeWorldSid; 758 PSID SeLocalSid; 759 PSID SeCreatorOwnerSid [all...] |