Microsoft DirectX 8.1 (C++)

IDirectPlay8Address::IsEqual

Compares two addresses to see if they are equal.

HRESULT IsEqual(
PDIRECTPLAY8ADDRESS pdpaAddress
);

Parameters

pdpaAddress
[in] Address to compare to the address contained within the object.

Return Values

If the method is successful, one of the following values is returned.

DPNSUCCESS_EQUAL
The two addresses are equal.
DPNSUCCESS_NOTEQUAL
The two addresses are not equal.

If the method fails, one of the following error values may be returned.

DPNERR_INVALIDADDRESSFORMAT
DPNERR_INVALIDOBJECT
DPNERR_INVALIDPOINTER

Remarks

This method checks the contents of the address specified by the pdpaAddress parameter and compares it to the address contained within the object this method was called on. This method does not affect the contents of either address.

Requirements

  Windows NT/2000/XP: Available as a redistributable for Windows 2000 and later.
  Windows 98/Me: Available as a redistributable for Windows 98 and later.
  Header: Declared in Dpaddr.h.