C language function:DsGetSiteName sample codes

Search sample code in the internet.It is the result.


TITLE : Active Directory Coding How to automate AD tasks
private static extern int DsGetSiteName(string ComputerName, out IntPtr SiteName);.......
http://adcoding.com/


TITLE : Active Directory Coding How to automate AD tasks
if (DsGetSiteName(.......
http://adcoding.com/
TITLE : DsGetSiteName function (Windows)
DWORD DsGetSiteName(.......
http://msdn.microsoft.com/en-us/library/ms675992(v=vs.85).aspx
TITLE : pinvoke.net: dsgetsitename (netapi32)
static extern UInt32 DsGetSiteName([MarshalAs(UnmanagedType.LPTStr)]string ComputerName, out IntPtr SiteNameBuffer);.......
http://www.pinvoke.net/default.aspx/netapi32.dsgetsitename
TITLE : pinvoke.net: dsgetsitename (netapi32)
Private Shared Function DsGetSiteName( _.......
http://www.pinvoke.net/default.aspx/netapi32.dsgetsitename
TITLE : pinvoke.net: dsgetsitename (netapi32)
UInt32 result = DsGetSiteName(ComputerName, out pBuffer);.......
http://www.pinvoke.net/default.aspx/netapi32.dsgetsitename
TITLE : pinvoke.net: dsgetsitename (netapi32)
Dim result As UInt32 = DsGetSiteName("MEASUS", pBuffer).......
http://www.pinvoke.net/default.aspx/netapi32.dsgetsitename
search Google

https://www.google.com/#q=DsGetSiteName