TARGET_STATE enumeration (sessdirpublictypes.h)

Indicates the state of a target.

Syntax

typedef enum _TARGET_STATE {
  TARGET_UNKNOWN = 0x1,
  TARGET_INITIALIZING,
  TARGET_RUNNING,
  TARGET_DOWN,
  TARGET_HIBERNATED,
  TARGET_CHECKED_OUT,
  TARGET_STOPPED,
  TARGET_INVALID,
  TARGET_STARTING,
  TARGET_STOPPING,
  TARGET_MAXSTATE
} TARGET_STATE;

Constants

 
TARGET_UNKNOWN
Value: 0x1
The target state is unknown.
TARGET_INITIALIZING
The target is initializing.
TARGET_RUNNING
The target is running.
TARGET_DOWN
The target is not running. If a resource plug-in calls OnStateChange and the target is in this state, RD Connection Broker will delete the target object from its database.
TARGET_HIBERNATED
The target is hibernated.
TARGET_CHECKED_OUT
The target is checked out.
TARGET_STOPPED
The target is stopped.
TARGET_INVALID
TARGET_STARTING
TARGET_STOPPING
TARGET_MAXSTATE

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Header sessdirpublictypes.h

See also

Remote Desktop Virtualization API reference

SetTargetState

TargetState