CONSOLE_HISTORY_INFO structure (Windows)

Switch View :
ScriptFree
CONSOLE_HISTORY_INFO structure

Applies to: desktop apps only

Contains information about the console history.

Syntax

typedef struct {
  UINT  cbSize;
  UINT  HistoryBufferSize;
  UINT  NumberOfHistoryBuffers;
  DWORD dwFlags;
} CONSOLE_HISTORY_INFO, *PCONSOLE_HISTORY_INFO;

Members

cbSize

The size of the structure, in bytes. Set this member to sizeof(CONSOLE_HISTORY_INFO).

HistoryBufferSize

The number of commands kept in each history buffer.

NumberOfHistoryBuffers

The number of history buffers kept for this console process.

dwFlags

This parameter can be zero or the following value.

ValueMeaning
HISTORY_NO_DUP_FLAG
0x1

Duplicate entries will not be stored in the history buffer.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wincon.h

See also

GetConsoleHistoryInfo
SetConsoleHistoryInfo

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012