Implemented SetFileApisToOEM, SetFileApisToANSI and AreFileApisANSI.

This commit is contained in:
Dmitry Timoshkov 2001-03-05 20:10:43 +00:00 committed by Alexandre Julliard
parent 496f434c72
commit 9ec9c2b104
2 changed files with 31 additions and 33 deletions

View File

@ -1421,6 +1421,37 @@ UINT WINAPI SetErrorMode( UINT mode )
}
/**************************************************************************
* SetFileApisToOEM (KERNEL32.@)
*/
VOID WINAPI SetFileApisToOEM(void)
{
current_process.flags |= PDB32_FILE_APIS_OEM;
}
/**************************************************************************
* SetFileApisToANSI (KERNEL32.@)
*/
VOID WINAPI SetFileApisToANSI(void)
{
current_process.flags &= ~PDB32_FILE_APIS_OEM;
}
/******************************************************************************
* AreFileApisANSI [KERNEL32.@] Determines if file functions are using ANSI
*
* RETURNS
* TRUE: Set of file functions is using ANSI code page
* FALSE: Set of file functions is using OEM code page
*/
BOOL WINAPI AreFileApisANSI(void)
{
return !(current_process.flags & PDB32_FILE_APIS_OEM);
}
/**********************************************************************
* TlsAlloc [KERNEL32.@] Allocates a TLS index.
*

View File

@ -119,36 +119,3 @@ BOOL WINAPI SetFileAttributesW(LPCWSTR lpFileName, DWORD attributes)
HeapFree( GetProcessHeap(), 0, afn );
return res;
}
/**************************************************************************
* SetFileApisToOEM (KERNEL32.645)
*/
VOID WINAPI SetFileApisToOEM(void)
{
/*FIXME(file,"(): stub!\n");*/
}
/**************************************************************************
* SetFileApisToANSI (KERNEL32.644)
*/
VOID WINAPI SetFileApisToANSI(void)
{
/*FIXME(file,"(): stub\n");*/
}
/******************************************************************************
* AreFileApisANSI [KERNEL32.@] Determines if file functions are using ANSI
*
* RETURNS
* TRUE: Set of file functions is using ANSI code page
* FALSE: Set of file functions is using OEM code page
*/
BOOL WINAPI AreFileApisANSI(void)
{
FIXME("(void): stub\n");
return TRUE;
}