Microsoft DirectX 9.0 SDK Update (Summer 2003) |
Creates a Microsoft® DirectPlay® Address object that duplicates the address in this object.
Syntax
HRESULT Duplicate(
PDIRECTPLAY8ADDRESS *ppdpaNewAddress );
Parameters
- 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_GENERIC An undefined error condition occurred.