IDirectPlay8Address::SetEqual Method

DirectPlay

 
Microsoft DirectX 9.0 SDK Update (Summer 2003)

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.

Syntax

HRESULT SetEqual(      
    PDIRECTPLAY8ADDRESS pdpaAddress );

Parameters

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.



© 2003 Microsoft Corporation. All rights reserved.