Desktop Functions: Smart Device Functions:
|
Search Results for "DsAddressToSiteNames" in [All]netapi32
public static extern int DsAddressToSiteNames(string computerName, int entryCount, SOCKET_ADDRESS[] socketAddresses, ref IntPtr siteNames);
Declare Function DsAddressToSiteNames Lib "netapi32.dll" (TODO) As TODO Prior to calling he DsAddressToSiteNames function, a SOCKET_ADDRESS structure must be created for each address that is to be resolved to a site name. This can be done using the WSAStringToAddress method shown in the sample code.
result = DsAddressToSiteNames("domaincontroller.mydomain.com", 1, SocketAddresses, ref pSites); |