Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than netapi32, prefix the name with the module name and a period.
using HANDLE = System.IntPtr;
Declare Function DsGetDcNext Lib "netapi32.dll" (TODO) As TODO
[out, optional] Pointer to a ULONG value that receives the number of elements in the SockAddresses array. If this parameter is NULL, socket addresses are not retrieved.
[out, optional] Pointer to an array of SOCKET_ADDRESS structures that receives the socket address data for the domain controller. SockAddressCount receives the number of elements in this array.
All returned addresses will be of type AF_INET or AF_INET6. The sin_port member contains the port from the server record. A port of 0 indicates no port is available from DNS.
The caller must free this memory when it is no longer required by calling LocalFree.
This parameter is ignored if SockAddressCount is NULL.
[out, optional] Pointer to a string pointer that receives the DNS name of the domain controller. This parameter receives NULL if no host name is known. The caller must free this memory when it is no longer required by calling NetApiBufferFree.
Tips & Tricks:
Please add some!
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
The DsGetDcNext function retrieves the next domain controller in a domain controller enumeration operation.
7/13/2022 11:09:23 AM - 220.127.116.11
The DsGetDcOpen function opens a new domain controller enumeration operation
10/11/2007 11:16:43 AM - email@example.com
Frees the specified local memory object and invalidates its handle.
8/27/2008 3:05:46 PM - -18.104.22.168
Frees the memory allocated by network management functions.
6/21/2016 8:26:32 AM - -22.214.171.124
Please edit this page!
Do you have...