title | description | author | ms.author | ms.topic | keywords | f1_keywords | MS-HAID | MSHAttr | ms.assetid | topic_type | api_name | api_location | api_type | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CONSOLE_HISTORY_INFO structure |
See reference information about the CONSOLE_HISTORY_INFO structure, which contains information about the console history. |
miniksa |
miniksa |
article |
console, character mode applications, command line applications, terminal applications, console api |
|
|
|
df7d2f12-5299-47ed-b1f6-2db903dba81b |
|
|
|
|
[!INCLUDE not-recommended-banner]
Contains information about the console history.
typedef struct {
UINT cbSize;
UINT HistoryBufferSize;
UINT NumberOfHistoryBuffers;
DWORD dwFlags;
} CONSOLE_HISTORY_INFO, *PCONSOLE_HISTORY_INFO;
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.
Value | Meaning |
---|---|
HISTORY_NO_DUP_FLAG 0x1 | Duplicate entries will not be stored in the history buffer. |
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | ConsoleApi3.h (via WinCon.h, include Windows.h) |