LIBRARY LSASRV

EXPORTS

;
;    Scott Birrell     (ScottBi)     April 9, 1992
;
; Exported Trusted Lsa Services
;
; These services are used only by Trusted Clients.  These clients are
; part of the Security Process
;

;
; Standard LSA Server Side services.  These services form the
; server side of the LSA's RPC interface, so each service corresponds
; to a published LSA Client API.  A Trusted LSA Client, being part of the
; Security Process; executable image, may call these services directly.
;
    LsarLookupNames
    LsarLookupSids
    LsarLookupSids2
    LsarClose
    LsarDelete
    LsarLookupPrivilegeValue
    LsarLookupPrivilegeName
    LsarLookupPrivilegeDisplayName
    LsarEnumeratePrivileges
    LsarSetSecurityObject
    LsarQuerySecurityObject

    LsarOpenPolicy
    LsarOpenPolicySce
    LsarQueryInformationPolicy
    LsarSetInformationPolicy

    LsarQueryDomainInformationPolicy
    LsarSetDomainInformationPolicy

    LsarCreateAccount
    LsarOpenAccount
    LsarEnumerateAccounts
    LsarEnumeratePrivilegesAccount
    LsarAddPrivilegesToAccount
    LsarRemovePrivilegesFromAccount
    LsarGetQuotasForAccount
    LsarSetQuotasForAccount
    LsarGetSystemAccessAccount
    LsarSetSystemAccessAccount

    LsarCreateTrustedDomain
    LsarOpenTrustedDomain
    LsarQueryInfoTrustedDomain
    LsarQueryTrustedDomainInfo
    LsarSetInformationTrustedDomain
    LsarEnumerateTrustedDomains

    LsarCreateSecret
    LsarOpenSecret
    LsarSetSecret
    LsarQuerySecret

;
; Forest trust interfaces
;

    LsarQueryForestTrustInformation
    LsarSetForestTrustInformation

;
; Temporary interface for forest trust testing, to be commented out before check-in
;

;   LsarForestTrustFindMatch

;
; Trusted LSA Server Side interfaces.  These interfaces are used only
; by trusted LSA Clients, such as netlogon.dll.  They do not form
; part of the LSA's RPC interface.

    LsaIHealthCheck
    LsaIOpenPolicyTrusted
    LsaIQueryInformationPolicyTrusted
    LsaIGetSerialNumberPolicy
    LsaIGetSerialNumberPolicy2
    LsaISetSerialNumberPolicy
    LsaIGetPrivateData
    LsaISetPrivateData
    LsaIEnumerateSecrets
    LsaISetTimesSecret
    LsaIAuditSamEvent
    LsaIAuditNotifyPackageLoad
    LsaIAuditKdcEvent
    LsaIAuditAccountLogon
    LsaIAuditKerberosLogon
    LsaIAuditLogonUsingExplicitCreds
    LsaIGetLogonGuid
    LsaIAuditPasswordAccessEvent	
    LsaIWriteAuditEvent
    LsaICallPackage
    LsaICallPackageEx
    LsaICallPackagePassthrough
    LsaIFreeReturnBuffer
    LsaIQuerySubnetInfo
    LsaIQuerySiteInfo
    LsaIGetSiteName
    LsaIQueryUpnSuffixes
    LsaIIsDsPaused
    LsaISafeMode
    LsaIRegisterNotification
    LsaICancelNotification
    LsaIEventNotify
    LsaIGetCallInfo=LsapGetCallInfo
    LsaIGetNbAndDnsDomainNames
    LsaIGetForestTrustInformation
    LsaIUpdateForestTrustInformation
    LsaILookupWellKnownName
    LsaIAddNameToLogonSession
    LsaISetLogonGuidInLogonSession

    LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER
    LsaIFree_LSAPR_TRANSLATED_SIDS
    LsaIFree_LSAPR_TRANSLATED_NAMES
    LsaIFree_LSAPR_POLICY_INFORMATION
    LsaIFree_LSAPR_POLICY_DOMAIN_INFORMATION
    LsaIFree_LSAPR_TRUSTED_DOMAIN_INFO
    LsaIFree_LSAPR_REFERENCED_DOMAIN_LIST
    LsaIFree_LSAPR_TRUSTED_ENUM_BUFFER
    LsaIFree_LSAPR_TRUSTED_ENUM_BUFFER_EX
    LsaIFree_LSAPR_TRUST_INFORMATION
    LsaIFree_LSAI_SECRET_ENUM_BUFFER
    LsaIFree_LSAPR_SR_SECURITY_DESCRIPTOR
    LsaIFree_LSAI_PRIVATE_DATA
    LsaIFree_LSAPR_UNICODE_STRING
    LsaIFree_LSAPR_UNICODE_STRING_BUFFER
    LsaIFree_LSAPR_PRIVILEGE_SET
    LsaIFree_LSAPR_CR_CIPHER_VALUE
    LsaIFree_LSAPR_PRIVILEGE_ENUM_BUFFER
    LsaIFree_LSAP_SUBNET_INFO
    LsaIFree_LSAP_SITE_INFO
    LsaIFree_LSAP_SITENAME_INFO
    LsaIFree_LSA_FOREST_TRUST_INFORMATION
    LsaIFree_LSA_FOREST_TRUST_COLLISION_INFORMATION
    LsaIFree_LSAP_UPN_SUFFIXES
    LsaISetClientDnsHostName

    LsaIRegisterPolicyChangeNotificationCallback
    LsaIUnregisterPolicyChangeNotificationCallback
    LsaIUnregisterAllPolicyChangeNotificationCallback
    LsaINotifyPasswordChanged
    LsaINotifyChangeNotification
    LsaIFilterSids

    LsaICryptProtectData
    LsaICryptUnprotectData

    LsaIImpersonateClient   = LsapImpersonateClient

;
; Internal interfaces used by Sam and Lsa
;
    LsaISetBootOption
    LsaIGetBootOption
    LsaIChangeSecretCipherKey

;
;   Interfaces used only within the LSA.
;
    LsapInitLsa
    LsapAuOpenSam
    ServiceInit
    LsaISetupWasRun
    LsapCheckBootMode

;
;   Interfaces used only by the Component Tests
;
    LsaIInitializeWellKnownSids
    LsaITestCall

;
;   Interfaces used by LsaDs
;
    LsapDsInitializeDsStateInfo
    LsapDsDebugInitialize
    LsarQueryTrustedDomainInfoByName
    LsarSetTrustedDomainInfoByName
    LsarEnumerateTrustedDomainsEx
    LsarCreateTrustedDomainEx
    LsapDsInitializePromoteInterface
    LsaIIsClassIdLsaClass
    LsaIDsNotifiedObjectChange
    LsaISamIndicatedDsStarted
    LsarOpenTrustedDomainByName

    LsaIKerberosRegisterTrustNotification

;
;   New trusted interfaces for LsaDs
;
    LsaIFreeForestTrustInfo
    LsaIQueryForestTrustInfo
    LsaIForestTrustFindMatch

;
;   Ds setup and configuration APIs
;
    DsRolerDcAsDc
    DsRolerDcAsReplica
    DsRolerDemoteDc
    DsRolerGetDcOperationProgress
    DsRolerGetDcOperationResults

;
;   Memory allocator interfaces
;

    LsaIAllocateHeap    =   LsapAllocatePrivateHeapNoZero
    LsaIAllocateHeapZero=   LsapAllocatePrivateHeap
    LsaIFreeHeap        =   LsapFreePrivateHeap

;
;   Netlogon registry key notificator
;

    LsaINotifyNetlogonParametersChangeW

