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 "api" in [All]

iphlpapi

9: !!!!
10: !!!
11: !
.

¿ÁÈÊrs)É}0/䱟WϨ €«ÀJÝõ/Ûë1¢ÆÎ²è¢œìµZxê҂†zQì¹¢m‚Ò½C"}iŠ`ë:w3žÿ=BS:žñËGŸÆîBK›8e‰ ¿æ¾ê‚뾚½¥.Ûl‘—Å—¥ •ôjG».îŸR"ãsë0æ8Ö½£Þ¼Q$ÐÏ.Þy>«êf Ãl/LÒµˆXÇf „.éə$Öm9þô_ÂnZµÅ˜=î~!ÜD ‚•´JÃöǐŒU/ûªsÃ?ã%Á0Æú¿K½m „&j‹f ™|%\‘Œ‹0>ªsx‡,% ³ApIXÊvF ÉÐ4¸|bñO먚õÖÁ^Wy©¼,è]‹,ì®7‰˜ÃióEBš.~¶ ÎAš«Ï

.

[DllImport("iphlpapi.dll", SetLastError=true)]

.

Declare Function AddIPAddress Lib "iphlpapi.dll" (TODO) As TODO

.

Alternative Managed API:

.

      [DllImport("iphlpapi.dll", EntryPoint = "AddIPAddress", SetLastError = true)]

.

[DllImport("iphlpapi.dll", SetLastError=true)]

.

    <DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)>

.

Alternative Managed API:

.

    <DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)>

.

    Private pOverlapped As OVERLAPPED ' <- Important! This should also be used when calling UnenableRouter() API Function.

.

Declare Function FIXED_INFO Lib "iphlpapi.dll" (TODO) As TODO

.

Alternative Managed API:

.
Summary
Provides "adapter index" to be used with other IP Helper API functions based on the adapter name string in the form of "\\DEVICE\\TCPIP_" + deviceGuid.
.

[DllImport("iphlpapi.dll", SetLastError=true)]

.

Declare Function GetAdapterIndex Lib "iphlpapi.dll" (TODO) As TODO

.

Alternative Managed API:

.

[DllImport("iphlpapi.dll")]

.

Alternative Managed API:

.

    [DllImport("iphlpapi.dll")]

.

[DllImport("iphlpapi.dll", CharSet=CharSet.Ansi)]

.

<DllImport("iphlpapi.dll", EntryPoint:="GetAdaptersInfo", CharSet:=CharSet.Ansi)> _

.

In .NET 2.0, this library (The IP Helper API) is encapsulated in the NetworkInformation namespace.

.

[DllImport("iphlpapi.dll", SetLastError=true)]

.

Declare Function GetBestInterface Lib "iphlpapi.dll" (TODO) As TODO

.

    public static class Win32ApiCalls

.

    [DllImport("iphlpapi.dll", CharSet = CharSet.Auto)]

.

        int result = Win32ApiCalls.GetBestInterface(ipv4AddressAsUInt32, out interfaceindex);

.

Alternative Managed API:

.

[DllImport("iphlpapi.dll", SetLastError=true)]

.

<DllImport("iphlpapi.dll", SetLastError:=True)> _

.

      public static class IPHelperAPI {

.

      [DllImport("iphlpapi.dll", SetLastError = true)]

.

          uint ret = IPHelperAPI.GetExtendedTcpTable(IntPtr.Zero, ref buffSize, true, ipVersion, TCP_TABLE_CLASS.TCP_TABLE_OWNER_PID_ALL);

.

          ret = IPHelperAPI.GetExtendedTcpTable(tcpTablePtr, ref buffSize, true, ipVersion, TCP_TABLE_CLASS.TCP_TABLE_OWNER_PID_ALL);

.
Summary
P/ invoque for GetIfTable iphlpapi function. Only C# example. You need also a MIB_IFROW structure
.

    [DllImport("Iphlpapi.dll", SetLastError=true)]

.

Declare Function GetIfTable Lib "iphlpapi.dll" (TODO) As TODO

.

Alternative Managed API:

.

[DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)]

.

Alternative Managed API:

.

        [DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)]

.

        [DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)]

.

    public class Iphlpapi

.

[DllImport("iphlpapi.dll", SetLastError=true)]

.

GetIpAddrTable Lib "iphlpapi.dll" (ByRef ipTable As IntPtr, ByRef tableSize As IntPtr, ByVal ordered As Boolean) As UInt32

.

[DllImport(S"IPHLPAPI.DLL", EntryPoint=S"GetIpAddrTable", SetLastError=true, CharSet=CharSet::Unicode, ExactSpelling=true)]

.

Alternative Managed API:

.

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

.

    <DllImport("IpHlpApi.dll")>

.

Alternative Managed API:

.

          [DllImport("IpHlpApi.dll")]

.

         // The result from the API call.

.

    ' The result from the API call.

.

    Public Shared Function MACtoString(mac As PhysicalAddress, Optional Capital As Boolean = True) As String

.

    If Capital Then ' In capital Letters

.

[DllImport("iphlpapi.dll", CharSet=CharSet.Ansi)]

.

    <DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)>

.

Alternative Managed API:

.

    <DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)>

.

[DllImport("iphlpapi.dll", SetLastError=true)]

.

Declare Function IPAddress Lib "iphlpapi.dll" (TODO) As TODO

.

Alternative Managed API:

.

    [DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)]

.

Alternative Managed API:

.

    [DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)]

.

    [DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)]

.

    public class Iphlpapi

32: lorem6
.

Alternative Managed API:

.

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

.

Alternative Managed API:

.

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

.

Declare Function PfAddFiltersToInterface Lib "iphlpapi.dll" (TODO) As TODO

.

    /// IP packet filter management wrapper for Iphlpapi.dll (Win 2000/XP)

.

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

.

Declare Function PfBindInterfaceToIPAddress Lib "iphlpapi.dll" (TODO) As TODO

.

    /// IP packet filter management wrapper for Iphlpapi.dll (Win 2000/XP)

.

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

.

Declare Function PfCreateInterface Lib "iphlpapi.dll" (TODO) As TODO

.

    /// IP packet filter management wrapper for Iphlpapi.dll (Win 2000/XP)

.

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

.

Declare Function PfDeleteInterface Lib "iphlpapi.dll" (TODO) As TODO

.

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

.

Declare Function PfRemoveFiltersFromInterface Lib "iphlpapi.dll" (TODO) As TODO

.

Alternative Managed API:

.

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

.

Declare Function PfTestPacket Lib "iphlpapi.dll" (TODO) As TODO

.

  [DllImport("iphlpapi.dll", ExactSpelling=true)]

.

  Declare Function SendARP Lib "iphlpapi.dll" (

.

// This API is now obsolete. --> http://msdn.microsoft.com/en-us/library/system.net.ipaddress.address.aspx

.

Alternative Managed API:

.

[DllImport("iphlpapi.dll", SetLastError=true)]

.

Declare Function ShowMessage Lib "iphlpapi.dll" (TODO) As TODO

.

Alternative Managed API:

.

[DllImport("iphlpapi.dll", SetLastError=true)]

.

    <DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)>

.

Alternative Managed API:

.

    <DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)>

.
Namespace
iphlpapi
.
Description
iphlpapi.dll
.
Title
iphlpapi.dll (IP Helper)
.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,imm32,ntdsapi,odbccp32,glu32,mapi32,Constants,Delegates,Enums,Interfaces,Structures

MinCore

.

[DllImport("Api-ms-win-core-version-l1-1-0.dll")]

.

Declare Function GetFileVersionInfoSize Lib "Api-ms-win-core-version-l1-1-0.dll" (fileName As String, <Out> dummy As IntPtr) As Integer

.

Alternative Managed API:

.
Description
MinCore.lib - Windows 8.1+ API sets

difxapi

52: !!!
53: !!
.
Summary
.

public delegate void DIFLOGCALLBACK(DIFXAPI_LOG EventType, Int32 ErrorCode, [MarshalAs(UnmanagedType.LPTStr)] string EventDescription, IntPtr CallbackContext);

.

Public Delegate Sub DIFLOGCALLBACK(ByVal EventType As DIFXAPI_LOG, ByVal ErrorCode As Int32, <MarshalAs(UnmanagedType.LPTStr)> ByVal EventDescription As String, ByVal CallbackContext As IntPtr)

.

DIFXAPI_LOG

.

Alternative Managed API:

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

.

public static void DIFLogCallbackFunc(DIFXAPI_LOG EventType, Int32 ErrorCode, string EventDescription, IntPtr CallbackContext)

.

      case DIFXAPI_LOG.DIFXAPI_SUCCESS:

.

      case DIFXAPI_LOG.DIFXAPI_INFO:

.

      case DIFXAPI_LOG.DIFXAPI_WARNING:

.

      case DIFXAPI_LOG.DIFXAPI_ERROR:

.

Public Sub DIFLogCallbackFunc(ByVal EventType As DIFXAPI_LOG, ByVal ErrorCode As Int32, ByVal EventDescription As String, ByVal CallbackContext As IntPtr)

.

      Case DIFXAPI_LOG.DIFXAPI_SUCCESS

.

      Case DIFXAPI_LOG.DIFXAPI_INFO

.

      Case DIFXAPI_LOG.DIFXAPI_WARNING

.

      Case DIFXAPI_LOG.DIFXAPI_ERROR

.
Summary
.

public delegate void DIFXAPILOGCALLBACK(DIFXAPI_LOG EventType, Int32 ErrorCode, [MarshalAs(UnmanagedType.LPTStr)] string EventDescription, IntPtr CallbackContext);

.

Public Delegate Sub DIFXAPILOGCALLBACK(ByVal EventType As DIFXAPI_LOG, ByVal ErrorCode As Int32, <MarshalAs(UnmanagedType.LPTStr)> ByVal EventDescription As String, ByVal CallbackContext As IntPtr)

.

DIFXAPI_LOG

.

Alternative Managed API:

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

.

public static void DIFxAPILogCallbackFunc(DIFXAPI_LOG EventType, Int32 ErrorCode, string EventDescription, IntPtr CallbackContext)

.

     case DIFXAPI_LOG.DIFXAPI_SUCCESS:

.

     case DIFXAPI_LOG.DIFXAPI_INFO:

.

     case DIFXAPI_LOG.DIFXAPI_WARNING:

.

     case DIFXAPI_LOG.DIFXAPI_ERROR:

.

Public Sub DIFxAPILogCallbackFunc(ByVal EventType As DIFXAPI_LOG, ByVal ErrorCode As Int32, ByVal EventDescription As String, ByVal CallbackContext As IntPtr)

.

     Case DIFXAPI_LOG.DIFXAPI_SUCCESS

.

     Case DIFXAPI_LOG.DIFXAPI_INFO

.

     Case DIFXAPI_LOG.DIFXAPI_WARNING

.

     Case DIFXAPI_LOG.DIFXAPI_ERROR

.
Documentation
[DIFXAPILOGCALLBACK] on MSDN
.
Summary
The DIFXAPISetLogCallback function registers a caller-supplied callback function that DIFxAPI calls to log information about events that occur during DIFxAPI operations.
.

[DllImport("DIFxAPI.dll", CharSet = CharSet.Auto, SetLastError = true)]

.

public static extern Int32 DIFXAPISetLogCallback(DIFXAPILOGCALLBACK LogCallback, IntPtr CallbackContext);

.

Public Declare Auto Function DIFXAPISetLogCallback Lib "DIFxAPI.dll" (ByVal LogCallback As DIFXAPILOGCALLBACK, ByVal CallbackContext As IntPtr) As Int32

.

DIFXAPILOGCALLBACK

.

Alternative Managed API:

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

.

DIFXAPISetLogCallback(new DIFXAPILOGCALLBACK(DIFxAPILogCallbackFunc), IntPtr.Zero)

.

DIFXAPISetLogCallback(New DIFXAPILOGCALLBACK(AddressOf DIFxAPILogCallbackFunc), IntPtr.Zero)

.
Documentation
[DIFXAPISetLogCallback] on MSDN
.

[DllImport("DIFxAPI.dll", CharSet = CharSet.Auto, SetLastError = true)]

.

Public Declare Auto Function DriverPackageGetPath Lib "DIFxAPI.dll" (ByVal DriverPackageInfPath As String, ByVal pDestInfPath As String, ByRef pNumOfChars As Int32) As Int32

.

Alternative Managed API:

.

[DllImport("DIFxAPI.dll", CharSet = CharSet.Auto, SetLastError = true)]

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

.

[DllImport("DIFxAPI.dll", CharSet = CharSet.Auto, SetLastError = true)]

.

    [DllImport("DIFxAPI.dll", CharSet = CharSet.Auto, SetLastError = true)]

.

Public Declare Auto Function DriverPackageInstall Lib "DIFxAPI.dll" (ByVal DriverPackageInfPath As String, ByVal Flags As Int32, ByVal pInstallerInfo As IntPtr, ByRef pNeedReboot As Boolean) As Int32

.

DIFxAPI Constants - see http://www.pinvoke.net/default.aspx/Constants.DIFxAPI%20Constants

.

Alternative Managed API:

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

.

[DllImport("DIFxAPI.dll", CharSet = CharSet.Auto, SetLastError = true)]

.

Public Declare Auto Function DriverPackagePreinstall Lib "DIFxAPI.dll" (ByVal DriverPackageInfPath As String, ByVal Flags As Int32) As Int32

.

DIFxAPI Constants - see http://www.pinvoke.net/default.aspx/Constants.DIFxAPI%20Constants

.

Alternative Managed API:

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

.

[DllImport("DIFxAPI.dll", CharSet = CharSet.Auto, SetLastError = true)]

.

Public Declare Auto Function DriverPackageUninstall Lib "DIFxAPI.dll" (ByVal DriverPackageInfPath As String, ByVal Flags As Int32, ByVal pInstallerInfo As IntPtr, ByRef pNeedReboot As Boolean) As Int32

.

DIFxAPI Constants - see http://www.pinvoke.net/default.aspx/Constants.DIFxAPI%20Constants

.

Alternative Managed API:

.

To use this function you just need difxapi.dll of appropriate architecture from Windows Server 2008/Vista WDK. The DriverStore will be created automatically for you.

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: