CONST_DPCAPSFLAGS
Constants of the CONST_DPCAPSFLAGS enumeration are used in the DPCAPS type to specify the capabilities of the DirectPlay object.
Enum CONST_DPCAPSFLAGS
DPCAPS_ASYNCCANCELALLSUPPORTED = 8192 (&H2000)
DPCAPS_ASYNCCANCELSUPPORTED = 4096 (&H1000)
DPCAPS_ASYNCSUPPORTED = 65536 (&H10000)
DPCAPS_ENCRYPTIONSUPPORTED = 256 (&H100)
DPCAPS_GROUPOPTIMIZED = 8
DPCAPS_GUARANTEEDOPTIMIZED = 32 (&H20)
DPCAPS_GUARANTEEDSUPPORTED = 64 (&H40)
DPCAPS_ISHOST = 2
DPCAPS_KEEPALIVEOPTIMIZED = 16 (&H10)
DPCAPS_SENDPRIORITYSUPPORTED = 32768 (&H8000)
DPCAPS_SENDTIMEOUTSUPPORTED = 16384 (&H4000)
DPCAPS_SIGNINGSUPPORTED = 128 (&H80)
End Enum
- DPCAPS_ASYNCCANCELALLSUPPORTED
- Canceling all pending asynchronous messages is supported. This flag indicates that the only form of cancellation supported is the ability to cancel all unsent messages. Any attempt to cancel messages by specifying a priority range or a message ID will return DPERR_UNSUPPORTED. By contrast, the DPCAPS_ASYNCCANCELSUPPORTED flag indicates that all types of cancellation are supported. Note that capabilities indicating which aspects of SendEx are supported are not available until after the session has been opened.
- DPCAPS_ASYNCCANCELSUPPORTED
- Canceling asynchronous messages is supported. All types of cancellation are supported: canceling by message ID, canceling by priority range, and canceling all unsent messages. Note that capabilities indicating which aspects of SendEx are supported are not available until after the session has been opened.
- DPCAPS_ASYNCSUPPORTED
- Asynchronous messaging is supported. Thus, an application can use the DPSEND_ASYNC flag on SendEx. Note that capabilities indicating which aspects of SendEx are supported are not available until after the session has been opened.
- DPCAPS_ENCRYPTIONSUPPORTED
- Message encryption is supported by this DirectPlay object, either because the session is a secure session, or because the service provider can encrypt messages.
- DPCAPS_GROUPOPTIMIZED
- The service provider bound to this DirectPlay object can optimize group (multicast) messaging.
- DPCAPS_GUARANTEEDOPTIMIZED
- The service provider bound to this DirectPlay object supports guaranteed message delivery.
- DPCAPS_GUARANTEEDSUPPORTED
- The DirectPlay object supports guaranteed message delivery, either because the service provider supports it, or because DirectPlay implements it on a nonguaranteed service provider.
- DPCAPS_ISHOST
- The DirectPlay object created by the calling application is the session host.
- DPCAPS_KEEPALIVEOPTIMIZED
- The service provider can detect when the connection to the session has been lost.
- DPCAPS_SENDPRIORITYSUPPORTED
- The message priority set in SendEx is supported. Note that capabilities indicating which aspects of SendEx are supported are not available until after the session has been opened.
- DPCAPS_SENDTIMEOUTSUPPORTED
- The time-out for messages specified in SendEx is supported. This flag can be set by the service provider or by DirectPlay. Note that capabilities indicating which aspects of SendEx are supported are not available until after the session has been opened.
- DPCAPS_SIGNINGSUPPORTED
- Message authentication is supported by this DirectPlay object, either because it is a secure session, or because the service provider can sign messages.