PNRP_CLOUD_STATE enumeration (pnrpdef.h)

The PNRP_CLOUD_STATE enumeration specifies the different states a PNRP cloud can be in.

Syntax

typedef enum _PNRP_CLOUD_STATE {
  PNRP_CLOUD_STATE_VIRTUAL = 0,
  PNRP_CLOUD_STATE_SYNCHRONISING = 1,
  PNRP_CLOUD_STATE_ACTIVE = 2,
  PNRP_CLOUD_STATE_DEAD = 3,
  PNRP_CLOUD_STATE_DISABLED = 4,
  PNRP_CLOUD_STATE_NO_NET = 5,
  PNRP_CLOUD_STATE_ALONE = 6
} PNRP_CLOUD_STATE;

Constants

 
PNRP_CLOUD_STATE_VIRTUAL
Value: 0
The cloud is not yet initialized.
PNRP_CLOUD_STATE_SYNCHRONISING
Value: 1
The cloud is in the process of being initialized.
PNRP_CLOUD_STATE_ACTIVE
Value: 2
The cloud is active.
PNRP_CLOUD_STATE_DEAD
Value: 3
The cloud is initialized, but has lost its connection to the network.
PNRP_CLOUD_STATE_DISABLED
Value: 4
The cloud is disabled in the registry.
PNRP_CLOUD_STATE_NO_NET
Value: 5
The cloud was active, but has lost access to the network. In this state the cloud can still be used for registration but it is not capable of resolving addresses.
PNRP_CLOUD_STATE_ALONE
Value: 6
The local node bootstrapped, but found no other nodes in the cloud. This can also be the result of a network issue, like a firewall, preventing the local node from locating other nodes within the cloud. It is also important to note that a cloud in the PNRP_CLOUD_STATE_ALONE state may not have registered IP addresses.

Note  It is possible for a local node to lose network connectivity while in this cloud state and not make the transition to the PNRP_CLOUD_STATE_NO_NET state.

 

Requirements

Requirement Value
Minimum supported client Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack for Windows XP
Minimum supported server Windows Server 2008 [desktop apps only]
Header pnrpdef.h

See also

PNRP and WSALookupServiceNext

PNRPCLOUDINFO