Microsoft DirectX 8.1 (C++)

IDirectPlay8Address::Duplicate

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

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 Values

Returns S_OK if successful, or the following error value.

DPNERR_GENERIC

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.