Obtains the capabilities of this DirectPlay object.
HRESULT GetCaps(
LPDPCAPS lpDPCaps,
DWORD dwFlags
);
Parameters
lpDPCaps
Pointer to a DPCAPS structure that will be filled with the capabilities of the DirectPlay object. The dwSize member of the DPCAPS structure must be filled in before using IDirectPlay3::GetCaps.
dwFlags
If this parameter is set to 0, the capabilities will be computed for nonguaranteed messaging.
Retrieves the capabilities for a guaranteed message delivery.
Return Values
Returns DP_OK if successful, or one of the following error values otherwise:
Remarks
This method returns the capabilities of the current session, while the IDirectPlay3::GetPlayerCaps method returns the capabilities of the requested player.
See Also