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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "PfCreateInterface" in [All]

iphlpapi

.

        result = IpPacketFilter.PfCreateInterface(0, PFFORWARD_ACTION.PF_ACTION_FORWARD, PFFORWARD_ACTION.PF_ACTION_FORWARD, FALSE, TRUE, ref interfaceHandle);

.

        result = IpPacketFilter.PfCreateInterface(0, PFFORWARD_ACTION.PF_ACTION_FORWARD, PFFORWARD_ACTION.PF_ACTION_FORWARD, FALSE, TRUE, ref interfaceHandle);

.
Summary
The PfCreateInterface function creates a new filter interface. Use this interface to control the adding and deleting of filters to and from network adapters.
.

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

.

    static extern Int32 PfCreateInterface(int dwName, uint inAction, uint outAction, int bUseLog, int bMustBeUnique, ref IntPtr ppInterface);

.

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

.

    /// The PfCreateInterface function creates a new filter interface. Use this interface to control the adding and deleting of filters to and from adapters.

.

        result = IpPacketFilter.PfCreateInterface(0, PFFORWARD_ACTION.PF_ACTION_FORWARD, PFFORWARD_ACTION.PF_ACTION_FORWARD, FALSE, TRUE, ref interfaceHandle);

.
Documentation
.
Summary
The PfDeleteInterface function deletes an interface that was previously created using PfCreateInterface.
.

    /// The PfDeleteInterface function deletes an interface that was previously created using PfCreateInterface.

.

    /// <param name="pInterface">[in] Specifies an interface handle obtained from a previous call to PfCreateInterface.</param>


 
Access PInvoke.net directly from VS: