Implemented SetFileApisToOEM, SetFileApisToANSI and AreFileApisANSI.
This commit is contained in:
parent
496f434c72
commit
9ec9c2b104
|
@ -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.
|
||||
*
|
||||
|
|
33
win32/file.c
33
win32/file.c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue