Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Client.GetCaps

Retrieves the DPN_CAPS type for the current object.

GetCaps([lFlags As Long]) As DPN_CAPS

Parts

lFlags
Reserved. Must be 0.

Return Values

Returns a DPN_CAPS type filled with session parameters.

Error Codes

If the method fails, Err.Number can be set to one of the following values.

DPNERR_INVALIDOBJECT
DPNERR_INVALIDPOINTER
DPNERR_INVALIDPARAM
DPNERR_UNINITIALIZED

Remarks

A successful call to DirectPlay8Client.RegisterMessageHandler must be made before this method can be called.