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
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