184.108.40.206.9 DsrAddressToSiteNamesExW (Opnum 37)
The DsrAddressToSiteNamesExW method<234> translates a list of socket addresses into their corresponding site names and subnet names. For details about the mapping from socket address to subnet/site name, see [MS-ADTS] sections 220.127.116.11.2.1 and 18.104.22.168.2.2.
NET_API_STATUS DsrAddressToSiteNamesExW( [in, unique, string] LOGONSRV_HANDLE ComputerName, [in, range(0, 32000)] DWORD EntryCount, [in, size_is(EntryCount)] PNL_SOCKET_ADDRESS SocketAddresses, [out] PNL_SITE_NAME_EX_ARRAY* SiteNames );
EntryCount: The number of socket addresses specified in SocketAddresses. The maximum value for EntryCount is 32000.<235>
SiteNames: A pointer to an NL_SITE_NAME_EX_ARRAY structure (section 22.214.171.124.3) that contains an array of site names and an array of subnet names that correspond to socket addresses in SocketAddresses. The number of entries returned is equal to EntryCount. The fields of an entry are set to zero if the corresponding socket address does not map to any site, or if the address family of the socket address is not IPV4 or IPV6. The mapping of IP addresses to sites is specified in [MS-ADTS] section 126.96.36.199.2.1.
Return Values: The method returns 0x00000000 on success; otherwise, it returns a nonzero error code.<236>