| 字词 | setconsolehistoryinfo |
| 释义 | SetConsoleHistoryInfo 语法: C++ BOOL WINAPI SetConsoleHistoryInfo( __in PCONSOLE_HISTORY_INFO lpConsoleHistoryInfo ); SetConsoleHistoryInfo功能 设置为调用进程的控制台设置的历史。 参数 lpConsoleHistoryInfo [in] 一个 CONSOLE_HISTORY_INFO结构,它包含该进程的控制台设置指针的历史。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 备注 如果调用过程不是一个控制台过程,函数失败并设置最后一个错误代码ERROR_ACCESS_DENIED。 要求: client最低支持Vista server最低支持 Windows Server 2008 HeaderWincon.h LibraryKernel32.lib DLLKernel32.dll 参见 控制台函数 CONSOLE_HISTORY_INFO GetConsoleHistoryInfo 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==SetConsoleHistoryInfo Function Sets the history settings for the calling process's console. Syntax C++ BOOL WINAPI SetConsoleHistoryInfo( __in PCONSOLE_HISTORY_INFO lpConsoleHistoryInfo ); Parameters lpConsoleHistoryInfo [in] A pointer to a CONSOLE_HISTORY_INFO structure that contains the history settings for the 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 code 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 GetConsoleHistoryInfo Send comments about this topic to Microsoft Build date: 8/27/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms686031(VS.85).aspx\n |
| 随便看 |
|
计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。