DPCAPS

typedef struct {

DWORD dwSize;

DWORD dwFlags;

DWORD dwMaxBufferSize;

DWORD dwMaxQueueSize;

DWORD dwMaxPlayers;

DWORD dwHundredBaud;

DWORD dwLatency;

} DPCAPS;

Contains the capabilities of a DirectPlay object after a call to the IDirectPlay::GetCaps method. This structure is read-only.

dwSize

Size of this structure, in bytes. Must be initialized before the structure is used.

dwFlags

Specifies the optional control flags.

DPCAPS_GUARANTEED

Supports verification of received messages. Retransmits the message, if necessary.

DPCAPS_NAMESERVER

The computer represented by the calling application is the name server.

DPCAPS_NAMESERVICE

A name server is supported.

dwMaxBufferSize

Maximum buffer size for this DirectPlay object.

dwMaxQueueSize

Maximum queue size for this DirectPlay object.

dwMaxPlayers

Maximum number of players supported in a session.

dwHundredBaud

Baud rate specified in hundredths. For example, 2400 baud is represented by the value 24.

dwLatency

Latency estimate per service provider, in milliseconds. If this value is 0, DirectPlay cannot provide an estimate. Accuracy for some service providers rests on application-to-application testing, taking into consideration the average message size.