MSTATE enumeration

[MSTATE is no longer available for use as of Windows Vista. See Windows Messenger for more information.]

Do not use. Specifies local or remote client state.

Note

The MSTATE enumerated type is available for use in Windows Messenger 4.7. It might be altered or unavailable in subsequent versions of Windows Messenger. You should use MISTATUS instead.

Syntax

typedef enum  { 
  MSTATE_UNKNOWN                          = 0x0000,
  MSTATE_OFFLINE                          = 0x0001,
  MSTATE_ONLINE                           = 0x0002,
  MSTATE_INVISIBLE                        = 0x0006,
  MSTATE_BUSY                             = 0x000A,
  MSTATE_BE_RIGHT_BACK                    = 0x000E,
  MSTATE_IDLE                             = 0x0012,
  MSTATE_AWAY                             = 0x0022,
  MSTATE_ON_THE_PHONE                     = 0x0032,
  MSTATE_OUT_TO_LUNCH                     = 0x0042,
  MSTATE_LOCAL_FINDING_SERVER             = 0x0100,
  MSTATE_LOCAL_CONNECTING_TO_SERVER       = 0x0200,
  MSTATE_LOCAL_SYNCHRONIZING_WITH_SERVER  = 0x0300,
  MSTATE_LOCAL_DISCONNECTING_FROM_SERVER  = 0x0400
} LockError;

Constants

MSTATE_UNKNOWN

The state of the local or remote client is unknown.

MSTATE_OFFLINE

The local or remote client is not connected to a server.

MSTATE_ONLINE

The local or remote client is connected to a server.

MSTATE_INVISIBLE

The local or remote client is connected to a server, but invisible to other users.

MSTATE_BUSY

The local or remote client is connected to a server and in a user-selected busy state.

MSTATE_BE_RIGHT_BACK

The local or remote client user is away from the computer for a short time. This is a user-selected state.

MSTATE_IDLE

The local or remote client has not detected mouse or keyboard input on the computer for a determined time. The user is most likely away from the computer. The user can select whether to transmit idle state and idle time threshold.

MSTATE_AWAY

The local or remote client user is away from the computer. This is a user-selected state.

MSTATE_ON_THE_PHONE

The local or remote client user is on the phone. This is a user-selected state.

MSTATE_OUT_TO_LUNCH

The local or remote client user is at lunch. This is a user-selected state.

MSTATE_LOCAL_FINDING_SERVER

The local client is attempting to find the server.

MSTATE_LOCAL_CONNECTING_TO_SERVER

The local client is connecting to the server.

MSTATE_LOCAL_SYNCHRONIZING_WITH_SERVER

The local client is synchronizing with the server.

MSTATE_LOCAL_DISCONNECTING_FROM_SERVER

The local client is disconnecting from the server.

Requirements

End of client support
Windows XP
End of server support
Windows Server 2003
Header
Mdisp.h
IDL
Mdisp.idl