Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get Domain Controller List Code Not Working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Get Domain Controller List Code Not Working
Divers
Thread ID:
00407805
Message ID:
00407805
Vues:
53
Mucking around with the API to enumerate all of the domain controllers in my area:
declare integer NetGetAnyDCName in NETAPI32 ; 
  STRING @servername , STRING @domainname , DOUBLE bufptr
  servername = .null.
  domainname = .null.
  bufptr = 400000
  nRetVal = NetGetAnyDCName(@servername,@domainname,bufptr)
  ? nRetVal
All I get is
'-1073741819'
. Any thoughts?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform