Microsoft DirectX 9.0

IDirectPlay8Address::GetSP Method

Retrieves the service provider globally unique identifier (GUID) in the address object. If no service provider is specified, this method returns DPNERR_DOESNOTEXIST.


HRESULT GetSP(      

    GUID *pguidSP );


[out] Pointer to a GUID to receive the service provider in the address object.

Return Value

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

DPNERR_DOESNOTEXISTRequested element is not part of the address.
DPNERR_INVALIDPOINTERPointer specified as a parameter is invalid.

© 2002 Microsoft Corporation. All rights reserved.