Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Address.SetDevice

Sets the local device GUID in the address object. If a local device is specified for this address, it is overwritten by this call.

SetDevice(guidDevice As String)

Parts

guidDevice
GUID of the local device.

Error Codes

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

DPNERR_NOTALLOWED