FirewallLogPacket

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.

void FirewallLogPacket (
  const FW_LOG_ENTRY* pLogEntry
);

Parameters

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

Return Values

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

OS Versions: Windows CE .NET 4.2 and later.
Header: Fwapi.h.

See Also

IP Firewall Logging Reference

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.