AreFileApisANSI  OS16KO 

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 SetFileApisToOEM1NAIDV3 function causes a set of Win32 file functions to use the OEM code page. The SetFileApisToANSI1.20FA 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:

_lopen94KIQD

GetDriveType1VIS91.

LoadLibrary1VGHBF8

CopyFileAL5GU.

GetFileAttributes3PQDMO

LoadLibraryExLYQYTX

CreateDirectoryF6ND8

GetFullPathName8N6HYC

MoveFile1S180VE

CreateFileXN35YD

GetModuleFileName3OO70X8

MoveFileEx5N2WFG

CreateProcess5FBJ_XX

GetModuleHandle18VFC_P

OpenFile47XK05

DeleteFile.H9HCZ

GetSystemDirectory3OJ42SV

RemoveDirectory9I2C9V

FindFirstFile2A0Z0Q6

GetTempFileNameXPKIP

SearchPath1FBA0SQ

FindNextFileJKCUCC

GetTempPathLZZS8Y

SetCurrentDirectoryHWNGHC

GetCurrentDirectoryLWY0BA

GetVolumeInformationCJNVCW

SetFileAttributesHA1.I7

GetDiskFreeSpace3028BBK

GetWindowsDirectory1B6TYCN

 

 

See Also

SetFileApisToANSI, SetFileApisToOEM