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:
See Also