mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[LSASRV]
- Change the calling convention of all LSA-RPC function to stdcall. - Export some of the LSA-RPC functions. svn path=/trunk/; revision=49165
This commit is contained in:
parent
b560e7a480
commit
ab14f413c9
3 changed files with 209 additions and 209 deletions
|
@ -144,7 +144,7 @@ void __RPC_USER LSAPR_HANDLE_rundown(LSAPR_HANDLE hHandle)
|
||||||
|
|
||||||
|
|
||||||
/* Function 0 */
|
/* Function 0 */
|
||||||
NTSTATUS LsarClose(
|
NTSTATUS WINAPI LsarClose(
|
||||||
LSAPR_HANDLE *ObjectHandle)
|
LSAPR_HANDLE *ObjectHandle)
|
||||||
{
|
{
|
||||||
NTSTATUS Status = STATUS_SUCCESS;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
|
@ -170,7 +170,7 @@ NTSTATUS LsarClose(
|
||||||
|
|
||||||
|
|
||||||
/* Function 1 */
|
/* Function 1 */
|
||||||
NTSTATUS LsarDelete(
|
NTSTATUS WINAPI LsarDelete(
|
||||||
LSAPR_HANDLE ObjectHandle)
|
LSAPR_HANDLE ObjectHandle)
|
||||||
{
|
{
|
||||||
/* Deprecated */
|
/* Deprecated */
|
||||||
|
@ -179,7 +179,7 @@ NTSTATUS LsarDelete(
|
||||||
|
|
||||||
|
|
||||||
/* Function 2 */
|
/* Function 2 */
|
||||||
NTSTATUS LsarEnumeratePrivileges(
|
NTSTATUS WINAPI LsarEnumeratePrivileges(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
DWORD *EnumerationContext,
|
DWORD *EnumerationContext,
|
||||||
PLSAPR_PRIVILEGE_ENUM_BUFFER EnumerationBuffer,
|
PLSAPR_PRIVILEGE_ENUM_BUFFER EnumerationBuffer,
|
||||||
|
@ -191,7 +191,7 @@ NTSTATUS LsarEnumeratePrivileges(
|
||||||
|
|
||||||
|
|
||||||
/* Function 3 */
|
/* Function 3 */
|
||||||
NTSTATUS LsarQuerySecurityObject(
|
NTSTATUS WINAPI LsarQuerySecurityObject(
|
||||||
LSAPR_HANDLE ObjectHandle,
|
LSAPR_HANDLE ObjectHandle,
|
||||||
SECURITY_INFORMATION SecurityInformation,
|
SECURITY_INFORMATION SecurityInformation,
|
||||||
PLSAPR_SR_SECURITY_DESCRIPTOR *SecurityDescriptor)
|
PLSAPR_SR_SECURITY_DESCRIPTOR *SecurityDescriptor)
|
||||||
|
@ -202,7 +202,7 @@ NTSTATUS LsarQuerySecurityObject(
|
||||||
|
|
||||||
|
|
||||||
/* Function 4 */
|
/* Function 4 */
|
||||||
NTSTATUS LsarSetSecurityObject(
|
NTSTATUS WINAPI LsarSetSecurityObject(
|
||||||
LSAPR_HANDLE ObjectHandle,
|
LSAPR_HANDLE ObjectHandle,
|
||||||
SECURITY_INFORMATION SecurityInformation,
|
SECURITY_INFORMATION SecurityInformation,
|
||||||
PLSAPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor)
|
PLSAPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor)
|
||||||
|
@ -213,7 +213,7 @@ NTSTATUS LsarSetSecurityObject(
|
||||||
|
|
||||||
|
|
||||||
/* Function 5 */
|
/* Function 5 */
|
||||||
NTSTATUS LsarChangePassword(
|
NTSTATUS WINAPI LsarChangePassword(
|
||||||
handle_t IDL_handle,
|
handle_t IDL_handle,
|
||||||
PRPC_UNICODE_STRING String1,
|
PRPC_UNICODE_STRING String1,
|
||||||
PRPC_UNICODE_STRING String2,
|
PRPC_UNICODE_STRING String2,
|
||||||
|
@ -227,7 +227,7 @@ NTSTATUS LsarChangePassword(
|
||||||
|
|
||||||
|
|
||||||
/* Function 6 */
|
/* Function 6 */
|
||||||
NTSTATUS LsarOpenPolicy(
|
NTSTATUS WINAPI LsarOpenPolicy(
|
||||||
LPWSTR SystemName,
|
LPWSTR SystemName,
|
||||||
PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
|
PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
|
||||||
ACCESS_MASK DesiredAccess,
|
ACCESS_MASK DesiredAccess,
|
||||||
|
@ -253,7 +253,7 @@ NTSTATUS LsarOpenPolicy(
|
||||||
|
|
||||||
|
|
||||||
/* Function 7 */
|
/* Function 7 */
|
||||||
NTSTATUS LsarQueryInformationPolicy(
|
NTSTATUS WINAPI LsarQueryInformationPolicy(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
POLICY_INFORMATION_CLASS InformationClass,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
PLSAPR_POLICY_INFORMATION *PolicyInformation)
|
PLSAPR_POLICY_INFORMATION *PolicyInformation)
|
||||||
|
@ -404,7 +404,7 @@ NTSTATUS LsarQueryInformationPolicy(
|
||||||
|
|
||||||
|
|
||||||
/* Function 8 */
|
/* Function 8 */
|
||||||
NTSTATUS LsarSetInformationPolicy(
|
NTSTATUS WINAPI LsarSetInformationPolicy(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
POLICY_INFORMATION_CLASS InformationClass,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
PLSAPR_POLICY_INFORMATION PolicyInformation)
|
PLSAPR_POLICY_INFORMATION PolicyInformation)
|
||||||
|
@ -415,7 +415,7 @@ NTSTATUS LsarSetInformationPolicy(
|
||||||
|
|
||||||
|
|
||||||
/* Function 9 */
|
/* Function 9 */
|
||||||
NTSTATUS LsarClearAuditLog(
|
NTSTATUS WINAPI LsarClearAuditLog(
|
||||||
LSAPR_HANDLE ObjectHandle)
|
LSAPR_HANDLE ObjectHandle)
|
||||||
{
|
{
|
||||||
/* Deprecated */
|
/* Deprecated */
|
||||||
|
@ -424,7 +424,7 @@ NTSTATUS LsarClearAuditLog(
|
||||||
|
|
||||||
|
|
||||||
/* Function 10 */
|
/* Function 10 */
|
||||||
NTSTATUS LsarCreateAccount(
|
NTSTATUS WINAPI LsarCreateAccount(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_SID AccountSid,
|
PRPC_SID AccountSid,
|
||||||
ACCESS_MASK DesiredAccess,
|
ACCESS_MASK DesiredAccess,
|
||||||
|
@ -436,7 +436,7 @@ NTSTATUS LsarCreateAccount(
|
||||||
|
|
||||||
|
|
||||||
/* Function 11 */
|
/* Function 11 */
|
||||||
NTSTATUS LsarEnumerateAccounts(
|
NTSTATUS WINAPI LsarEnumerateAccounts(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
DWORD *EnumerationContext,
|
DWORD *EnumerationContext,
|
||||||
PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer,
|
PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer,
|
||||||
|
@ -448,7 +448,7 @@ NTSTATUS LsarEnumerateAccounts(
|
||||||
|
|
||||||
|
|
||||||
/* Function 12 */
|
/* Function 12 */
|
||||||
NTSTATUS LsarCreateTrustedDomain(
|
NTSTATUS WINAPI LsarCreateTrustedDomain(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PLSAPR_TRUST_INFORMATION TrustedDomainInformation,
|
PLSAPR_TRUST_INFORMATION TrustedDomainInformation,
|
||||||
ACCESS_MASK DesiredAccess,
|
ACCESS_MASK DesiredAccess,
|
||||||
|
@ -460,7 +460,7 @@ NTSTATUS LsarCreateTrustedDomain(
|
||||||
|
|
||||||
|
|
||||||
/* Function 13 */
|
/* Function 13 */
|
||||||
NTSTATUS LsarEnumerateTrustedDomains(
|
NTSTATUS WINAPI LsarEnumerateTrustedDomains(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
DWORD *EnumerationContext,
|
DWORD *EnumerationContext,
|
||||||
PLSAPR_TRUSTED_ENUM_BUFFER EnumerationBuffer,
|
PLSAPR_TRUSTED_ENUM_BUFFER EnumerationBuffer,
|
||||||
|
@ -472,7 +472,7 @@ NTSTATUS LsarEnumerateTrustedDomains(
|
||||||
|
|
||||||
|
|
||||||
/* Function 14 */
|
/* Function 14 */
|
||||||
NTSTATUS LsarLookupNames(
|
NTSTATUS WINAPI LsarLookupNames(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
DWORD Count,
|
DWORD Count,
|
||||||
PRPC_UNICODE_STRING Names,
|
PRPC_UNICODE_STRING Names,
|
||||||
|
@ -570,7 +570,7 @@ NTSTATUS LsarLookupNames(
|
||||||
|
|
||||||
|
|
||||||
/* Function 15 */
|
/* Function 15 */
|
||||||
NTSTATUS LsarLookupSids(
|
NTSTATUS WINAPI LsarLookupSids(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
||||||
PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
||||||
|
@ -663,7 +663,7 @@ NTSTATUS LsarLookupSids(
|
||||||
|
|
||||||
|
|
||||||
/* Function 16 */
|
/* Function 16 */
|
||||||
NTSTATUS LsarCreateSecret(
|
NTSTATUS WINAPI LsarCreateSecret(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_UNICODE_STRING SecretName,
|
PRPC_UNICODE_STRING SecretName,
|
||||||
ACCESS_MASK DesiredAccess,
|
ACCESS_MASK DesiredAccess,
|
||||||
|
@ -675,7 +675,7 @@ NTSTATUS LsarCreateSecret(
|
||||||
|
|
||||||
|
|
||||||
/* Function 17 */
|
/* Function 17 */
|
||||||
NTSTATUS LsarOpenAccount(
|
NTSTATUS WINAPI LsarOpenAccount(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_SID AccountSid,
|
PRPC_SID AccountSid,
|
||||||
ACCESS_MASK DesiredAccess,
|
ACCESS_MASK DesiredAccess,
|
||||||
|
@ -687,7 +687,7 @@ NTSTATUS LsarOpenAccount(
|
||||||
|
|
||||||
|
|
||||||
/* Function 18 */
|
/* Function 18 */
|
||||||
NTSTATUS LsarEnumeratePrivilegesAccount(
|
NTSTATUS WINAPI LsarEnumeratePrivilegesAccount(
|
||||||
LSAPR_HANDLE AccountHandle,
|
LSAPR_HANDLE AccountHandle,
|
||||||
PLSAPR_PRIVILEGE_SET *Privileges)
|
PLSAPR_PRIVILEGE_SET *Privileges)
|
||||||
{
|
{
|
||||||
|
@ -697,7 +697,7 @@ NTSTATUS LsarEnumeratePrivilegesAccount(
|
||||||
|
|
||||||
|
|
||||||
/* Function 19 */
|
/* Function 19 */
|
||||||
NTSTATUS LsarAddPrivilegesToAccount(
|
NTSTATUS WINAPI LsarAddPrivilegesToAccount(
|
||||||
LSAPR_HANDLE AccountHandle,
|
LSAPR_HANDLE AccountHandle,
|
||||||
PLSAPR_PRIVILEGE_SET Privileges)
|
PLSAPR_PRIVILEGE_SET Privileges)
|
||||||
{
|
{
|
||||||
|
@ -707,7 +707,7 @@ NTSTATUS LsarAddPrivilegesToAccount(
|
||||||
|
|
||||||
|
|
||||||
/* Function 20 */
|
/* Function 20 */
|
||||||
NTSTATUS LsarRemovePrivilegesFromAccount(
|
NTSTATUS WINAPI LsarRemovePrivilegesFromAccount(
|
||||||
LSAPR_HANDLE AccountHandle,
|
LSAPR_HANDLE AccountHandle,
|
||||||
BOOL AllPrivileges,
|
BOOL AllPrivileges,
|
||||||
PLSAPR_PRIVILEGE_SET Privileges)
|
PLSAPR_PRIVILEGE_SET Privileges)
|
||||||
|
@ -718,7 +718,7 @@ NTSTATUS LsarRemovePrivilegesFromAccount(
|
||||||
|
|
||||||
|
|
||||||
/* Function 21 */
|
/* Function 21 */
|
||||||
NTSTATUS LsarGetQuotasForAccount(
|
NTSTATUS WINAPI LsarGetQuotasForAccount(
|
||||||
LSAPR_HANDLE AccountHandle,
|
LSAPR_HANDLE AccountHandle,
|
||||||
PQUOTA_LIMITS QuotaLimits)
|
PQUOTA_LIMITS QuotaLimits)
|
||||||
{
|
{
|
||||||
|
@ -728,7 +728,7 @@ NTSTATUS LsarGetQuotasForAccount(
|
||||||
|
|
||||||
|
|
||||||
/* Function 22 */
|
/* Function 22 */
|
||||||
NTSTATUS LsarSetQuotasForAccount(
|
NTSTATUS WINAPI LsarSetQuotasForAccount(
|
||||||
LSAPR_HANDLE AccountHandle,
|
LSAPR_HANDLE AccountHandle,
|
||||||
PQUOTA_LIMITS QuotaLimits)
|
PQUOTA_LIMITS QuotaLimits)
|
||||||
{
|
{
|
||||||
|
@ -738,7 +738,7 @@ NTSTATUS LsarSetQuotasForAccount(
|
||||||
|
|
||||||
|
|
||||||
/* Function 23 */
|
/* Function 23 */
|
||||||
NTSTATUS LsarGetSystemAccessAccount(
|
NTSTATUS WINAPI LsarGetSystemAccessAccount(
|
||||||
LSAPR_HANDLE AccountHandle,
|
LSAPR_HANDLE AccountHandle,
|
||||||
ACCESS_MASK *SystemAccess)
|
ACCESS_MASK *SystemAccess)
|
||||||
{
|
{
|
||||||
|
@ -748,7 +748,7 @@ NTSTATUS LsarGetSystemAccessAccount(
|
||||||
|
|
||||||
|
|
||||||
/* Function 24 */
|
/* Function 24 */
|
||||||
NTSTATUS LsarSetSystemAccessAccount(
|
NTSTATUS WINAPI LsarSetSystemAccessAccount(
|
||||||
LSAPR_HANDLE AccountHandle,
|
LSAPR_HANDLE AccountHandle,
|
||||||
ACCESS_MASK SystemAccess)
|
ACCESS_MASK SystemAccess)
|
||||||
{
|
{
|
||||||
|
@ -758,7 +758,7 @@ NTSTATUS LsarSetSystemAccessAccount(
|
||||||
|
|
||||||
|
|
||||||
/* Function 25 */
|
/* Function 25 */
|
||||||
NTSTATUS LsarOpenTrustedDomain(
|
NTSTATUS WINAPI LsarOpenTrustedDomain(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_SID TrustedDomainSid,
|
PRPC_SID TrustedDomainSid,
|
||||||
ACCESS_MASK DesiredAccess,
|
ACCESS_MASK DesiredAccess,
|
||||||
|
@ -770,7 +770,7 @@ NTSTATUS LsarOpenTrustedDomain(
|
||||||
|
|
||||||
|
|
||||||
/* Function 26 */
|
/* Function 26 */
|
||||||
NTSTATUS LsarQueryInfoTrustedDomain(
|
NTSTATUS WINAPI LsarQueryInfoTrustedDomain(
|
||||||
LSAPR_HANDLE TrustedDomainHandle,
|
LSAPR_HANDLE TrustedDomainHandle,
|
||||||
TRUSTED_INFORMATION_CLASS InformationClass,
|
TRUSTED_INFORMATION_CLASS InformationClass,
|
||||||
PLSAPR_TRUSTED_DOMAIN_INFO *TrustedDomainInformation)
|
PLSAPR_TRUSTED_DOMAIN_INFO *TrustedDomainInformation)
|
||||||
|
@ -781,7 +781,7 @@ NTSTATUS LsarQueryInfoTrustedDomain(
|
||||||
|
|
||||||
|
|
||||||
/* Function 27 */
|
/* Function 27 */
|
||||||
NTSTATUS LsarSetInformationTrustedDomain(
|
NTSTATUS WINAPI LsarSetInformationTrustedDomain(
|
||||||
LSAPR_HANDLE TrustedDomainHandle,
|
LSAPR_HANDLE TrustedDomainHandle,
|
||||||
TRUSTED_INFORMATION_CLASS InformationClass,
|
TRUSTED_INFORMATION_CLASS InformationClass,
|
||||||
PLSAPR_TRUSTED_DOMAIN_INFO TrustedDomainInformation)
|
PLSAPR_TRUSTED_DOMAIN_INFO TrustedDomainInformation)
|
||||||
|
@ -792,7 +792,7 @@ NTSTATUS LsarSetInformationTrustedDomain(
|
||||||
|
|
||||||
|
|
||||||
/* Function 28 */
|
/* Function 28 */
|
||||||
NTSTATUS LsarOpenSecret(
|
NTSTATUS WINAPI LsarOpenSecret(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_UNICODE_STRING SecretName,
|
PRPC_UNICODE_STRING SecretName,
|
||||||
ACCESS_MASK DesiredAccess,
|
ACCESS_MASK DesiredAccess,
|
||||||
|
@ -804,7 +804,7 @@ NTSTATUS LsarOpenSecret(
|
||||||
|
|
||||||
|
|
||||||
/* Function 29 */
|
/* Function 29 */
|
||||||
NTSTATUS LsarSetSecret(
|
NTSTATUS WINAPI LsarSetSecret(
|
||||||
LSAPR_HANDLE *SecretHandle,
|
LSAPR_HANDLE *SecretHandle,
|
||||||
PLSAPR_CR_CIPHER_VALUE EncryptedCurrentValue,
|
PLSAPR_CR_CIPHER_VALUE EncryptedCurrentValue,
|
||||||
PLSAPR_CR_CIPHER_VALUE EncryptedOldValue)
|
PLSAPR_CR_CIPHER_VALUE EncryptedOldValue)
|
||||||
|
@ -815,7 +815,7 @@ NTSTATUS LsarSetSecret(
|
||||||
|
|
||||||
|
|
||||||
/* Function 30 */
|
/* Function 30 */
|
||||||
NTSTATUS LsarQuerySecret(
|
NTSTATUS WINAPI LsarQuerySecret(
|
||||||
LSAPR_HANDLE SecretHandle,
|
LSAPR_HANDLE SecretHandle,
|
||||||
PLSAPR_CR_CIPHER_VALUE *EncryptedCurrentValue,
|
PLSAPR_CR_CIPHER_VALUE *EncryptedCurrentValue,
|
||||||
PLARGE_INTEGER CurrentValueSetTime,
|
PLARGE_INTEGER CurrentValueSetTime,
|
||||||
|
@ -828,7 +828,7 @@ NTSTATUS LsarQuerySecret(
|
||||||
|
|
||||||
|
|
||||||
/* Function 31 */
|
/* Function 31 */
|
||||||
NTSTATUS LsarLookupPrivilegeValue(
|
NTSTATUS WINAPI LsarLookupPrivilegeValue(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_UNICODE_STRING Name,
|
PRPC_UNICODE_STRING Name,
|
||||||
PLUID Value)
|
PLUID Value)
|
||||||
|
@ -857,7 +857,7 @@ NTSTATUS LsarLookupPrivilegeValue(
|
||||||
|
|
||||||
|
|
||||||
/* Function 32 */
|
/* Function 32 */
|
||||||
NTSTATUS LsarLookupPrivilegeName(
|
NTSTATUS WINAPI LsarLookupPrivilegeName(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PLUID Value,
|
PLUID Value,
|
||||||
PRPC_UNICODE_STRING *Name)
|
PRPC_UNICODE_STRING *Name)
|
||||||
|
@ -883,7 +883,7 @@ NTSTATUS LsarLookupPrivilegeName(
|
||||||
|
|
||||||
|
|
||||||
/* Function 33 */
|
/* Function 33 */
|
||||||
NTSTATUS LsarLookupPrivilegeDisplayName(
|
NTSTATUS WINAPI LsarLookupPrivilegeDisplayName(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_UNICODE_STRING Name,
|
PRPC_UNICODE_STRING Name,
|
||||||
USHORT ClientLanguage,
|
USHORT ClientLanguage,
|
||||||
|
@ -897,7 +897,7 @@ NTSTATUS LsarLookupPrivilegeDisplayName(
|
||||||
|
|
||||||
|
|
||||||
/* Function 34 */
|
/* Function 34 */
|
||||||
NTSTATUS LsarDeleteObject(
|
NTSTATUS WINAPI LsarDeleteObject(
|
||||||
LSAPR_HANDLE *ObjectHandle)
|
LSAPR_HANDLE *ObjectHandle)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -906,7 +906,7 @@ NTSTATUS LsarDeleteObject(
|
||||||
|
|
||||||
|
|
||||||
/* Function 35 */
|
/* Function 35 */
|
||||||
NTSTATUS LsarEnumerateAccountsWithUserRight(
|
NTSTATUS WINAPI LsarEnumerateAccountsWithUserRight(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_UNICODE_STRING UserRight,
|
PRPC_UNICODE_STRING UserRight,
|
||||||
PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer)
|
PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer)
|
||||||
|
@ -917,7 +917,7 @@ NTSTATUS LsarEnumerateAccountsWithUserRight(
|
||||||
|
|
||||||
|
|
||||||
/* Function 36 */
|
/* Function 36 */
|
||||||
NTSTATUS LsarEnmuerateAccountRights(
|
NTSTATUS WINAPI LsarEnmuerateAccountRights(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_SID AccountSid,
|
PRPC_SID AccountSid,
|
||||||
PLSAPR_USER_RIGHT_SET UserRights)
|
PLSAPR_USER_RIGHT_SET UserRights)
|
||||||
|
@ -939,7 +939,7 @@ NTSTATUS LsarEnmuerateAccountRights(
|
||||||
|
|
||||||
|
|
||||||
/* Function 37 */
|
/* Function 37 */
|
||||||
NTSTATUS LsarAddAccountRights(
|
NTSTATUS WINAPI LsarAddAccountRights(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_SID AccountSid,
|
PRPC_SID AccountSid,
|
||||||
PLSAPR_USER_RIGHT_SET UserRights)
|
PLSAPR_USER_RIGHT_SET UserRights)
|
||||||
|
@ -950,7 +950,7 @@ NTSTATUS LsarAddAccountRights(
|
||||||
|
|
||||||
|
|
||||||
/* Function 38 */
|
/* Function 38 */
|
||||||
NTSTATUS LsarRemoveAccountRights(
|
NTSTATUS WINAPI LsarRemoveAccountRights(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_SID AccountSid,
|
PRPC_SID AccountSid,
|
||||||
BOOL AllRights,
|
BOOL AllRights,
|
||||||
|
@ -962,7 +962,7 @@ NTSTATUS LsarRemoveAccountRights(
|
||||||
|
|
||||||
|
|
||||||
/* Function 39 */
|
/* Function 39 */
|
||||||
NTSTATUS LsarQueryTrustedDomainInfo(
|
NTSTATUS WINAPI LsarQueryTrustedDomainInfo(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_SID TrustedDomainSid,
|
PRPC_SID TrustedDomainSid,
|
||||||
TRUSTED_INFORMATION_CLASS InformationClass,
|
TRUSTED_INFORMATION_CLASS InformationClass,
|
||||||
|
@ -974,7 +974,7 @@ NTSTATUS LsarQueryTrustedDomainInfo(
|
||||||
|
|
||||||
|
|
||||||
/* Function 40 */
|
/* Function 40 */
|
||||||
NTSTATUS LsarSetTrustedDomainInfo(
|
NTSTATUS WINAPI LsarSetTrustedDomainInfo(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_SID TrustedDomainSid,
|
PRPC_SID TrustedDomainSid,
|
||||||
TRUSTED_INFORMATION_CLASS InformationClass,
|
TRUSTED_INFORMATION_CLASS InformationClass,
|
||||||
|
@ -986,7 +986,7 @@ NTSTATUS LsarSetTrustedDomainInfo(
|
||||||
|
|
||||||
|
|
||||||
/* Function 41 */
|
/* Function 41 */
|
||||||
NTSTATUS LsarDeleteTrustedDomain(
|
NTSTATUS WINAPI LsarDeleteTrustedDomain(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_SID TrustedDomainSid)
|
PRPC_SID TrustedDomainSid)
|
||||||
{
|
{
|
||||||
|
@ -996,7 +996,7 @@ NTSTATUS LsarDeleteTrustedDomain(
|
||||||
|
|
||||||
|
|
||||||
/* Function 42 */
|
/* Function 42 */
|
||||||
NTSTATUS LsarStorePrivateData(
|
NTSTATUS WINAPI LsarStorePrivateData(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_UNICODE_STRING KeyName,
|
PRPC_UNICODE_STRING KeyName,
|
||||||
PLSAPR_CR_CIPHER_VALUE EncryptedData)
|
PLSAPR_CR_CIPHER_VALUE EncryptedData)
|
||||||
|
@ -1007,7 +1007,7 @@ NTSTATUS LsarStorePrivateData(
|
||||||
|
|
||||||
|
|
||||||
/* Function 43 */
|
/* Function 43 */
|
||||||
NTSTATUS LsarRetrievePrivateData(
|
NTSTATUS WINAPI LsarRetrievePrivateData(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_UNICODE_STRING KeyName,
|
PRPC_UNICODE_STRING KeyName,
|
||||||
PLSAPR_CR_CIPHER_VALUE *EncryptedData)
|
PLSAPR_CR_CIPHER_VALUE *EncryptedData)
|
||||||
|
@ -1018,7 +1018,7 @@ NTSTATUS LsarRetrievePrivateData(
|
||||||
|
|
||||||
|
|
||||||
/* Function 44 */
|
/* Function 44 */
|
||||||
NTSTATUS LsarOpenPolicy2(
|
NTSTATUS WINAPI LsarOpenPolicy2(
|
||||||
LPWSTR SystemName,
|
LPWSTR SystemName,
|
||||||
PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
|
PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
|
||||||
ACCESS_MASK DesiredAccess,
|
ACCESS_MASK DesiredAccess,
|
||||||
|
@ -1030,7 +1030,7 @@ NTSTATUS LsarOpenPolicy2(
|
||||||
|
|
||||||
|
|
||||||
/* Function 45 */
|
/* Function 45 */
|
||||||
NTSTATUS LsarGetUserName(
|
NTSTATUS WINAPI LsarGetUserName(
|
||||||
LPWSTR SystemName,
|
LPWSTR SystemName,
|
||||||
PRPC_UNICODE_STRING *UserName,
|
PRPC_UNICODE_STRING *UserName,
|
||||||
PRPC_UNICODE_STRING *DomainName)
|
PRPC_UNICODE_STRING *DomainName)
|
||||||
|
@ -1041,7 +1041,7 @@ NTSTATUS LsarGetUserName(
|
||||||
|
|
||||||
|
|
||||||
/* Function 46 */
|
/* Function 46 */
|
||||||
NTSTATUS LsarQueryInformationPolicy2(
|
NTSTATUS WINAPI LsarQueryInformationPolicy2(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
POLICY_INFORMATION_CLASS InformationClass,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
unsigned long *PolicyInformation)
|
unsigned long *PolicyInformation)
|
||||||
|
@ -1052,7 +1052,7 @@ NTSTATUS LsarQueryInformationPolicy2(
|
||||||
|
|
||||||
|
|
||||||
/* Function 47 */
|
/* Function 47 */
|
||||||
NTSTATUS LsarSetInformationPolicy2(
|
NTSTATUS WINAPI LsarSetInformationPolicy2(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
POLICY_INFORMATION_CLASS InformationClass,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
unsigned long PolicyInformation)
|
unsigned long PolicyInformation)
|
||||||
|
@ -1063,7 +1063,7 @@ NTSTATUS LsarSetInformationPolicy2(
|
||||||
|
|
||||||
|
|
||||||
/* Function 48 */
|
/* Function 48 */
|
||||||
NTSTATUS LsarQueryTrustedDomainInfoByName(
|
NTSTATUS WINAPI LsarQueryTrustedDomainInfoByName(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_UNICODE_STRING TrustedDomainName,
|
PRPC_UNICODE_STRING TrustedDomainName,
|
||||||
POLICY_INFORMATION_CLASS InformationClass,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
|
@ -1075,7 +1075,7 @@ NTSTATUS LsarQueryTrustedDomainInfoByName(
|
||||||
|
|
||||||
|
|
||||||
/* Function 49 */
|
/* Function 49 */
|
||||||
NTSTATUS LsarSetTrustedDomainInfoByName(
|
NTSTATUS WINAPI LsarSetTrustedDomainInfoByName(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_UNICODE_STRING TrustedDomainName,
|
PRPC_UNICODE_STRING TrustedDomainName,
|
||||||
POLICY_INFORMATION_CLASS InformationClass,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
|
@ -1087,7 +1087,7 @@ NTSTATUS LsarSetTrustedDomainInfoByName(
|
||||||
|
|
||||||
|
|
||||||
/* Function 50 */
|
/* Function 50 */
|
||||||
NTSTATUS LsarEnumerateTrustedDomainsEx(
|
NTSTATUS WINAPI LsarEnumerateTrustedDomainsEx(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
DWORD *EnumerationContext,
|
DWORD *EnumerationContext,
|
||||||
PLSAPR_TRUSTED_ENUM_BUFFER_EX EnumerationBuffer,
|
PLSAPR_TRUSTED_ENUM_BUFFER_EX EnumerationBuffer,
|
||||||
|
@ -1099,7 +1099,7 @@ NTSTATUS LsarEnumerateTrustedDomainsEx(
|
||||||
|
|
||||||
|
|
||||||
/* Function 51 */
|
/* Function 51 */
|
||||||
NTSTATUS LsarCreateTrustedDomainEx(
|
NTSTATUS WINAPI LsarCreateTrustedDomainEx(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
|
PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
|
||||||
PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION AuthentificationInformation,
|
PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION AuthentificationInformation,
|
||||||
|
@ -1112,7 +1112,7 @@ NTSTATUS LsarCreateTrustedDomainEx(
|
||||||
|
|
||||||
|
|
||||||
/* Function 52 */
|
/* Function 52 */
|
||||||
NTSTATUS LsarSetPolicyReplicationHandle(
|
NTSTATUS WINAPI LsarSetPolicyReplicationHandle(
|
||||||
PLSAPR_HANDLE PolicyHandle)
|
PLSAPR_HANDLE PolicyHandle)
|
||||||
{
|
{
|
||||||
/* Deprecated */
|
/* Deprecated */
|
||||||
|
@ -1121,7 +1121,7 @@ NTSTATUS LsarSetPolicyReplicationHandle(
|
||||||
|
|
||||||
|
|
||||||
/* Function 53 */
|
/* Function 53 */
|
||||||
NTSTATUS LsarQueryDomainInformationPolicy(
|
NTSTATUS WINAPI LsarQueryDomainInformationPolicy(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
POLICY_INFORMATION_CLASS InformationClass,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
unsigned long *PolicyInformation)
|
unsigned long *PolicyInformation)
|
||||||
|
@ -1132,7 +1132,7 @@ NTSTATUS LsarQueryDomainInformationPolicy(
|
||||||
|
|
||||||
|
|
||||||
/* Function 54 */
|
/* Function 54 */
|
||||||
NTSTATUS LsarSetDomainInformationPolicy(
|
NTSTATUS WINAPI LsarSetDomainInformationPolicy(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
POLICY_INFORMATION_CLASS InformationClass,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
unsigned long PolicyInformation)
|
unsigned long PolicyInformation)
|
||||||
|
@ -1143,7 +1143,7 @@ NTSTATUS LsarSetDomainInformationPolicy(
|
||||||
|
|
||||||
|
|
||||||
/* Function 55 */
|
/* Function 55 */
|
||||||
NTSTATUS LsarOpenTrustedDomainByName(
|
NTSTATUS WINAPI LsarOpenTrustedDomainByName(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PRPC_UNICODE_STRING TrustedDomainName,
|
PRPC_UNICODE_STRING TrustedDomainName,
|
||||||
ACCESS_MASK DesiredAccess,
|
ACCESS_MASK DesiredAccess,
|
||||||
|
@ -1155,7 +1155,7 @@ NTSTATUS LsarOpenTrustedDomainByName(
|
||||||
|
|
||||||
|
|
||||||
/* Function 56 */
|
/* Function 56 */
|
||||||
NTSTATUS LsarTestCall(
|
NTSTATUS WINAPI LsarTestCall(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1164,7 +1164,7 @@ NTSTATUS LsarTestCall(
|
||||||
|
|
||||||
|
|
||||||
/* Function 57 */
|
/* Function 57 */
|
||||||
NTSTATUS LsarLookupSids2(
|
NTSTATUS WINAPI LsarLookupSids2(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
||||||
PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
||||||
|
@ -1180,7 +1180,7 @@ NTSTATUS LsarLookupSids2(
|
||||||
|
|
||||||
|
|
||||||
/* Function 58 */
|
/* Function 58 */
|
||||||
NTSTATUS LsarLookupNames2(
|
NTSTATUS WINAPI LsarLookupNames2(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
DWORD Count,
|
DWORD Count,
|
||||||
PRPC_UNICODE_STRING Names,
|
PRPC_UNICODE_STRING Names,
|
||||||
|
@ -1197,7 +1197,7 @@ NTSTATUS LsarLookupNames2(
|
||||||
|
|
||||||
|
|
||||||
/* Function 59 */
|
/* Function 59 */
|
||||||
NTSTATUS LsarCreateTrustedDomainEx2(
|
NTSTATUS WINAPI LsarCreateTrustedDomainEx2(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
|
PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
|
||||||
PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION_INTERNAL AuthentificationInformation,
|
PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION_INTERNAL AuthentificationInformation,
|
||||||
|
@ -1210,7 +1210,7 @@ NTSTATUS LsarCreateTrustedDomainEx2(
|
||||||
|
|
||||||
|
|
||||||
/* Function 60 */
|
/* Function 60 */
|
||||||
NTSTATUS CredrWrite(
|
NTSTATUS WINAPI CredrWrite(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1219,7 +1219,7 @@ NTSTATUS CredrWrite(
|
||||||
|
|
||||||
|
|
||||||
/* Function 61 */
|
/* Function 61 */
|
||||||
NTSTATUS CredrRead(
|
NTSTATUS WINAPI CredrRead(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1228,7 +1228,7 @@ NTSTATUS CredrRead(
|
||||||
|
|
||||||
|
|
||||||
/* Function 62 */
|
/* Function 62 */
|
||||||
NTSTATUS CredrEnumerate(
|
NTSTATUS WINAPI CredrEnumerate(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1237,7 +1237,7 @@ NTSTATUS CredrEnumerate(
|
||||||
|
|
||||||
|
|
||||||
/* Function 63 */
|
/* Function 63 */
|
||||||
NTSTATUS CredrWriteDomainCredentials(
|
NTSTATUS WINAPI CredrWriteDomainCredentials(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1246,7 +1246,7 @@ NTSTATUS CredrWriteDomainCredentials(
|
||||||
|
|
||||||
|
|
||||||
/* Function 64 */
|
/* Function 64 */
|
||||||
NTSTATUS CredrReadDomainCredentials(
|
NTSTATUS WINAPI CredrReadDomainCredentials(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1255,7 +1255,7 @@ NTSTATUS CredrReadDomainCredentials(
|
||||||
|
|
||||||
|
|
||||||
/* Function 65 */
|
/* Function 65 */
|
||||||
NTSTATUS CredrDelete(
|
NTSTATUS WINAPI CredrDelete(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1264,7 +1264,7 @@ NTSTATUS CredrDelete(
|
||||||
|
|
||||||
|
|
||||||
/* Function 66 */
|
/* Function 66 */
|
||||||
NTSTATUS CredrGetTargetInfo(
|
NTSTATUS WINAPI CredrGetTargetInfo(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1273,7 +1273,7 @@ NTSTATUS CredrGetTargetInfo(
|
||||||
|
|
||||||
|
|
||||||
/* Function 67 */
|
/* Function 67 */
|
||||||
NTSTATUS CredrProfileLoaded(
|
NTSTATUS WINAPI CredrProfileLoaded(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1282,7 +1282,7 @@ NTSTATUS CredrProfileLoaded(
|
||||||
|
|
||||||
|
|
||||||
/* Function 68 */
|
/* Function 68 */
|
||||||
NTSTATUS LsarLookupNames3(
|
NTSTATUS WINAPI LsarLookupNames3(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
DWORD Count,
|
DWORD Count,
|
||||||
PRPC_UNICODE_STRING Names,
|
PRPC_UNICODE_STRING Names,
|
||||||
|
@ -1299,7 +1299,7 @@ NTSTATUS LsarLookupNames3(
|
||||||
|
|
||||||
|
|
||||||
/* Function 69 */
|
/* Function 69 */
|
||||||
NTSTATUS CredrGetSessionTypes(
|
NTSTATUS WINAPI CredrGetSessionTypes(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1308,7 +1308,7 @@ NTSTATUS CredrGetSessionTypes(
|
||||||
|
|
||||||
|
|
||||||
/* Function 70 */
|
/* Function 70 */
|
||||||
NTSTATUS LsarRegisterAuditEvent(
|
NTSTATUS WINAPI LsarRegisterAuditEvent(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1317,7 +1317,7 @@ NTSTATUS LsarRegisterAuditEvent(
|
||||||
|
|
||||||
|
|
||||||
/* Function 71 */
|
/* Function 71 */
|
||||||
NTSTATUS LsarGenAuditEvent(
|
NTSTATUS WINAPI LsarGenAuditEvent(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1326,7 +1326,7 @@ NTSTATUS LsarGenAuditEvent(
|
||||||
|
|
||||||
|
|
||||||
/* Function 72 */
|
/* Function 72 */
|
||||||
NTSTATUS LsarUnregisterAuditEvent(
|
NTSTATUS WINAPI LsarUnregisterAuditEvent(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1335,7 +1335,7 @@ NTSTATUS LsarUnregisterAuditEvent(
|
||||||
|
|
||||||
|
|
||||||
/* Function 73 */
|
/* Function 73 */
|
||||||
NTSTATUS LsarQueryForestTrustInformation(
|
NTSTATUS WINAPI LsarQueryForestTrustInformation(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PLSA_UNICODE_STRING TrustedDomainName,
|
PLSA_UNICODE_STRING TrustedDomainName,
|
||||||
LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
|
LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
|
||||||
|
@ -1347,7 +1347,7 @@ NTSTATUS LsarQueryForestTrustInformation(
|
||||||
|
|
||||||
|
|
||||||
/* Function 74 */
|
/* Function 74 */
|
||||||
NTSTATUS LsarSetForestTrustInformation(
|
NTSTATUS WINAPI LsarSetForestTrustInformation(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PLSA_UNICODE_STRING TrustedDomainName,
|
PLSA_UNICODE_STRING TrustedDomainName,
|
||||||
LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
|
LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
|
||||||
|
@ -1361,7 +1361,7 @@ NTSTATUS LsarSetForestTrustInformation(
|
||||||
|
|
||||||
|
|
||||||
/* Function 75 */
|
/* Function 75 */
|
||||||
NTSTATUS CredrRename(
|
NTSTATUS WINAPI CredrRename(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1370,7 +1370,7 @@ NTSTATUS CredrRename(
|
||||||
|
|
||||||
|
|
||||||
/* Function 76 */
|
/* Function 76 */
|
||||||
NTSTATUS LsarLookupSids3(
|
NTSTATUS WINAPI LsarLookupSids3(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
||||||
PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
||||||
|
@ -1386,7 +1386,7 @@ NTSTATUS LsarLookupSids3(
|
||||||
|
|
||||||
|
|
||||||
/* Function 77 */
|
/* Function 77 */
|
||||||
NTSTATUS LsarLookupNames4(
|
NTSTATUS WINAPI LsarLookupNames4(
|
||||||
handle_t RpcHandle,
|
handle_t RpcHandle,
|
||||||
DWORD Count,
|
DWORD Count,
|
||||||
PRPC_UNICODE_STRING Names,
|
PRPC_UNICODE_STRING Names,
|
||||||
|
@ -1403,7 +1403,7 @@ NTSTATUS LsarLookupNames4(
|
||||||
|
|
||||||
|
|
||||||
/* Function 78 */
|
/* Function 78 */
|
||||||
NTSTATUS LsarOpenPolicySce(
|
NTSTATUS WINAPI LsarOpenPolicySce(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1412,7 +1412,7 @@ NTSTATUS LsarOpenPolicySce(
|
||||||
|
|
||||||
|
|
||||||
/* Function 79 */
|
/* Function 79 */
|
||||||
NTSTATUS LsarAdtRegisterSecurityEventSource(
|
NTSTATUS WINAPI LsarAdtRegisterSecurityEventSource(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1421,7 +1421,7 @@ NTSTATUS LsarAdtRegisterSecurityEventSource(
|
||||||
|
|
||||||
|
|
||||||
/* Function 80 */
|
/* Function 80 */
|
||||||
NTSTATUS LsarAdtUnregisterSecurityEventSource(
|
NTSTATUS WINAPI LsarAdtUnregisterSecurityEventSource(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1430,7 +1430,7 @@ NTSTATUS LsarAdtUnregisterSecurityEventSource(
|
||||||
|
|
||||||
|
|
||||||
/* Function 81 */
|
/* Function 81 */
|
||||||
NTSTATUS LsarAdtReportSecurityEvent(
|
NTSTATUS WINAPI LsarAdtReportSecurityEvent(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1439,7 +1439,7 @@ NTSTATUS LsarAdtReportSecurityEvent(
|
||||||
|
|
||||||
|
|
||||||
/* Function 82 */
|
/* Function 82 */
|
||||||
NTSTATUS CredrFindBestCredential(
|
NTSTATUS WINAPI CredrFindBestCredential(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1448,7 +1448,7 @@ NTSTATUS CredrFindBestCredential(
|
||||||
|
|
||||||
|
|
||||||
/* Function 83 */
|
/* Function 83 */
|
||||||
NTSTATUS LsarSetAuditPolicy(
|
NTSTATUS WINAPI LsarSetAuditPolicy(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1457,7 +1457,7 @@ NTSTATUS LsarSetAuditPolicy(
|
||||||
|
|
||||||
|
|
||||||
/* Function 84 */
|
/* Function 84 */
|
||||||
NTSTATUS LsarQueryAuditPolicy(
|
NTSTATUS WINAPI LsarQueryAuditPolicy(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1466,7 +1466,7 @@ NTSTATUS LsarQueryAuditPolicy(
|
||||||
|
|
||||||
|
|
||||||
/* Function 85 */
|
/* Function 85 */
|
||||||
NTSTATUS LsarEnumerateAuditPolicy(
|
NTSTATUS WINAPI LsarEnumerateAuditPolicy(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1475,7 +1475,7 @@ NTSTATUS LsarEnumerateAuditPolicy(
|
||||||
|
|
||||||
|
|
||||||
/* Function 86 */
|
/* Function 86 */
|
||||||
NTSTATUS LsarEnumerateAuditCategories(
|
NTSTATUS WINAPI LsarEnumerateAuditCategories(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1484,7 +1484,7 @@ NTSTATUS LsarEnumerateAuditCategories(
|
||||||
|
|
||||||
|
|
||||||
/* Function 87 */
|
/* Function 87 */
|
||||||
NTSTATUS LsarEnumerateAuditSubCategories(
|
NTSTATUS WINAPI LsarEnumerateAuditSubCategories(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1493,7 +1493,7 @@ NTSTATUS LsarEnumerateAuditSubCategories(
|
||||||
|
|
||||||
|
|
||||||
/* Function 88 */
|
/* Function 88 */
|
||||||
NTSTATUS LsarLookupAuditCategoryName(
|
NTSTATUS WINAPI LsarLookupAuditCategoryName(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1502,7 +1502,7 @@ NTSTATUS LsarLookupAuditCategoryName(
|
||||||
|
|
||||||
|
|
||||||
/* Function 89 */
|
/* Function 89 */
|
||||||
NTSTATUS LsarLookupAuditSubCategoryName(
|
NTSTATUS WINAPI LsarLookupAuditSubCategoryName(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1511,7 +1511,7 @@ NTSTATUS LsarLookupAuditSubCategoryName(
|
||||||
|
|
||||||
|
|
||||||
/* Function 90 */
|
/* Function 90 */
|
||||||
NTSTATUS LsarSetAuditSecurity(
|
NTSTATUS WINAPI LsarSetAuditSecurity(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1520,7 +1520,7 @@ NTSTATUS LsarSetAuditSecurity(
|
||||||
|
|
||||||
|
|
||||||
/* Function 91 */
|
/* Function 91 */
|
||||||
NTSTATUS LsarQueryAuditSecurity(
|
NTSTATUS WINAPI LsarQueryAuditSecurity(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1529,7 +1529,7 @@ NTSTATUS LsarQueryAuditSecurity(
|
||||||
|
|
||||||
|
|
||||||
/* Function 92 */
|
/* Function 92 */
|
||||||
NTSTATUS CredReadByTokenHandle(
|
NTSTATUS WINAPI CredReadByTokenHandle(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1538,7 +1538,7 @@ NTSTATUS CredReadByTokenHandle(
|
||||||
|
|
||||||
|
|
||||||
/* Function 93 */
|
/* Function 93 */
|
||||||
NTSTATUS CredrRestoreCredentials(
|
NTSTATUS WINAPI CredrRestoreCredentials(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -1547,7 +1547,7 @@ NTSTATUS CredrRestoreCredentials(
|
||||||
|
|
||||||
|
|
||||||
/* Function 94 */
|
/* Function 94 */
|
||||||
NTSTATUS CredrBackupCredentials(
|
NTSTATUS WINAPI CredrBackupCredentials(
|
||||||
handle_t hBinding)
|
handle_t hBinding)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
|
|
@ -30,36 +30,36 @@
|
||||||
@ stub LsaISetupWasRun
|
@ stub LsaISetupWasRun
|
||||||
@ stub LsapAuOpenSam
|
@ stub LsapAuOpenSam
|
||||||
@ stdcall LsapInitLsa()
|
@ stdcall LsapInitLsa()
|
||||||
@ stub LsarAddPrivilegesToAccount
|
@ stdcall LsarAddPrivilegesToAccount(ptr ptr)
|
||||||
@ stub LsarClose
|
@ stdcall LsarClose(ptr)
|
||||||
@ stub LsarCreateAccount
|
@ stdcall LsarCreateAccount(ptr ptr long ptr)
|
||||||
@ stub LsarCreateSecret
|
@ stdcall LsarCreateSecret(ptr ptr long ptr)
|
||||||
@ stub LsarCreateTrustedDomain
|
@ stdcall LsarCreateTrustedDomain(ptr ptr long ptr)
|
||||||
@ stub LsarDelete
|
@ stdcall LsarDelete(ptr)
|
||||||
@ stub LsarEnumerateAccounts
|
@ stdcall LsarEnumerateAccounts(ptr ptr ptr long)
|
||||||
@ stub LsarEnumeratePrivileges
|
@ stdcall LsarEnumeratePrivileges(ptr ptr ptr long)
|
||||||
@ stub LsarEnumeratePrivilegesAccount
|
@ stdcall LsarEnumeratePrivilegesAccount(ptr ptr)
|
||||||
@ stub LsarEnumerateTrustedDomains
|
@ stdcall LsarEnumerateTrustedDomains(ptr ptr ptr long)
|
||||||
@ stub LsarGetQuotasForAccount
|
@ stdcall LsarGetQuotasForAccount(ptr ptr)
|
||||||
@ stub LsarGetSystemAccessAccount
|
@ stdcall LsarGetSystemAccessAccount(ptr ptr)
|
||||||
@ stub LsarLookupNames
|
@ stdcall LsarLookupNames(ptr long ptr ptr ptr long ptr)
|
||||||
@ stub LsarLookupPrivilegeDisplayName
|
@ stdcall LsarLookupPrivilegeDisplayName(ptr ptr long long ptr ptr)
|
||||||
@ stub LsarLookupPrivilegeName
|
@ stdcall LsarLookupPrivilegeName(ptr ptr ptr)
|
||||||
@ stub LsarLookupPrivilegeValue
|
@ stdcall LsarLookupPrivilegeValue(ptr ptr ptr)
|
||||||
@ stub LsarLookupSids
|
@ stdcall LsarLookupSids(ptr ptr ptr ptr long ptr)
|
||||||
@ stub LsarOpenAccount
|
@ stdcall LsarOpenAccount(ptr ptr long ptr)
|
||||||
@ stub LsarOpenPolicy
|
@ stdcall LsarOpenPolicy(ptr ptr long ptr)
|
||||||
@ stub LsarOpenSecret
|
@ stdcall LsarOpenSecret(ptr ptr long ptr)
|
||||||
@ stub LsarOpenTrustedDomain
|
@ stdcall LsarOpenTrustedDomain(ptr ptr long ptr)
|
||||||
@ stub LsarQueryInfoTrustedDomain
|
@ stdcall LsarQueryInfoTrustedDomain(ptr long ptr)
|
||||||
@ stub LsarQueryInformationPolicy
|
@ stdcall LsarQueryInformationPolicy(ptr long ptr)
|
||||||
@ stub LsarQuerySecret
|
@ stdcall LsarQuerySecret(ptr ptr ptr ptr ptr)
|
||||||
@ stub LsarQuerySecurityObject
|
@ stdcall LsarQuerySecurityObject(ptr long ptr)
|
||||||
@ stub LsarRemovePrivilegesFromAccount
|
@ stdcall LsarRemovePrivilegesFromAccount(ptr long ptr)
|
||||||
@ stub LsarSetInformationPolicy
|
@ stdcall LsarSetInformationPolicy(ptr long ptr)
|
||||||
@ stub LsarSetInformationTrustedDomain
|
@ stdcall LsarSetInformationTrustedDomain(ptr long ptr)
|
||||||
@ stub LsarSetQuotasForAccount
|
@ stdcall LsarSetQuotasForAccount(ptr ptr)
|
||||||
@ stub LsarSetSecret
|
@ stdcall LsarSetSecret(ptr ptr ptr)
|
||||||
@ stub LsarSetSecurityObject
|
@ stdcall LsarSetSecurityObject(ptr long ptr)
|
||||||
@ stub LsarSetSystemAccessAccount
|
@ stdcall LsarSetSystemAccessAccount(ptr long)
|
||||||
@ stdcall ServiceInit()
|
@ stdcall ServiceInit()
|
||||||
|
|
|
@ -592,34 +592,34 @@ cpp_quote("#endif")
|
||||||
interface lsarpc
|
interface lsarpc
|
||||||
{
|
{
|
||||||
/* Function 0 */
|
/* Function 0 */
|
||||||
NTSTATUS LsarClose(
|
NTSTATUS __stdcall LsarClose(
|
||||||
[in, out] LSAPR_HANDLE *ObjectHandle);
|
[in, out] LSAPR_HANDLE *ObjectHandle);
|
||||||
|
|
||||||
/* Function 1 */
|
/* Function 1 */
|
||||||
NTSTATUS LsarDelete(
|
NTSTATUS __stdcall LsarDelete(
|
||||||
[in] LSAPR_HANDLE ObjectHandle);
|
[in] LSAPR_HANDLE ObjectHandle);
|
||||||
|
|
||||||
/* Function 2 */
|
/* Function 2 */
|
||||||
NTSTATUS LsarEnumeratePrivileges(
|
NTSTATUS __stdcall LsarEnumeratePrivileges(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in, out] DWORD *EnumerationContext,
|
[in, out] DWORD *EnumerationContext,
|
||||||
[out] PLSAPR_PRIVILEGE_ENUM_BUFFER EnumerationBuffer,
|
[out] PLSAPR_PRIVILEGE_ENUM_BUFFER EnumerationBuffer,
|
||||||
[in] DWORD PreferedMaximumLength);
|
[in] DWORD PreferedMaximumLength);
|
||||||
|
|
||||||
/* Function 3 */
|
/* Function 3 */
|
||||||
NTSTATUS LsarQuerySecurityObject(
|
NTSTATUS __stdcall LsarQuerySecurityObject(
|
||||||
[in] LSAPR_HANDLE ObjectHandle,
|
[in] LSAPR_HANDLE ObjectHandle,
|
||||||
[in] SECURITY_INFORMATION SecurityInformation,
|
[in] SECURITY_INFORMATION SecurityInformation,
|
||||||
[out] PLSAPR_SR_SECURITY_DESCRIPTOR *SecurityDescriptor);
|
[out] PLSAPR_SR_SECURITY_DESCRIPTOR *SecurityDescriptor);
|
||||||
|
|
||||||
/* Function 4 */
|
/* Function 4 */
|
||||||
NTSTATUS LsarSetSecurityObject(
|
NTSTATUS __stdcall LsarSetSecurityObject(
|
||||||
[in] LSAPR_HANDLE ObjectHandle,
|
[in] LSAPR_HANDLE ObjectHandle,
|
||||||
[in] SECURITY_INFORMATION SecurityInformation,
|
[in] SECURITY_INFORMATION SecurityInformation,
|
||||||
[in] PLSAPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor);
|
[in] PLSAPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor);
|
||||||
|
|
||||||
/* Function 5 */
|
/* Function 5 */
|
||||||
NTSTATUS LsarChangePassword(
|
NTSTATUS __stdcall LsarChangePassword(
|
||||||
[in] PRPC_UNICODE_STRING String1,
|
[in] PRPC_UNICODE_STRING String1,
|
||||||
[in] PRPC_UNICODE_STRING String2,
|
[in] PRPC_UNICODE_STRING String2,
|
||||||
[in] PRPC_UNICODE_STRING String3,
|
[in] PRPC_UNICODE_STRING String3,
|
||||||
|
@ -627,58 +627,58 @@ interface lsarpc
|
||||||
[in] PRPC_UNICODE_STRING String5);
|
[in] PRPC_UNICODE_STRING String5);
|
||||||
|
|
||||||
/* Function 6 */
|
/* Function 6 */
|
||||||
NTSTATUS LsarOpenPolicy(
|
NTSTATUS __stdcall LsarOpenPolicy(
|
||||||
[in, unique] PLSAPR_SERVER_NAME SystemName,
|
[in, unique] PLSAPR_SERVER_NAME SystemName,
|
||||||
[in] PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
|
[in] PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
|
||||||
[in] ACCESS_MASK DesiredAccess,
|
[in] ACCESS_MASK DesiredAccess,
|
||||||
[out] LSAPR_HANDLE *PolicyHandle);
|
[out] LSAPR_HANDLE *PolicyHandle);
|
||||||
|
|
||||||
/* Function 7 */
|
/* Function 7 */
|
||||||
NTSTATUS LsarQueryInformationPolicy(
|
NTSTATUS __stdcall LsarQueryInformationPolicy(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] POLICY_INFORMATION_CLASS InformationClass,
|
[in] POLICY_INFORMATION_CLASS InformationClass,
|
||||||
[out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation);
|
[out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation);
|
||||||
|
|
||||||
/* Function 8 */
|
/* Function 8 */
|
||||||
NTSTATUS LsarSetInformationPolicy(
|
NTSTATUS __stdcall LsarSetInformationPolicy(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] POLICY_INFORMATION_CLASS InformationClass,
|
[in] POLICY_INFORMATION_CLASS InformationClass,
|
||||||
[in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation);
|
[in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation);
|
||||||
|
|
||||||
/* Function 9 */
|
/* Function 9 */
|
||||||
NTSTATUS LsarClearAuditLog(
|
NTSTATUS __stdcall LsarClearAuditLog(
|
||||||
[in] LSAPR_HANDLE ObjectHandle);
|
[in] LSAPR_HANDLE ObjectHandle);
|
||||||
|
|
||||||
/* Function 10 */
|
/* Function 10 */
|
||||||
NTSTATUS LsarCreateAccount(
|
NTSTATUS __stdcall LsarCreateAccount(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_SID AccountSid,
|
[in] PRPC_SID AccountSid,
|
||||||
[in] ACCESS_MASK DesiredAccess,
|
[in] ACCESS_MASK DesiredAccess,
|
||||||
[out] LSAPR_HANDLE *AccountHandle);
|
[out] LSAPR_HANDLE *AccountHandle);
|
||||||
|
|
||||||
/* Function 11 */
|
/* Function 11 */
|
||||||
NTSTATUS LsarEnumerateAccounts(
|
NTSTATUS __stdcall LsarEnumerateAccounts(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in, out] DWORD *EnumerationContext,
|
[in, out] DWORD *EnumerationContext,
|
||||||
[out] PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer,
|
[out] PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer,
|
||||||
[in] DWORD PreferedMaximumLength);
|
[in] DWORD PreferedMaximumLength);
|
||||||
|
|
||||||
/* Function 12 */
|
/* Function 12 */
|
||||||
NTSTATUS LsarCreateTrustedDomain(
|
NTSTATUS __stdcall LsarCreateTrustedDomain(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PLSAPR_TRUST_INFORMATION TrustedDomainInformation,
|
[in] PLSAPR_TRUST_INFORMATION TrustedDomainInformation,
|
||||||
[in] ACCESS_MASK DesiredAccess,
|
[in] ACCESS_MASK DesiredAccess,
|
||||||
[out] LSAPR_HANDLE *TrustedDomainHandle);
|
[out] LSAPR_HANDLE *TrustedDomainHandle);
|
||||||
|
|
||||||
/* Function 13 */
|
/* Function 13 */
|
||||||
NTSTATUS LsarEnumerateTrustedDomains(
|
NTSTATUS __stdcall LsarEnumerateTrustedDomains(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in, out] DWORD *EnumerationContext,
|
[in, out] DWORD *EnumerationContext,
|
||||||
[out] PLSAPR_TRUSTED_ENUM_BUFFER EnumerationBuffer,
|
[out] PLSAPR_TRUSTED_ENUM_BUFFER EnumerationBuffer,
|
||||||
[in] DWORD PreferedMaximumLength);
|
[in] DWORD PreferedMaximumLength);
|
||||||
|
|
||||||
/* Function 14 */
|
/* Function 14 */
|
||||||
NTSTATUS LsarLookupNames(
|
NTSTATUS __stdcall LsarLookupNames(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] DWORD Count,
|
[in] DWORD Count,
|
||||||
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
|
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
|
||||||
|
@ -688,7 +688,7 @@ interface lsarpc
|
||||||
[in, out] DWORD *MappedCount);
|
[in, out] DWORD *MappedCount);
|
||||||
|
|
||||||
/* Function 15 */
|
/* Function 15 */
|
||||||
NTSTATUS LsarLookupSids(
|
NTSTATUS __stdcall LsarLookupSids(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
[in] PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
||||||
[out] PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
[out] PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
||||||
|
@ -697,89 +697,89 @@ interface lsarpc
|
||||||
[in, out] DWORD *MappedCount);
|
[in, out] DWORD *MappedCount);
|
||||||
|
|
||||||
/* Function 16 */
|
/* Function 16 */
|
||||||
NTSTATUS LsarCreateSecret(
|
NTSTATUS __stdcall LsarCreateSecret(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_UNICODE_STRING SecretName,
|
[in] PRPC_UNICODE_STRING SecretName,
|
||||||
[in] ACCESS_MASK DesiredAccess,
|
[in] ACCESS_MASK DesiredAccess,
|
||||||
[out] LSAPR_HANDLE *SecretHandle);
|
[out] LSAPR_HANDLE *SecretHandle);
|
||||||
|
|
||||||
/* Function 17 */
|
/* Function 17 */
|
||||||
NTSTATUS LsarOpenAccount(
|
NTSTATUS __stdcall LsarOpenAccount(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_SID AccountSid,
|
[in] PRPC_SID AccountSid,
|
||||||
[in] ACCESS_MASK DesiredAccess,
|
[in] ACCESS_MASK DesiredAccess,
|
||||||
[out] LSAPR_HANDLE *AccountHandle);
|
[out] LSAPR_HANDLE *AccountHandle);
|
||||||
|
|
||||||
/* Function 18 */
|
/* Function 18 */
|
||||||
NTSTATUS LsarEnumeratePrivilegesAccount(
|
NTSTATUS __stdcall LsarEnumeratePrivilegesAccount(
|
||||||
[in] LSAPR_HANDLE AccountHandle,
|
[in] LSAPR_HANDLE AccountHandle,
|
||||||
[out] PLSAPR_PRIVILEGE_SET *Privileges);
|
[out] PLSAPR_PRIVILEGE_SET *Privileges);
|
||||||
|
|
||||||
/* Function 19 */
|
/* Function 19 */
|
||||||
NTSTATUS LsarAddPrivilegesToAccount(
|
NTSTATUS __stdcall LsarAddPrivilegesToAccount(
|
||||||
[in] LSAPR_HANDLE AccountHandle,
|
[in] LSAPR_HANDLE AccountHandle,
|
||||||
[in] PLSAPR_PRIVILEGE_SET Privileges);
|
[in] PLSAPR_PRIVILEGE_SET Privileges);
|
||||||
|
|
||||||
/* Function 20 */
|
/* Function 20 */
|
||||||
NTSTATUS LsarRemovePrivilegesFromAccount(
|
NTSTATUS __stdcall LsarRemovePrivilegesFromAccount(
|
||||||
[in] LSAPR_HANDLE AccountHandle,
|
[in] LSAPR_HANDLE AccountHandle,
|
||||||
[in] BOOL AllPrivileges,
|
[in] BOOL AllPrivileges,
|
||||||
[in, unique] PLSAPR_PRIVILEGE_SET Privileges);
|
[in, unique] PLSAPR_PRIVILEGE_SET Privileges);
|
||||||
|
|
||||||
/* Function 21 */
|
/* Function 21 */
|
||||||
NTSTATUS LsarGetQuotasForAccount(
|
NTSTATUS __stdcall LsarGetQuotasForAccount(
|
||||||
[in] LSAPR_HANDLE AccountHandle,
|
[in] LSAPR_HANDLE AccountHandle,
|
||||||
[out] PQUOTA_LIMITS QuotaLimits);
|
[out] PQUOTA_LIMITS QuotaLimits);
|
||||||
|
|
||||||
/* Function 22 */
|
/* Function 22 */
|
||||||
NTSTATUS LsarSetQuotasForAccount(
|
NTSTATUS __stdcall LsarSetQuotasForAccount(
|
||||||
[in] LSAPR_HANDLE AccountHandle,
|
[in] LSAPR_HANDLE AccountHandle,
|
||||||
[in] PQUOTA_LIMITS QuotaLimits);
|
[in] PQUOTA_LIMITS QuotaLimits);
|
||||||
|
|
||||||
/* Function 23 */
|
/* Function 23 */
|
||||||
NTSTATUS LsarGetSystemAccessAccount(
|
NTSTATUS __stdcall LsarGetSystemAccessAccount(
|
||||||
[in] LSAPR_HANDLE AccountHandle,
|
[in] LSAPR_HANDLE AccountHandle,
|
||||||
[out] ACCESS_MASK *SystemAccess);
|
[out] ACCESS_MASK *SystemAccess);
|
||||||
|
|
||||||
/* Function 24 */
|
/* Function 24 */
|
||||||
NTSTATUS LsarSetSystemAccessAccount(
|
NTSTATUS __stdcall LsarSetSystemAccessAccount(
|
||||||
[in] LSAPR_HANDLE AccountHandle,
|
[in] LSAPR_HANDLE AccountHandle,
|
||||||
[in] ACCESS_MASK SystemAccess);
|
[in] ACCESS_MASK SystemAccess);
|
||||||
|
|
||||||
/* Function 25 */
|
/* Function 25 */
|
||||||
NTSTATUS LsarOpenTrustedDomain(
|
NTSTATUS __stdcall LsarOpenTrustedDomain(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_SID TrustedDomainSid,
|
[in] PRPC_SID TrustedDomainSid,
|
||||||
[in] ACCESS_MASK DesiredAccess,
|
[in] ACCESS_MASK DesiredAccess,
|
||||||
[out] LSAPR_HANDLE *TrustedDomainHandle);
|
[out] LSAPR_HANDLE *TrustedDomainHandle);
|
||||||
|
|
||||||
/* Function 26 */
|
/* Function 26 */
|
||||||
NTSTATUS LsarQueryInfoTrustedDomain(
|
NTSTATUS __stdcall LsarQueryInfoTrustedDomain(
|
||||||
[in] LSAPR_HANDLE TrustedDomainHandle,
|
[in] LSAPR_HANDLE TrustedDomainHandle,
|
||||||
[in] TRUSTED_INFORMATION_CLASS InformationClass,
|
[in] TRUSTED_INFORMATION_CLASS InformationClass,
|
||||||
[out, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO *TrustedDomainInformation);
|
[out, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO *TrustedDomainInformation);
|
||||||
|
|
||||||
/* Function 27 */
|
/* Function 27 */
|
||||||
NTSTATUS LsarSetInformationTrustedDomain(
|
NTSTATUS __stdcall LsarSetInformationTrustedDomain(
|
||||||
[in] LSAPR_HANDLE TrustedDomainHandle,
|
[in] LSAPR_HANDLE TrustedDomainHandle,
|
||||||
[in] TRUSTED_INFORMATION_CLASS InformationClass,
|
[in] TRUSTED_INFORMATION_CLASS InformationClass,
|
||||||
[in, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO TrustedDomainInformation);
|
[in, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO TrustedDomainInformation);
|
||||||
|
|
||||||
/* Function 28 */
|
/* Function 28 */
|
||||||
NTSTATUS LsarOpenSecret(
|
NTSTATUS __stdcall LsarOpenSecret(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_UNICODE_STRING SecretName,
|
[in] PRPC_UNICODE_STRING SecretName,
|
||||||
[in] ACCESS_MASK DesiredAccess,
|
[in] ACCESS_MASK DesiredAccess,
|
||||||
[out] LSAPR_HANDLE *SecretHandle);
|
[out] LSAPR_HANDLE *SecretHandle);
|
||||||
|
|
||||||
/* Function 29 */
|
/* Function 29 */
|
||||||
NTSTATUS LsarSetSecret(
|
NTSTATUS __stdcall LsarSetSecret(
|
||||||
[in] LSAPR_HANDLE *SecretHandle,
|
[in] LSAPR_HANDLE *SecretHandle,
|
||||||
[in, unique] PLSAPR_CR_CIPHER_VALUE EncryptedCurrentValue,
|
[in, unique] PLSAPR_CR_CIPHER_VALUE EncryptedCurrentValue,
|
||||||
[in, unique] PLSAPR_CR_CIPHER_VALUE EncryptedOldValue);
|
[in, unique] PLSAPR_CR_CIPHER_VALUE EncryptedOldValue);
|
||||||
|
|
||||||
/* Function 30 */
|
/* Function 30 */
|
||||||
NTSTATUS LsarQuerySecret(
|
NTSTATUS __stdcall LsarQuerySecret(
|
||||||
[in] LSAPR_HANDLE SecretHandle,
|
[in] LSAPR_HANDLE SecretHandle,
|
||||||
[in, out, unique] PLSAPR_CR_CIPHER_VALUE *EncryptedCurrentValue,
|
[in, out, unique] PLSAPR_CR_CIPHER_VALUE *EncryptedCurrentValue,
|
||||||
[in, out, unique] PLARGE_INTEGER CurrentValueSetTime,
|
[in, out, unique] PLARGE_INTEGER CurrentValueSetTime,
|
||||||
|
@ -787,19 +787,19 @@ interface lsarpc
|
||||||
[in, out, unique] PLARGE_INTEGER OldValueSetTime);
|
[in, out, unique] PLARGE_INTEGER OldValueSetTime);
|
||||||
|
|
||||||
/* Function 31 */
|
/* Function 31 */
|
||||||
NTSTATUS LsarLookupPrivilegeValue(
|
NTSTATUS __stdcall LsarLookupPrivilegeValue(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_UNICODE_STRING Name,
|
[in] PRPC_UNICODE_STRING Name,
|
||||||
[out] PLUID Value);
|
[out] PLUID Value);
|
||||||
|
|
||||||
/* Function 32 */
|
/* Function 32 */
|
||||||
NTSTATUS LsarLookupPrivilegeName(
|
NTSTATUS __stdcall LsarLookupPrivilegeName(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PLUID Value,
|
[in] PLUID Value,
|
||||||
[out] PRPC_UNICODE_STRING *Name);
|
[out] PRPC_UNICODE_STRING *Name);
|
||||||
|
|
||||||
/* Function 33 */
|
/* Function 33 */
|
||||||
NTSTATUS LsarLookupPrivilegeDisplayName(
|
NTSTATUS __stdcall LsarLookupPrivilegeDisplayName(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_UNICODE_STRING Name,
|
[in] PRPC_UNICODE_STRING Name,
|
||||||
[in] USHORT ClientLanguage,
|
[in] USHORT ClientLanguage,
|
||||||
|
@ -808,76 +808,76 @@ interface lsarpc
|
||||||
[out] USHORT *LanguageReturned);
|
[out] USHORT *LanguageReturned);
|
||||||
|
|
||||||
/* Function 34 */
|
/* Function 34 */
|
||||||
NTSTATUS LsarDeleteObject(
|
NTSTATUS __stdcall LsarDeleteObject(
|
||||||
[in, out] LSAPR_HANDLE *ObjectHandle);
|
[in, out] LSAPR_HANDLE *ObjectHandle);
|
||||||
|
|
||||||
cpp_quote("#if _WIN32_WINNT >= 0x0351")
|
cpp_quote("#if _WIN32_WINNT >= 0x0351")
|
||||||
|
|
||||||
/* Function 35 */
|
/* Function 35 */
|
||||||
NTSTATUS LsarEnumerateAccountsWithUserRight(
|
NTSTATUS __stdcall LsarEnumerateAccountsWithUserRight(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in, unique] PRPC_UNICODE_STRING UserRight,
|
[in, unique] PRPC_UNICODE_STRING UserRight,
|
||||||
[out] PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer);
|
[out] PLSAPR_ACCOUNT_ENUM_BUFFER EnumerationBuffer);
|
||||||
|
|
||||||
/* Function 36 */
|
/* Function 36 */
|
||||||
NTSTATUS LsarEnmuerateAccountRights(
|
NTSTATUS __stdcall LsarEnmuerateAccountRights(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_SID AccountSid,
|
[in] PRPC_SID AccountSid,
|
||||||
[out] PLSAPR_USER_RIGHT_SET UserRights);
|
[out] PLSAPR_USER_RIGHT_SET UserRights);
|
||||||
|
|
||||||
/* Function 37 */
|
/* Function 37 */
|
||||||
NTSTATUS LsarAddAccountRights(
|
NTSTATUS __stdcall LsarAddAccountRights(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_SID AccountSid,
|
[in] PRPC_SID AccountSid,
|
||||||
[in] PLSAPR_USER_RIGHT_SET UserRights);
|
[in] PLSAPR_USER_RIGHT_SET UserRights);
|
||||||
|
|
||||||
/* Function 38 */
|
/* Function 38 */
|
||||||
NTSTATUS LsarRemoveAccountRights(
|
NTSTATUS __stdcall LsarRemoveAccountRights(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_SID AccountSid,
|
[in] PRPC_SID AccountSid,
|
||||||
[in] BOOL AllRights,
|
[in] BOOL AllRights,
|
||||||
[in] PLSAPR_USER_RIGHT_SET UserRights);
|
[in] PLSAPR_USER_RIGHT_SET UserRights);
|
||||||
|
|
||||||
/* Function 39 */
|
/* Function 39 */
|
||||||
NTSTATUS LsarQueryTrustedDomainInfo(
|
NTSTATUS __stdcall LsarQueryTrustedDomainInfo(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_SID TrustedDomainSid,
|
[in] PRPC_SID TrustedDomainSid,
|
||||||
[in] TRUSTED_INFORMATION_CLASS InformationClass,
|
[in] TRUSTED_INFORMATION_CLASS InformationClass,
|
||||||
[out, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO *TrustedDomainInformation);
|
[out, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO *TrustedDomainInformation);
|
||||||
|
|
||||||
/* Function 40 */
|
/* Function 40 */
|
||||||
NTSTATUS LsarSetTrustedDomainInfo(
|
NTSTATUS __stdcall LsarSetTrustedDomainInfo(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_SID TrustedDomainSid,
|
[in] PRPC_SID TrustedDomainSid,
|
||||||
[in] TRUSTED_INFORMATION_CLASS InformationClass,
|
[in] TRUSTED_INFORMATION_CLASS InformationClass,
|
||||||
[in, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO TrustedDomainInformation);
|
[in, switch_is(InformationClass)] PLSAPR_TRUSTED_DOMAIN_INFO TrustedDomainInformation);
|
||||||
|
|
||||||
/* Function 41 */
|
/* Function 41 */
|
||||||
NTSTATUS LsarDeleteTrustedDomain(
|
NTSTATUS __stdcall LsarDeleteTrustedDomain(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_SID TrustedDomainSid);
|
[in] PRPC_SID TrustedDomainSid);
|
||||||
|
|
||||||
/* Function 42 */
|
/* Function 42 */
|
||||||
NTSTATUS LsarStorePrivateData(
|
NTSTATUS __stdcall LsarStorePrivateData(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_UNICODE_STRING KeyName,
|
[in] PRPC_UNICODE_STRING KeyName,
|
||||||
[in, unique] PLSAPR_CR_CIPHER_VALUE EncryptedData);
|
[in, unique] PLSAPR_CR_CIPHER_VALUE EncryptedData);
|
||||||
|
|
||||||
/* Function 43 */
|
/* Function 43 */
|
||||||
NTSTATUS LsarRetrievePrivateData(
|
NTSTATUS __stdcall LsarRetrievePrivateData(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_UNICODE_STRING KeyName,
|
[in] PRPC_UNICODE_STRING KeyName,
|
||||||
[in, out] PLSAPR_CR_CIPHER_VALUE *EncryptedData);
|
[in, out] PLSAPR_CR_CIPHER_VALUE *EncryptedData);
|
||||||
|
|
||||||
/* Function 44 */
|
/* Function 44 */
|
||||||
NTSTATUS LsarOpenPolicy2(
|
NTSTATUS __stdcall LsarOpenPolicy2(
|
||||||
[in, unique, string] PLSAPR_SERVER_NAME SystemName,
|
[in, unique, string] PLSAPR_SERVER_NAME SystemName,
|
||||||
[in] PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
|
[in] PLSAPR_OBJECT_ATTRIBUTES ObjectAttributes,
|
||||||
[in] ACCESS_MASK DesiredAccess,
|
[in] ACCESS_MASK DesiredAccess,
|
||||||
[out] LSAPR_HANDLE *PolicyHandle);
|
[out] LSAPR_HANDLE *PolicyHandle);
|
||||||
|
|
||||||
/* Function 45 */
|
/* Function 45 */
|
||||||
NTSTATUS LsarGetUserName(
|
NTSTATUS __stdcall LsarGetUserName(
|
||||||
[in, unique, string] PLSAPR_SERVER_NAME SystemName,
|
[in, unique, string] PLSAPR_SERVER_NAME SystemName,
|
||||||
[in, out] PRPC_UNICODE_STRING *UserName,
|
[in, out] PRPC_UNICODE_STRING *UserName,
|
||||||
[in, out, unique] PRPC_UNICODE_STRING *DomainName);
|
[in, out, unique] PRPC_UNICODE_STRING *DomainName);
|
||||||
|
@ -885,21 +885,21 @@ cpp_quote("#if _WIN32_WINNT >= 0x0351")
|
||||||
cpp_quote("#if _WIN32_WINNT >= 0x0500")
|
cpp_quote("#if _WIN32_WINNT >= 0x0500")
|
||||||
|
|
||||||
/* Function 46 */
|
/* Function 46 */
|
||||||
NTSTATUS LsarQueryInformationPolicy2(
|
NTSTATUS __stdcall LsarQueryInformationPolicy2(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] POLICY_INFORMATION_CLASS InformationClass,
|
[in] POLICY_INFORMATION_CLASS InformationClass,
|
||||||
[out] unsigned long *PolicyInformation);
|
[out] unsigned long *PolicyInformation);
|
||||||
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation); */
|
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation); */
|
||||||
|
|
||||||
/* Function 47 */
|
/* Function 47 */
|
||||||
NTSTATUS LsarSetInformationPolicy2(
|
NTSTATUS __stdcall LsarSetInformationPolicy2(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] POLICY_INFORMATION_CLASS InformationClass,
|
[in] POLICY_INFORMATION_CLASS InformationClass,
|
||||||
[in] unsigned long PolicyInformation);
|
[in] unsigned long PolicyInformation);
|
||||||
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation); */
|
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation); */
|
||||||
|
|
||||||
/* Function 48 */
|
/* Function 48 */
|
||||||
NTSTATUS LsarQueryTrustedDomainInfoByName(
|
NTSTATUS __stdcall LsarQueryTrustedDomainInfoByName(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_UNICODE_STRING TrustedDomainName,
|
[in] PRPC_UNICODE_STRING TrustedDomainName,
|
||||||
[in] POLICY_INFORMATION_CLASS InformationClass,
|
[in] POLICY_INFORMATION_CLASS InformationClass,
|
||||||
|
@ -907,7 +907,7 @@ cpp_quote("#if _WIN32_WINNT >= 0x0500")
|
||||||
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation); */
|
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation); */
|
||||||
|
|
||||||
/* Function 49 */
|
/* Function 49 */
|
||||||
NTSTATUS LsarSetTrustedDomainInfoByName(
|
NTSTATUS __stdcall LsarSetTrustedDomainInfoByName(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_UNICODE_STRING TrustedDomainName,
|
[in] PRPC_UNICODE_STRING TrustedDomainName,
|
||||||
[in] POLICY_INFORMATION_CLASS InformationClass,
|
[in] POLICY_INFORMATION_CLASS InformationClass,
|
||||||
|
@ -915,14 +915,14 @@ cpp_quote("#if _WIN32_WINNT >= 0x0500")
|
||||||
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation); */
|
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation); */
|
||||||
|
|
||||||
/* Function 50 */
|
/* Function 50 */
|
||||||
NTSTATUS LsarEnumerateTrustedDomainsEx(
|
NTSTATUS __stdcall LsarEnumerateTrustedDomainsEx(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in, out] DWORD *EnumerationContext,
|
[in, out] DWORD *EnumerationContext,
|
||||||
[out] PLSAPR_TRUSTED_ENUM_BUFFER_EX EnumerationBuffer,
|
[out] PLSAPR_TRUSTED_ENUM_BUFFER_EX EnumerationBuffer,
|
||||||
[in] DWORD PreferedMaximumLength);
|
[in] DWORD PreferedMaximumLength);
|
||||||
|
|
||||||
/* Function 51 */
|
/* Function 51 */
|
||||||
NTSTATUS LsarCreateTrustedDomainEx(
|
NTSTATUS __stdcall LsarCreateTrustedDomainEx(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
|
[in] PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
|
||||||
[in] PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION AuthentificationInformation,
|
[in] PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION AuthentificationInformation,
|
||||||
|
@ -930,36 +930,36 @@ cpp_quote("#if _WIN32_WINNT >= 0x0500")
|
||||||
[out] LSAPR_HANDLE *TrustedDomainHandle);
|
[out] LSAPR_HANDLE *TrustedDomainHandle);
|
||||||
|
|
||||||
/* Function 52 */
|
/* Function 52 */
|
||||||
NTSTATUS LsarSetPolicyReplicationHandle(
|
NTSTATUS __stdcall LsarSetPolicyReplicationHandle(
|
||||||
[in, out] PLSAPR_HANDLE PolicyHandle);
|
[in, out] PLSAPR_HANDLE PolicyHandle);
|
||||||
|
|
||||||
/* Function 53 */
|
/* Function 53 */
|
||||||
NTSTATUS LsarQueryDomainInformationPolicy(
|
NTSTATUS __stdcall LsarQueryDomainInformationPolicy(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] POLICY_INFORMATION_CLASS InformationClass,
|
[in] POLICY_INFORMATION_CLASS InformationClass,
|
||||||
[out] unsigned long *PolicyInformation);
|
[out] unsigned long *PolicyInformation);
|
||||||
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation); */
|
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation); */
|
||||||
|
|
||||||
/* Function 54 */
|
/* Function 54 */
|
||||||
NTSTATUS LsarSetDomainInformationPolicy(
|
NTSTATUS __stdcall LsarSetDomainInformationPolicy(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] POLICY_INFORMATION_CLASS InformationClass,
|
[in] POLICY_INFORMATION_CLASS InformationClass,
|
||||||
[in] unsigned long PolicyInformation);
|
[in] unsigned long PolicyInformation);
|
||||||
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation); */
|
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation); */
|
||||||
|
|
||||||
/* Function 55 */
|
/* Function 55 */
|
||||||
NTSTATUS LsarOpenTrustedDomainByName(
|
NTSTATUS __stdcall LsarOpenTrustedDomainByName(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PRPC_UNICODE_STRING TrustedDomainName,
|
[in] PRPC_UNICODE_STRING TrustedDomainName,
|
||||||
[in] ACCESS_MASK DesiredAccess,
|
[in] ACCESS_MASK DesiredAccess,
|
||||||
[out] LSAPR_HANDLE *TrustedDomainHandle);
|
[out] LSAPR_HANDLE *TrustedDomainHandle);
|
||||||
|
|
||||||
/* Function 56 */
|
/* Function 56 */
|
||||||
NTSTATUS LsarTestCall(
|
NTSTATUS __stdcall LsarTestCall(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 57 */
|
/* Function 57 */
|
||||||
NTSTATUS LsarLookupSids2(
|
NTSTATUS __stdcall LsarLookupSids2(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
[in] PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
||||||
[out] PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
[out] PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
||||||
|
@ -970,7 +970,7 @@ cpp_quote("#if _WIN32_WINNT >= 0x0500")
|
||||||
[in] DWORD ClientRevision);
|
[in] DWORD ClientRevision);
|
||||||
|
|
||||||
/* Function 58 */
|
/* Function 58 */
|
||||||
NTSTATUS LsarLookupNames2(
|
NTSTATUS __stdcall LsarLookupNames2(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] DWORD Count,
|
[in] DWORD Count,
|
||||||
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
|
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
|
||||||
|
@ -982,7 +982,7 @@ cpp_quote("#if _WIN32_WINNT >= 0x0500")
|
||||||
[in] DWORD ClientRevision);
|
[in] DWORD ClientRevision);
|
||||||
|
|
||||||
/* Function 59 */
|
/* Function 59 */
|
||||||
NTSTATUS LsarCreateTrustedDomainEx2(
|
NTSTATUS __stdcall LsarCreateTrustedDomainEx2(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
|
[in] PLSAPR_TRUSTED_DOMAIN_INFORMATION_EX TrustedDomainInformation,
|
||||||
[in] PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION_INTERNAL AuthentificationInformation,
|
[in] PLSAPR_TRUSTED_DOMAIN_AUTH_INFORMATION_INTERNAL AuthentificationInformation,
|
||||||
|
@ -992,39 +992,39 @@ cpp_quote("#if _WIN32_WINNT >= 0x0500")
|
||||||
cpp_quote("#if _WIN32_WINNT >= 0x0501")
|
cpp_quote("#if _WIN32_WINNT >= 0x0501")
|
||||||
|
|
||||||
/* Function 60 */
|
/* Function 60 */
|
||||||
NTSTATUS CredrWrite(
|
NTSTATUS __stdcall CredrWrite(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 61 */
|
/* Function 61 */
|
||||||
NTSTATUS CredrRead(
|
NTSTATUS __stdcall CredrRead(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 62 */
|
/* Function 62 */
|
||||||
NTSTATUS CredrEnumerate(
|
NTSTATUS __stdcall CredrEnumerate(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 63 */
|
/* Function 63 */
|
||||||
NTSTATUS CredrWriteDomainCredentials(
|
NTSTATUS __stdcall CredrWriteDomainCredentials(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 64 */
|
/* Function 64 */
|
||||||
NTSTATUS CredrReadDomainCredentials(
|
NTSTATUS __stdcall CredrReadDomainCredentials(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 65 */
|
/* Function 65 */
|
||||||
NTSTATUS CredrDelete(
|
NTSTATUS __stdcall CredrDelete(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 66 */
|
/* Function 66 */
|
||||||
NTSTATUS CredrGetTargetInfo(
|
NTSTATUS __stdcall CredrGetTargetInfo(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 67 */
|
/* Function 67 */
|
||||||
NTSTATUS CredrProfileLoaded(
|
NTSTATUS __stdcall CredrProfileLoaded(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 68 */
|
/* Function 68 */
|
||||||
NTSTATUS LsarLookupNames3(
|
NTSTATUS __stdcall LsarLookupNames3(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] DWORD Count,
|
[in] DWORD Count,
|
||||||
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
|
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
|
||||||
|
@ -1036,30 +1036,30 @@ cpp_quote("#if _WIN32_WINNT >= 0x0501")
|
||||||
[in] DWORD ClientRevision);
|
[in] DWORD ClientRevision);
|
||||||
|
|
||||||
/* Function 69 */
|
/* Function 69 */
|
||||||
NTSTATUS CredrGetSessionTypes(
|
NTSTATUS __stdcall CredrGetSessionTypes(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 70 */
|
/* Function 70 */
|
||||||
NTSTATUS LsarRegisterAuditEvent(
|
NTSTATUS __stdcall LsarRegisterAuditEvent(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 71 */
|
/* Function 71 */
|
||||||
NTSTATUS LsarGenAuditEvent(
|
NTSTATUS __stdcall LsarGenAuditEvent(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 72 */
|
/* Function 72 */
|
||||||
NTSTATUS LsarUnregisterAuditEvent(
|
NTSTATUS __stdcall LsarUnregisterAuditEvent(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 73 */
|
/* Function 73 */
|
||||||
NTSTATUS LsarQueryForestTrustInformation(
|
NTSTATUS __stdcall LsarQueryForestTrustInformation(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PLSA_UNICODE_STRING TrustedDomainName,
|
[in] PLSA_UNICODE_STRING TrustedDomainName,
|
||||||
[in] LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
|
[in] LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
|
||||||
[out] PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo);
|
[out] PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo);
|
||||||
|
|
||||||
/* Function 74 */
|
/* Function 74 */
|
||||||
NTSTATUS LsarSetForestTrustInformation(
|
NTSTATUS __stdcall LsarSetForestTrustInformation(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PLSA_UNICODE_STRING TrustedDomainName,
|
[in] PLSA_UNICODE_STRING TrustedDomainName,
|
||||||
[in] LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
|
[in] LSA_FOREST_TRUST_RECORD_TYPE HighestRecordType,
|
||||||
|
@ -1068,11 +1068,11 @@ cpp_quote("#if _WIN32_WINNT >= 0x0501")
|
||||||
[out] PLSA_FOREST_TRUST_COLLISION_INFORMATION *CollisionInfo);
|
[out] PLSA_FOREST_TRUST_COLLISION_INFORMATION *CollisionInfo);
|
||||||
|
|
||||||
/* Function 75 */
|
/* Function 75 */
|
||||||
NTSTATUS CredrRename(
|
NTSTATUS __stdcall CredrRename(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 76 */
|
/* Function 76 */
|
||||||
NTSTATUS LsarLookupSids3(
|
NTSTATUS __stdcall LsarLookupSids3(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
[in] PLSAPR_SID_ENUM_BUFFER SidEnumBuffer,
|
||||||
[out] PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
[out] PLSAPR_REFERENCED_DOMAIN_LIST *ReferencedDomains,
|
||||||
|
@ -1083,7 +1083,7 @@ cpp_quote("#if _WIN32_WINNT >= 0x0501")
|
||||||
[in] DWORD ClientRevision);
|
[in] DWORD ClientRevision);
|
||||||
|
|
||||||
/* Function 77 */
|
/* Function 77 */
|
||||||
NTSTATUS LsarLookupNames4(
|
NTSTATUS __stdcall LsarLookupNames4(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] DWORD Count,
|
[in] DWORD Count,
|
||||||
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
|
[in, size_is(Count)] PRPC_UNICODE_STRING Names,
|
||||||
|
@ -1095,19 +1095,19 @@ cpp_quote("#if _WIN32_WINNT >= 0x0501")
|
||||||
[in] DWORD ClientRevision);
|
[in] DWORD ClientRevision);
|
||||||
|
|
||||||
/* Function 78 */
|
/* Function 78 */
|
||||||
NTSTATUS LsarOpenPolicySce(
|
NTSTATUS __stdcall LsarOpenPolicySce(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 79 */
|
/* Function 79 */
|
||||||
NTSTATUS LsarAdtRegisterSecurityEventSource(
|
NTSTATUS __stdcall LsarAdtRegisterSecurityEventSource(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 80 */
|
/* Function 80 */
|
||||||
NTSTATUS LsarAdtUnregisterSecurityEventSource(
|
NTSTATUS __stdcall LsarAdtUnregisterSecurityEventSource(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
/* Function 81 */
|
/* Function 81 */
|
||||||
NTSTATUS LsarAdtReportSecurityEvent(
|
NTSTATUS __stdcall LsarAdtReportSecurityEvent(
|
||||||
[in] handle_t hBinding); /* FIXME */
|
[in] handle_t hBinding); /* FIXME */
|
||||||
|
|
||||||
cpp_quote("#endif /* _WIN32_WINNT >= 0x0501 */")
|
cpp_quote("#endif /* _WIN32_WINNT >= 0x0501 */")
|
||||||
|
|
Loading…
Reference in a new issue