Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library
kernel32.lib
Header File
winbase.h
Unicode
No
Platform Notes
On Win32s the file APIs are always ANSI

AreFileApisANSI

The AreFileApisANSI function determines whether a set of Win32 file functions is using the ANSI or OEM character set code page. This function is useful for 8-bit console input and output operations.

BOOL AreFileApisANSI (VOID)

Parameters

This function has no parameters.

Return Values

If the set of Win32 file functions is using the ANSI code page, the return value is nonzero.

If the set of Win32 file functions is using the OEM code page, the return value is zero.

Remarks

The SetFileApisToOEM function causes a set of Win32 file functions to use the OEM code page. The SetFileApisToANSI function causes the same set of Win32 file functions to use the ANSI code page. Use the AreFileApisANSI function to determine which code page the set of file functions is currently using. For a discussion of their usage, please refer to the Remarks sections of SetFileApisToOEM and SetFileApisToANSI.

The following is the set of Win32 file functions whose code page is ascertained by the AreFileApisANSI function:

_lopen
GetDriveType
LoadLibrary
CopyFile
GetFileAttributes
LoadLibraryEx
CreateDirectory
GetFullPathName
MoveFile
CreateFile
GetModuleFileName
MoveFileEx
CreateProcess
GetModuleHandle
OpenFile
DeleteFile
GetSystemDirectory
RemoveDirectory
FindFirstFile
GetTempFileName
SearchPath
FindNextFile
GetTempPath
SetCurrentDirectory
GetCurrentDirectory
GetVolumeInformation
SetFileAttributes
GetDiskFreeSpace
GetWindowsDirectory

See Also

SetFileApisToANSI
, SetFileApisToOEM

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database