Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "DsAddressToSiteNames" in [All]

netapi32

.
Summary
The DsAddressToSiteNames function obtains the site names corresponding to the specified addresses.
.

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);

.
Documentation
[DsAddressToSiteNames] on MSDN

 
Access PInvoke.net directly from VS: