ReactOS  0.4.15-dev-439-g292f67a
dsgetdc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DOMAIN_CONTROLLER_INFOA
 
struct  _DOMAIN_CONTROLLER_INFOW
 
struct  _DS_DOMAIN_TRUSTSA
 
struct  _DS_DOMAIN_TRUSTSW
 

Macros

#define DS_DOMAIN_IN_FOREST   0x01
 
#define DS_DOMAIN_DIRECT_OUTBOUND   0x02
 
#define DS_DOMAIN_TREE_ROOT   0x04
 
#define DS_DOMAIN_PRIMARY   0x08
 
#define DS_DOMAIN_NATIVE_MODE   0x10
 
#define DS_DOMAIN_DIRECT_INBOUND   0x20
 
#define DsAddressToSiteNames   DsAddressToSiteNamesA
 
#define DsAddressToSiteNamesEx   DsAddressToSiteNamesExA
 
#define DsEnumerateDomainTrusts   DsEnumerateDomainTrustsA
 
#define DsGetDcName   DsGetDcNameA
 
#define DsGetDcSiteCoverage   DsGetDcSiteCoverageA
 
#define DsGetSiteName   DsGetSiteNameA
 
#define DsValidateSubnetName   DsValidateSubnetNameA
 

Typedefs

typedef struct _DOMAIN_CONTROLLER_INFOA DOMAIN_CONTROLLER_INFOA
 
typedef struct _DOMAIN_CONTROLLER_INFOAPDOMAIN_CONTROLLER_INFOA
 
typedef struct _DOMAIN_CONTROLLER_INFOW DOMAIN_CONTROLLER_INFOW
 
typedef struct _DOMAIN_CONTROLLER_INFOWPDOMAIN_CONTROLLER_INFOW
 
typedef struct _DS_DOMAIN_TRUSTSA DS_DOMAIN_TRUSTSA
 
typedef struct _DS_DOMAIN_TRUSTSAPDS_DOMAIN_TRUSTSA
 
typedef struct _DS_DOMAIN_TRUSTSW DS_DOMAIN_TRUSTSW
 
typedef struct _DS_DOMAIN_TRUSTSWPDS_DOMAIN_TRUSTSW
 
typedef DOMAIN_CONTROLLER_INFOA DOMAIN_CONTROLLER_INFO
 
typedef DOMAIN_CONTROLLER_INFOAPDOMAIN_CONTROLLER_INFO
 
typedef DS_DOMAIN_TRUSTSA DS_DOMAIN_TRUSTS
 
typedef DS_DOMAIN_TRUSTSAPDS_DOMAIN_TRUSTS
 

Functions

DWORD WINAPI DsAddressToSiteNamesA (LPCSTR ComputerName, DWORD EntryCount, PSOCKET_ADDRESS SocketAddresses, LPSTR **SiteNames)
 
DWORD WINAPI DsAddressToSiteNamesW (LPCWSTR ComputerName, DWORD EntryCount, PSOCKET_ADDRESS SocketAddresses, LPWSTR **SiteNames)
 
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 DsDeregisterDnsHostRecordsA (LPSTR ServerName, LPSTR DnsDomainName, GUID *DomainGuid, GUID *DsaGuid, LPSTR DnsHostName)
 
DWORD WINAPI DsDeregisterDnsHostRecordsW (LPWSTR ServerName, LPWSTR DnsDomainName, GUID *DomainGuid, GUID *DsaGuid, LPWSTR DnsHostName)
 
DWORD WINAPI DsEnumerateDomainTrustsA (LPSTR ServerName, ULONG Flags, PDS_DOMAIN_TRUSTSA *Domains, PULONG DomainCount)
 
DWORD WINAPI DsEnumerateDomainTrustsW (LPWSTR ServerName, ULONG Flags, PDS_DOMAIN_TRUSTSW *Domains, PULONG DomainCount)
 
DWORD WINAPI DsGetDcNameA (LPCSTR ComputerName, LPCSTR DomainName, GUID *DomainGuid, LPCSTR SiteName, ULONG Flags, PDOMAIN_CONTROLLER_INFOA *DomainControllerInfo)
 
DWORD WINAPI DsGetDcNameW (LPCWSTR ComputerName, LPCWSTR DomainName, GUID *DomainGuid, LPCWSTR SiteName, ULONG Flags, PDOMAIN_CONTROLLER_INFOW *DomainControllerInfo)
 
DWORD WINAPI DsGetDcSiteCoverageA (LPCSTR ServerName, PULONG EntryCount, LPSTR **SiteNames)
 
DWORD WINAPI DsGetDcSiteCoverageW (LPCWSTR ServerName, PULONG EntryCount, LPWSTR **SiteNames)
 
DWORD WINAPI DsGetForestTrustInformationW (LPCWSTR ServerName, LPCWSTR TrustedDomainName, DWORD Flags, PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo)
 
DWORD WINAPI DsGetSiteNameA (LPCSTR ComputerName, LPSTR *SiteName)
 
DWORD WINAPI DsGetSiteNameW (LPCWSTR ComputerName, LPWSTR *SiteName)
 
DWORD WINAPI DsMergeForestTrustInformationW (LPCWSTR DomainName, PLSA_FOREST_TRUST_INFORMATION NewForestTrustInfo, PLSA_FOREST_TRUST_INFORMATION OldForestTrustInfo, PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo)
 
DWORD WINAPI DsValidateSubnetNameA (LPCSTR SubnetName)
 
DWORD WINAPI DsValidateSubnetNameW (LPCWSTR SubnetName)
 

Macro Definition Documentation

◆ DS_DOMAIN_DIRECT_INBOUND

#define DS_DOMAIN_DIRECT_INBOUND   0x20

Definition at line 13 of file dsgetdc.h.

◆ DS_DOMAIN_DIRECT_OUTBOUND

#define DS_DOMAIN_DIRECT_OUTBOUND   0x02

Definition at line 9 of file dsgetdc.h.

◆ DS_DOMAIN_IN_FOREST

#define DS_DOMAIN_IN_FOREST   0x01

Definition at line 8 of file dsgetdc.h.

◆ DS_DOMAIN_NATIVE_MODE

#define DS_DOMAIN_NATIVE_MODE   0x10

Definition at line 12 of file dsgetdc.h.

◆ DS_DOMAIN_PRIMARY

#define DS_DOMAIN_PRIMARY   0x08

Definition at line 11 of file dsgetdc.h.

◆ DS_DOMAIN_TREE_ROOT

#define DS_DOMAIN_TREE_ROOT   0x04

Definition at line 10 of file dsgetdc.h.

◆ DsAddressToSiteNames

#define DsAddressToSiteNames   DsAddressToSiteNamesA

Definition at line 200 of file dsgetdc.h.

◆ DsAddressToSiteNamesEx

#define DsAddressToSiteNamesEx   DsAddressToSiteNamesExA

Definition at line 201 of file dsgetdc.h.

◆ DsEnumerateDomainTrusts

#define DsEnumerateDomainTrusts   DsEnumerateDomainTrustsA

Definition at line 202 of file dsgetdc.h.

◆ DsGetDcName

#define DsGetDcName   DsGetDcNameA

Definition at line 203 of file dsgetdc.h.

◆ DsGetDcSiteCoverage

#define DsGetDcSiteCoverage   DsGetDcSiteCoverageA

Definition at line 204 of file dsgetdc.h.

◆ DsGetSiteName

#define DsGetSiteName   DsGetSiteNameA

Definition at line 205 of file dsgetdc.h.

◆ DsValidateSubnetName

#define DsValidateSubnetName   DsValidateSubnetNameA

Definition at line 206 of file dsgetdc.h.

Typedef Documentation

◆ DOMAIN_CONTROLLER_INFO

Definition at line 198 of file dsgetdc.h.

◆ DOMAIN_CONTROLLER_INFOA

◆ DOMAIN_CONTROLLER_INFOW

◆ DS_DOMAIN_TRUSTS

Definition at line 199 of file dsgetdc.h.

◆ DS_DOMAIN_TRUSTSA

◆ DS_DOMAIN_TRUSTSW

◆ PDOMAIN_CONTROLLER_INFO

Definition at line 198 of file dsgetdc.h.

◆ PDOMAIN_CONTROLLER_INFOA

◆ PDOMAIN_CONTROLLER_INFOW

◆ PDS_DOMAIN_TRUSTS

Definition at line 199 of file dsgetdc.h.

◆ PDS_DOMAIN_TRUSTSA

◆ PDS_DOMAIN_TRUSTSW

Function Documentation

◆ DsAddressToSiteNamesA()

DWORD WINAPI DsAddressToSiteNamesA ( LPCSTR  ComputerName,
DWORD  EntryCount,
PSOCKET_ADDRESS  SocketAddresses,
LPSTR **  SiteNames 
)

◆ DsAddressToSiteNamesExA()

DWORD WINAPI DsAddressToSiteNamesExA ( LPCSTR  ComputerName,
DWORD  EntryCount,
PSOCKET_ADDRESS  SocketAddresses,
LPSTR **  SiteNames,
LPSTR **  SubnetNames 
)

◆ DsAddressToSiteNamesExW()

DWORD WINAPI DsAddressToSiteNamesExW ( LPCWSTR  ComputerName,
DWORD  EntryCount,
PSOCKET_ADDRESS  SocketAddresses,
LPWSTR **  SiteNames,
LPWSTR **  SubnetNames 
)

◆ DsAddressToSiteNamesW()

DWORD WINAPI DsAddressToSiteNamesW ( LPCWSTR  ComputerName,
DWORD  EntryCount,
PSOCKET_ADDRESS  SocketAddresses,
LPWSTR **  SiteNames 
)

◆ DsDeregisterDnsHostRecordsA()

DWORD WINAPI DsDeregisterDnsHostRecordsA ( LPSTR  ServerName,
LPSTR  DnsDomainName,
GUID DomainGuid,
GUID DsaGuid,
LPSTR  DnsHostName 
)

◆ DsDeregisterDnsHostRecordsW()

DWORD WINAPI DsDeregisterDnsHostRecordsW ( LPWSTR  ServerName,
LPWSTR  DnsDomainName,
GUID DomainGuid,
GUID DsaGuid,
LPWSTR  DnsHostName 
)

◆ DsEnumerateDomainTrustsA()

DWORD WINAPI DsEnumerateDomainTrustsA ( LPSTR  ServerName,
ULONG  Flags,
PDS_DOMAIN_TRUSTSA Domains,
PULONG  DomainCount 
)

◆ DsEnumerateDomainTrustsW()

DWORD WINAPI DsEnumerateDomainTrustsW ( LPWSTR  ServerName,
ULONG  Flags,
PDS_DOMAIN_TRUSTSW Domains,
PULONG  DomainCount 
)

◆ DsGetDcNameA()

DWORD WINAPI DsGetDcNameA ( LPCSTR  ComputerName,
LPCSTR  DomainName,
GUID DomainGuid,
LPCSTR  SiteName,
ULONG  Flags,
PDOMAIN_CONTROLLER_INFOA DomainControllerInfo 
)

◆ DsGetDcNameW()

DWORD WINAPI DsGetDcNameW ( LPCWSTR  ComputerName,
LPCWSTR  DomainName,
GUID DomainGuid,
LPCWSTR  SiteName,
ULONG  Flags,
PDOMAIN_CONTROLLER_INFOW DomainControllerInfo 
)

◆ DsGetDcSiteCoverageA()

DWORD WINAPI DsGetDcSiteCoverageA ( LPCSTR  ServerName,
PULONG  EntryCount,
LPSTR **  SiteNames 
)

◆ DsGetDcSiteCoverageW()

DWORD WINAPI DsGetDcSiteCoverageW ( LPCWSTR  ServerName,
PULONG  EntryCount,
LPWSTR **  SiteNames 
)

◆ DsGetForestTrustInformationW()

DWORD WINAPI DsGetForestTrustInformationW ( LPCWSTR  ServerName,
LPCWSTR  TrustedDomainName,
DWORD  Flags,
PLSA_FOREST_TRUST_INFORMATION ForestTrustInfo 
)

◆ DsGetSiteNameA()

DWORD WINAPI DsGetSiteNameA ( LPCSTR  ComputerName,
LPSTR SiteName 
)

◆ DsGetSiteNameW()

DWORD WINAPI DsGetSiteNameW ( LPCWSTR  ComputerName,
LPWSTR SiteName 
)

◆ DsMergeForestTrustInformationW()

DWORD WINAPI DsMergeForestTrustInformationW ( LPCWSTR  DomainName,
PLSA_FOREST_TRUST_INFORMATION  NewForestTrustInfo,
PLSA_FOREST_TRUST_INFORMATION  OldForestTrustInfo,
PLSA_FOREST_TRUST_INFORMATION ForestTrustInfo 
)

◆ DsValidateSubnetNameA()

DWORD WINAPI DsValidateSubnetNameA ( LPCSTR  SubnetName)

◆ DsValidateSubnetNameW()

DWORD WINAPI DsValidateSubnetNameW ( LPCWSTR  SubnetName)