VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get your Server name - the easy way

murali bala  (7 Submissions)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Mon 15th November 2004   Mon 8th February 2021

Get your Server name - the easy way

API Declarations



Private Declare Function lstrlenW Lib "kernel32" _
(ByVal lpString As Long) As Long
Private Declare Sub CopyMemory Lib "kernel32" _
Alias "RtlMoveMemory" (Destination As Any, Source As Any, _
ByVal Length As Long)
Private Declare Function NetGetDCName Lib _
"Netapi32.dll" (strServer As Any, strDomain As Any, _
bufptr As Long) As Long
Private Declare Function NetApiBufferFree Lib _
"Netapi32.dll" (ByVal lpBuffer As Long) As Long


Rate Get your Server name - the easy way (1(1 Vote))
Get your Server name - the easy way.bas

Get your Server name - the easy way Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters