Microsoft DirectX 8.0 (C++)

IDirectPlay8Client::GetSPCaps

Retrieves the DPN_SP_CAPS structure for the specified service provider.

HRESULT GetSPCaps(
const GUID *const pguidSP,
DPN_SP_CAPS *const pdpnSPCaps,
const DWORD dwFlags
);

Parameters

pguidSP
Pointer to a GUID specifying the service provider you want to get information about.
pdpnSPCaps
Pointer to a DPN_SP_CAPS structure to receive the information about the specified service provider. You must set the pdpnSPCaps.dwSize member to the size of a DPN_SP_CAPS structure.
dwFlags
Reserved. Must be 0.

Return Values

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

DPNERR_INVALIDOBJECT
DPNERR_INVALIDPARAM
DPNERR_INVALIDPOINTER
DPNERR_UNINITIALIZED

Remarks

This method retrieves information about the specified service provider. A successful call to Initialize must be made before this method can be called.

Requirements

  Windows NT/2000: Available as a redistributable for Windows 2000 and later.
  Windows 95/98: Available as a redistributable for Windows 95 and later.
  Header: Declared in Dplay8.h.