Microsoft DirectX 8.0 (C++)

DPN_CAPS

Used to set and retrieve general parameters for DirectPlay.

typedef struct _DPN_CAPS{
    DWORD dwSize;
    DWORD dwFlags;
    DWORD dwConnectTimeout;
    DWORD dwConnectRetries;
    DWORD dwTimeoutUntilKeepAlive;
} DPN_CAPS, *PDPN_CAPS;

Members

dwSize
This value must be set to the size of the structure.
dwFlags
Reserved, this must be 0.
dwConnectTimeout
Number of milliseconds DirectPlay should wait before it retries a connection request.
dwConnectRetries
Number of connection retries DirectPlay should make during the connection process.
dwTimeoutUntilKeepAlive
Number of milliseconds DirectPlay should wait since the last time it received a packet from an endpoint, before it sends a keep-alive message.

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.