Microsoft DirectX 9.0 SDK Update (Summer 2003) |
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.
Syntax
HRESULT GetSP(
GUID *pguidSP );
Parameters
- 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_DOESNOTEXIST Requested element is not part of the address. DPNERR_INVALIDPOINTER Pointer specified as a parameter is invalid.