Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Class DPCaps

public final class DPCaps {
  public int dwSize;
  public int dwFlags;
  public int dwMaxBufferSize;
  public int dwMaxQueueSize;
  public int dwMaxPlayers;
  public int dwHundredBaud;
  public int dwLatency;
}

Contains the capabilities of a DirectPlay object after a call to the GetCaps or GetPlayerCaps methods. Any of these capabilities may differ depending on whether guaranteed or non-guaranteed capabilities are requested. This class is read-only.

See also dPlay, Send.

Fields

dwSize
Size of this class, in bytes. Must be initialized before the class is used.
dwFlags
One or more values of DPCAPS_ type, indicating the properties of the DirectPlay object.
dwMaxBufferSize
Maximum number of bytes that can be sent in a single packet by this service provider. Larger messages will be sent using more than one packet.
dwMaxQueueSize
This field is no longer used.
dwMaxPlayers
Maximum number of local and remote players supported in a session by this DirectPlay object.
dwHundredBaud
Bandwidth specified in multiples of one hundred bits per second. For example, a value of 24 specifies 2400 baud.
dwLatency
Latency estimate by the 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. Latency may differ depending on whether the application is interested in guaranteed or non-guaranteed message delivery.


Top© 1996 Microsoft Corporation. All rights reserved.