Редагувати

Поділитися через


CompareFrameDestAddress function

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

Syntax

BOOL WINAPI CompareFrameDestAddress(
  _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 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

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

CompareFrameSourceAddress