Microsoft DirectX 9.0

IDirectPlay8Address::SetEqual Method

Sets the contents of the object it is called on to match the contents of the address object passed to the method.


HRESULT SetEqual(      

    PDIRECTPLAY8ADDRESS pdpaAddress );


[in] Pointer to a IDirectPlay8Address object that this object will be set to.

Return Value

Returns S_OK if successful, or one of the following error values.

DPNERR_INVALIDADDRESSFORMATThe address format is invalid.
DPNERR_INVALIDOBJECTThe Microsoft?DirectPlay?object pointer is invalid.
DPNERR_INVALIDPOINTERPointer specified as a parameter is invalid.

© 2002 Microsoft Corporation. All rights reserved.