Microsoft DirectX 9.0

IDirectPlay8Address::Duplicate Method

Creates a Microsoft?DirectPlay?Address object that duplicates the address in this object.


HRESULT Duplicate(      

    PDIRECTPLAY8ADDRESS *ppdpaNewAddress );


[out] Address of a pointer to receive the IDirectPlay8Address pointer for the duplicate object. DirectPlay increments the reference count for this interface. You must release the interface when you no longer need it.

Return Value

Returns S_OK if successful, or the following error value.

DPNERR_GENERICAn undefined error condition occurred.

© 2002 Microsoft Corporation. All rights reserved.