CompareFrameDestAddress

The CompareFrameDestAddress function compares an address to the destination address of a frame.

BOOL WINAPICompareFrameDestAddress(HFRAMEhFrame,
LPADDRESSlpAddress);

Parameters

  • hFrame
    [in] Handle to a frame.
  • lpAddress
    [in] Pointer to an address.

Return Values

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 CompareFrameDestAddress function to return successfully, the destination address type must match the type of address specified in the lpAddress parameter.

Network Monitor provides two other functions, CompareFrameSourceAddress and CompareAddresses, which you can use to compare addresses. The CompareFrameSourceAddress function compares a given address to the frame's source address, and the CompareAddress function compares two given addresses.

Experts and parsers can call the CompareFrameDestAddress function.

Requirements

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.

Library

Link to Nmapi.lib.

DLL Requires Nmapi.dll.

See Also

CompareAddresses, CompareFrameSourceAddress