DRT_STATUS enumeration (drt.h)

The DRT_STATUS enumeration defines the status of a local DRT instance.

Syntax

typedef enum drt_status_tag {
  DRT_ACTIVE = 0,
  DRT_ALONE = 1,
  DRT_NO_NETWORK = 10,
  DRT_FAULTED = 20
} DRT_STATUS;

Constants

 
DRT_ACTIVE
Value: 0
The local node is connected to the DRT mesh and participating in the DRT system. This is also an indication that remote nodes exist and are present in the cache of the local node.
DRT_ALONE
Value: 1
The local node is participating in the DRT system, but is waiting for remote nodes to join the DRT mesh. This is an indication that remote nodes do not exist, or are not yet present in the cache of the local node.
DRT_NO_NETWORK
Value: 10
The local node does not have network connectivity.
DRT_FAULTED
Value: 20
A critical error has occurred in the local DRT instance. The DrtClose function must be called, after which an attempt to re-open the DRT can be made.

Requirements

Requirement Value
Minimum supported client Windows 7 Professional [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header drt.h

See also

DrtClose

DrtOpen