DPN_CAPS Structure

DirectPlay

 
Microsoft DirectX 9.0 SDK Update (Summer 2003)

DPN_CAPS Structure


Used when setting and retrieving general parameters for Microsoft® DirectPlay®.

Syntax

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 waits since the last time it received a packet from an endpoint, before it sends a keep alive message. The actual delay can vary from the specified value to as much as twice the specified value.

Structure Information

Headerdplay8.h
Minimum operating systems Windows 98, Pocket PC 2002

© 2003 Microsoft Corporation. All rights reserved.