网站首页  词典首页

请输入您要查询的函数:

 

术语 arefileapisansi
释义 AreFileApisANSI
语法:
C++
BOOL WINAPI AreFileApisANSI(void);
AreFileApisANSI功能
确定是否该文件I / O功能使用的是ANSI或OEM字符集的代码页。此功能可用于8位控制台输入和输出操作。
参数
这个函数没有参数。
返回值
如果文件设置/ O功能使用的是ANSI代码页,则返回值为非零。
如果文件设置/ O功能使用的是OEM代码页,返回值是零。
备注
该SetFileApisToOEM功能导致的文件I / O功能使用OEM代码页设置。在SetFileApisToANSI功能的原因,包括文件I / O功能,使用ANSI代码页相同。使用AreFileApisANSI功能,以确定哪些代码页的文件设置/ O功能正在使用。有关这些功能'使用情况的讨论,请看到SetFileApisToOEM和SetFileApisToANSI的备注部分。
该文件I / O功能的代码页是由AreFileApisANSI确定由KERNEL32.DLL的出口,接受或返回一个文件名的功能。
职能SetFileApisToOEM和SetFileApisToANSI设置一个进程的代码页,所以AreFileApisANSI返回一个值,表示对整个过程的代码页。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinBase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
文件管理函数
SetFileApisToANSI
SetFileApisToOEM
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==AreFileApisANSI Function
Determines whether the file I/O functions are using the ANSI or OEM character set code page. This function is useful for 8-bit console input and output operations.
Syntax
C++
BOOL WINAPI AreFileApisANSI(void);
Parameters
This function has no parameters.
Return Value
If the set of file I/O functions is using the ANSI code page, the return value is nonzero.
If the set of file I/O functions is using the OEM code page, the return value is zero.
Remarks
The SetFileApisToOEM function causes a set of file I/O functions to use the OEM code page. The SetFileApisToANSI function causes the same set of file I/O functions to use the ANSI code page. Use the AreFileApisANSI function to determine which code page the set of file I/O functions is currently using. For a discussion of these functions' usage, please see the Remarks sections of SetFileApisToOEM and SetFileApisToANSI.
The file I/O functions whose code page is ascertained by AreFileApisANSI are those functions exported by KERNEL32.DLL that accept or return a file name.
The functions SetFileApisToOEM and SetFileApisToANSI set the code page for a process, so AreFileApisANSI returns a value indicating the code page of an entire process.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinBase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
File Management Functions
SetFileApisToANSI
SetFileApisToOEM
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa363781(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 11:30:30