Microsoft DirectX 9.0 SDK Update (Summer 2003) |
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_INVALIDPOINTER Pointer specified as a parameter is invalid. DPNERR_NOTALLOWED This function is not allowed on this object.