?/TD>
Microsoft DirectX 9.0

IDirectPlay8Address::SetDevice Method


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

Syntax

HRESULT SetDevice(      

    const GUID *const pguidDevice );

Parameters

pguidDevice
[in] Pointer to a GUID of the local device.

Return Value

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

DPNERR_INVALIDPOINTERPointer specified as a parameter is invalid.
DPNERR_NOTALLOWEDThis function is not allowed on this object.




© 2002 Microsoft Corporation. All rights reserved.