Platform SDK: Active Directory, ADSI, and Directory Services |
The DsGetDcSiteCoverage function returns the site names of all sites covered by a domain controller.
DWORD DsGetDcSiteCoverage( LPCSTR ServerName, PULONG EntryCount LPSTR **SiteNames );
Value | Meaning |
---|---|
ERROR_NOT_ENOUGH_MEMORY | There was not enough memory to complete the operation. |
NO_ERROR | Success |
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsgetdc.h.
Library: Included as a resource in Ntdsapi.dll.
Unicode: Implemented as Unicode and ANSI versions on Windows 2000.