다음을 통해 공유


3.5.4.3.2 DsrGetDcNameEx (Opnum 27)

The DsrGetDcNameEx method is a predecessor to the DsrGetDcNameEx2 (section 3.5.4.3.1) method. The method SHOULD<159> return information about a domain controller in the specified domain and site. All parameters of this method have the same meanings as the identically named parameters of the DsrGetDcNameEx2 method.

 NET_API_STATUS DsrGetDcNameEx(
   [in, unique, string] LOGONSRV_HANDLE ComputerName,
   [in, unique, string] wchar_t* DomainName,
   [in, unique] GUID* DomainGuid,
   [in, unique, string] wchar_t* SiteName,
   [in] ULONG Flags,
   [out] PDOMAIN_CONTROLLER_INFOW* DomainControllerInfo
 );

On receiving this call, the server MUST perform all of the processing done on receiving the DsrGetDcNameEx2 call, except that any processing specific to the AccountName and AllowableAccountControlBits parameters is ignored. This function MUST be processed as if the AccountName and AllowableAccountControlBits parameters were not specified.