Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "GetIpNetTable" in [All]

iphlpapi

.
Summary
The GetIpNetTable function retrieves the IP-to-physical address mapping table.
.

[DllImport("iphlpapi.dll", EntryPoint="GetIpNetTable")]

.

static extern int GetIpNetTable(IntPtr pIpNetTable, ref int pdwSize, bool bOrder);

.

    Private Shared Function GetIpNetTable(pIpNetTable As IntPtr, <MarshalAs(UnmanagedType.U4)> ByRef pdwSize As Integer, bOrder As Boolean) As <MarshalAs(UnmanagedType.U4)> Integer

.

    namespace GetIpNetTable

.

          // Declare the GetIpNetTable function.

.

          static extern int GetIpNetTable(

.

         int result = GetIpNetTable(IntPtr.Zero, ref bytesNeeded, false);

.

            result = GetIpNetTable(buffer, ref bytesNeeded, false);

.

    Dim result As Integer = GetIpNetTable(IntPtr.Zero, bytesNeeded, False)

.

        result = GetIpNetTable(buffer, bytesNeeded, False)

.
Documentation
[GetIpNetTable] on MSDN
.

        /// if the pdwSize parameter is NULL, or GetIpNetTable is unable to write

.

        /// The GetIpNetTable function retrieves the IP-to-physical address mapping table.

.

        [DllImport("Iphlpapi.dll", EntryPoint="GetIpNetTable")]

.

        private static extern int GetIpNetTable(IntPtr pIpNetTable, ref int pdwSize, bool bOrder);


 
Access PInvoke.net directly from VS: