Desktop Functions: Smart Device Functions:
|
Search Results for "DsGetDcName" in [All]netapi32
2: DsGetDcName
static extern int DsGetDcName
Declare Function DsGetDcName Lib "netapi32.dll" (TODO) As TODO Pointer to a PDOMAIN_CONTROLLER_INFO value that receives a pointer to a DOMAIN_CONTROLLER_INFO structure that contains data about the domain controller selected. This structure is allocated by DsGetDcName. The caller must free the structure using the NetApiBufferFree function when it is no longer required.
static extern int DsGetDcName
DSGETDCNAME_FLAGS flags,
public enum DSGETDCNAME_FLAGS : uint
int val = DsGetDcName("","",0,"",
DSGETDCNAME_FLAGS.DS_DIRECTORY_SERVICE_REQUIRED|
DSGETDCNAME_FLAGS.DS_RETURN_DNS_NAME|
DSGETDCNAME_FLAGS.DS_IP_REQUIRED, out pDCI);
if(DsGetDcName(null, null, null, null, 0, out pDCI)==0) |