Share via


FirewallLogPacket

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This callback function is an application-defined function, and is required. The logging DLL must export this function. The firewall calls this function for every packet that is logged.

Syntax

void FirewallLogPacket (
  const FW_LOG_ENTRY* pLogEntry
);

Parameters

  • pLogEntry
    [in] Pointer to FW_LOG_ENTRY with information about the packet.

Return Value

None.

Remarks

This is one of three functions that are called by firewall that the logging DLL exports.

When this function is called, the firewall passes a pointer to FW_LOG_ENTRY, which logs packet information. The pointer is valid only during the call. The logging DLL must not store this pointer after it returns.

Requirements

Header fwapi.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IP Firewall Logging Reference