Syntax
typedef struct tagConsoleAttribsStruct
{
DWORD ActiveChannel;
DWORD InputFlags;
DWORD OutputFlags;
DWORD MaxChannels;
BYTE ChannelState[];
} CONSOLEATTRIBUTES, *LPCONSOLEATTRIBUTES;
Fields
ActiveChannel
- (D-RTOS only) The current active channel, the ID of the node which currently owns the console. This field may be modified before a call to SetRtConsoleOwner to change the active channel.
InputFlags
- The console input flags. Affects how console input is processed. Supported flags include RAW_MODE and NOECHO_MODE.
OutputFlags
- The console output flags. Affects how console output is processed. Not currently used and should be set to zero.
MaxChannels
- (D-RTOS only) The maximum number of console channels available on this host.
ChannelState
- (D-RTOS only) Array of fields giving the current state of each channel. Each element corresponds to a console channel and may take one of the following values:
-
NODE_ACTIVE
- Channel is currently active
NODE_CONFIGURED
- Channel is configured but not currently active
Requirements
Versions |
Defined in |
Include |
Link to |
INtime 6.0 |
intime/rt/include/rtdef.h |
rt.h |
rt.lib |
See Also