Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
dssetp.ch
Abstract:
local funciton prototypes/defines
Author:
Mac McLain (MacM) Feb 10, 1997
Environment:
User Mode
Revision History:
--*/ #ifndef __LSA_H__
#define __LSA_H__
#include <lsarpc.h>
#include <lsaisrv.h>
typedef struct {
BOOLEAN PolicyBackedUp; BOOLEAN EfsPolicyPresent; PPOLICY_ACCOUNT_DOMAIN_INFO AccountDomainInfo; PPOLICY_DNS_DOMAIN_INFO DnsDomainInfo; PPOLICY_LSA_SERVER_ROLE_INFO ServerRoleInfo; PPOLICY_DOMAIN_EFS_INFO EfsPolicy;
} DSROLEP_DOMAIN_POLICY_INFO, *PDSROLEP_DOMAIN_POLICY_INFO;
DWORD DsRolepSetLsaDnsInformationNoParent( IN LPWSTR DnsDomainName );
DWORD DsRolepSetLsaInformationForReplica( IN HANDLE CallerToken, IN LPWSTR ReplicaPartner, IN LPWSTR Account, IN LPWSTR Password );
DWORD DsRolepSetLsaDomainPolicyInfo( IN LPWSTR DnsDomainName, IN LPWSTR FlatDomainName, IN LPWSTR EnterpriseDnsName, IN GUID *DomainGuid, IN PSID DomainSid, DWORD InstallOptions, OUT PDSROLEP_DOMAIN_POLICY_INFO DomainPolicyInfo );
DWORD DsRolepBackupDomainPolicyInfo( IN PLSA_HANDLE LsaHandle, OPTIONAL OUT PDSROLEP_DOMAIN_POLICY_INFO DomainInfo );
DWORD DsRolepRestoreDomainPolicyInfo( IN PDSROLEP_DOMAIN_POLICY_INFO DomainPolicyInfo );
DWORD DsRolepFreeDomainPolicyInfo( IN PDSROLEP_DOMAIN_POLICY_INFO DomainPolicyInfo );
DWORD DsRolepUpgradeLsaToDs( BOOLEAN InitializeLsa );
VOID DsRolepFindSelfAndParentInForest( IN PLSAPR_FOREST_TRUST_INFO ForestTrustInfo, OUT PLSAPR_TREE_TRUST_INFO CurrentEntry, IN PUNICODE_STRING LocalDomain, OUT PLSAPR_TREE_TRUST_INFO *ParentEntry, OUT PLSAPR_TREE_TRUST_INFO *OwnEntry );
#endif // __LSA_H__
|