CompareFrameSourceAddress function

The CompareFrameSourceAddress function compares an address to the source address of a frame.

Syntax

BOOL WINAPI CompareFrameSourceAddress(
  _In_ HFRAME    hFrame,
  _In_ LPADDRESS lpAddress
);

Parameters

hFrame [in]

Handle to a frame.

lpAddress [in]

Pointer to an address.

Return value

If the addresses are the same, the return value is TRUE.

If the addresses are not the same, the return value is FALSE.

Remarks

For the CompareFrameSourceAddress function to succeed, the source address type must match the type of address specified in the lpAddress parameter.

Network Monitor provides two other functions for comparing addresses: CompareFrameDestAddress and CompareAddresses. The CompareFrameDestAddress function compares a given address to the frame's destination address, and the CompareAddress function compares two given addresses.

Experts and parsers can call the CompareFrameSourceAddress function.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h
Library
Nmapi.lib
DLL
Nmapi.dll

See also

CompareAddresses

CompareFrameDestAddress