8#define DS_DOMAIN_IN_FOREST 0x01
9#define DS_DOMAIN_DIRECT_OUTBOUND 0x02
10#define DS_DOMAIN_TREE_ROOT 0x04
11#define DS_DOMAIN_PRIMARY 0x08
12#define DS_DOMAIN_NATIVE_MODE 0x10
13#define DS_DOMAIN_DIRECT_INBOUND 0x20
190#define DsAddressToSiteNames DsAddressToSiteNamesW
191#define DsAddressToSiteNamesEx DsAddressToSiteNamesExW
192#define DsEnumerateDomainTrusts DsEnumerateDomainTrustsW
193#define DsGetDcName DsGetDcNameW
194#define DsGetDcSiteCoverage DsGetDcSiteCoverageW
195#define DsGetSiteName DsGetSiteNameW
196#define DsValidateSubnetName DsValidateSubnetNameW
200#define DsAddressToSiteNames DsAddressToSiteNamesA
201#define DsAddressToSiteNamesEx DsAddressToSiteNamesExA
202#define DsEnumerateDomainTrusts DsEnumerateDomainTrustsA
203#define DsGetDcName DsGetDcNameA
204#define DsGetDcSiteCoverage DsGetDcSiteCoverageA
205#define DsGetSiteName DsGetSiteNameA
206#define DsValidateSubnetName DsValidateSubnetNameA
DWORD WINAPI DsMergeForestTrustInformationW(LPCWSTR DomainName, PLSA_FOREST_TRUST_INFORMATION NewForestTrustInfo, PLSA_FOREST_TRUST_INFORMATION OldForestTrustInfo, PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo)
DWORD WINAPI DsGetSiteNameW(LPCWSTR ComputerName, LPWSTR *SiteName)
DWORD WINAPI DsDeregisterDnsHostRecordsW(LPWSTR ServerName, LPWSTR DnsDomainName, GUID *DomainGuid, GUID *DsaGuid, LPWSTR DnsHostName)
struct _DS_DOMAIN_TRUSTSA * PDS_DOMAIN_TRUSTSA
DWORD WINAPI DsGetDcNameW(LPCWSTR ComputerName, LPCWSTR DomainName, GUID *DomainGuid, LPCWSTR SiteName, ULONG Flags, PDOMAIN_CONTROLLER_INFOW *DomainControllerInfo)
DS_DOMAIN_TRUSTSA * PDS_DOMAIN_TRUSTS
DS_DOMAIN_TRUSTSA DS_DOMAIN_TRUSTS
DOMAIN_CONTROLLER_INFOA DOMAIN_CONTROLLER_INFO
DOMAIN_CONTROLLER_INFOA * PDOMAIN_CONTROLLER_INFO
DWORD WINAPI DsDeregisterDnsHostRecordsA(LPSTR ServerName, LPSTR DnsDomainName, GUID *DomainGuid, GUID *DsaGuid, LPSTR DnsHostName)
DWORD WINAPI DsEnumerateDomainTrustsW(LPWSTR ServerName, ULONG Flags, PDS_DOMAIN_TRUSTSW *Domains, PULONG DomainCount)
struct _DOMAIN_CONTROLLER_INFOA DOMAIN_CONTROLLER_INFOA
struct _DS_DOMAIN_TRUSTSW * PDS_DOMAIN_TRUSTSW
DWORD WINAPI DsGetSiteNameA(LPCSTR ComputerName, LPSTR *SiteName)
DWORD WINAPI DsGetForestTrustInformationW(LPCWSTR ServerName, LPCWSTR TrustedDomainName, DWORD Flags, PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo)
struct _DS_DOMAIN_TRUSTSW DS_DOMAIN_TRUSTSW
DWORD WINAPI DsValidateSubnetNameA(LPCSTR SubnetName)
DWORD WINAPI DsGetDcNameA(LPCSTR ComputerName, LPCSTR DomainName, GUID *DomainGuid, LPCSTR SiteName, ULONG Flags, PDOMAIN_CONTROLLER_INFOA *DomainControllerInfo)
DWORD WINAPI DsGetDcSiteCoverageA(LPCSTR ServerName, PULONG EntryCount, LPSTR **SiteNames)
DWORD WINAPI DsAddressToSiteNamesW(LPCWSTR ComputerName, DWORD EntryCount, PSOCKET_ADDRESS SocketAddresses, LPWSTR **SiteNames)
DWORD WINAPI DsValidateSubnetNameW(LPCWSTR SubnetName)
DWORD WINAPI DsAddressToSiteNamesExA(LPCSTR ComputerName, DWORD EntryCount, PSOCKET_ADDRESS SocketAddresses, LPSTR **SiteNames, LPSTR **SubnetNames)
DWORD WINAPI DsAddressToSiteNamesExW(LPCWSTR ComputerName, DWORD EntryCount, PSOCKET_ADDRESS SocketAddresses, LPWSTR **SiteNames, LPWSTR **SubnetNames)
DWORD WINAPI DsEnumerateDomainTrustsA(LPSTR ServerName, ULONG Flags, PDS_DOMAIN_TRUSTSA *Domains, PULONG DomainCount)
DWORD WINAPI DsGetDcSiteCoverageW(LPCWSTR ServerName, PULONG EntryCount, LPWSTR **SiteNames)
struct _DOMAIN_CONTROLLER_INFOW * PDOMAIN_CONTROLLER_INFOW
struct _DS_DOMAIN_TRUSTSA DS_DOMAIN_TRUSTSA
DWORD WINAPI DsAddressToSiteNamesA(LPCSTR ComputerName, DWORD EntryCount, PSOCKET_ADDRESS SocketAddresses, LPSTR **SiteNames)
struct _DOMAIN_CONTROLLER_INFOA * PDOMAIN_CONTROLLER_INFOA
struct _DOMAIN_CONTROLLER_INFOW DOMAIN_CONTROLLER_INFOW
LPSTR DomainControllerName
ULONG DomainControllerAddressType
LPSTR DomainControllerAddress
LPWSTR DomainControllerName
LPWSTR DomainControllerAddress
ULONG DomainControllerAddressType
_Must_inspect_result_ _In_ ULONG Flags