网站首页  词典首页

请输入您要查询的函数:

 

术语 getconsolehistoryinfo
释义 GetConsoleHistoryInfo
语法:
C++
BOOL WINAPI GetConsoleHistoryInfo(
__out PCONSOLE_HISTORY_INFO lpConsoleHistoryInfo
);
GetConsoleHistoryInfo功能
检索用于调用进程的控制台记录设置。
参数
lpConsoleHistoryInfo [out]
一个 CONSOLE_HISTORY_INFO结构,收到了调用进程的控制台设置指针的历史。
返回值
如果函数调用成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
如果调用过程不是一个控制台过程,函数失败并设置最后一个错误的ERROR_ACCESS_DENIED。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWincon.h
LibraryKernel32.lib
DLLKernel32.dll
参见
控制台函数
CONSOLE_HISTORY_INFO
SetConsoleHistoryInfo
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetConsoleHistoryInfo Function
Retrieves the history settings for the calling process's console.
Syntax
C++
BOOL WINAPI GetConsoleHistoryInfo(
__out PCONSOLE_HISTORY_INFO lpConsoleHistoryInfo
);
Parameters
lpConsoleHistoryInfo [out]
A pointer to a CONSOLE_HISTORY_INFO structure that receives the history settings for the calling process's console.
Return Value
If the function succeeds the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
If the calling process is not a console process, the function fails and sets the last error to ERROR_ACCESS_DENIED.
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWincon.h
LibraryKernel32.lib
DLLKernel32.dll
See Also
Console Functions
CONSOLE_HISTORY_INFO
SetConsoleHistoryInfo
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683166(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:26:05