Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Address.GetDevice

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

GetDevice() As String

Return Values

Returns a String value representing the device in the address object.

Error Codes

If the method fails, Err.Number can be set to the following value.

DPNERR_DOESNOTEXIST