diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index 91a2177f533..c6747af239d 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -1248,25 +1248,6 @@ LsaQueryInformationPolicy( /****************************************************************************** * LsaLookupSids [ADVAPI32.@] */ -typedef struct -{ - SID_NAME_USE Use; - LSA_UNICODE_STRING Name; - LONG DomainIndex; -} LSA_TRANSLATED_NAME, *PLSA_TRANSLATED_NAME; - -typedef struct -{ - LSA_UNICODE_STRING Name; - PSID Sid; -} LSA_TRUST_INFORMATION, *PLSA_TRUST_INFORMATION; - -typedef struct -{ - ULONG Entries; - PLSA_TRUST_INFORMATION Domains; -} LSA_REFERENCED_DOMAIN_LIST, *PLSA_REFERENCED_DOMAIN_LIST; - NTSTATUS WINAPI LsaLookupSids( IN LSA_HANDLE PolicyHandle, diff --git a/include/ntsecapi.h b/include/ntsecapi.h index 09adf8c0064..9358de1fcc9 100644 --- a/include/ntsecapi.h +++ b/include/ntsecapi.h @@ -120,6 +120,24 @@ typedef struct _POLICY_ACCOUNT_DOMAIN_INFO PSID DomainSid; } POLICY_ACCOUNT_DOMAIN_INFO, *PPOLICY_ACCOUNT_DOMAIN_INFO; +typedef struct +{ + SID_NAME_USE Use; + LSA_UNICODE_STRING Name; + LONG DomainIndex; +} LSA_TRANSLATED_NAME, *PLSA_TRANSLATED_NAME; + +typedef struct +{ + LSA_UNICODE_STRING Name; + PSID Sid; +} LSA_TRUST_INFORMATION, *PLSA_TRUST_INFORMATION; + +typedef struct +{ + ULONG Entries; + PLSA_TRUST_INFORMATION Domains; +} LSA_REFERENCED_DOMAIN_LIST, *PLSA_REFERENCED_DOMAIN_LIST; NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);