Microsoft DirectX 8.0 (C++)

IDirectPlay8Address::GetDevice

Retrieves the local device GUID in the address object. If no device is specified, this method returns DPNERR_DOESNOTEXIST.

HRESULT GetDevice(
GUID* pguidDevice
);

Parameters

pguidDevice
Pointer to a GUID to receive the device in the address object.

Return Values

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

DPNERR_DOESNOTEXIST
DPNERR_INVALIDPOINTER

Requirements

  Windows NT/2000: Available as a redistributable for Windows 2000 and later.
  Windows 95/98: Available as a redistributable for Windows 95 and later.
  Header: Declared in Dpaddr.h.