2009-09-22 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbwince.h
* source/common/hbwince.c
+ Added WIDE version of dummy winapi implementations for WinCE.
* source/common/hbffind.c
* source/common/hbfsapi.c
* source/rtl/diskspac.c
* source/rtl/disksphb.c
* source/rtl/filesys.c
* source/vm/dynlibhb.c
* contrib/hbmzip/hbmzip.c
* contrib/xhb/filestat.c
* contrib/hbwin/win_dll.c
* contrib/hbwin/wapi_winbase.c
* contrib/hbwin/win_prn1.c
* contrib/hbwin/win_prn2.c
+ Changed forced ANSI version of winapi calls to native version.
! Fixed potential GPF in WIN_LOADBITMAPFILE().
% Cleaned types/variables in hb_PrintFileRaw().
% Minor type cleanup and formatting in filestat.c.
; TODO: There are still some forced ANSI calls in Harbour code:
(plus some dynamically called ones)
---
source/common/hbver.c:264: if( GetVersionExA( &osVer ) )
source/common/hbver.c:306: if( GetVersionExA( ( OSVERSIONINFOA * ) &osVerEx ) )
source/common/hbgete.c:75: DWORD size = GetEnvironmentVariableA( szName, NULL, 0 );
source/common/hbgete.c:80: GetEnvironmentVariableA( szName, pszBuffer, size );
source/common/hbgete.c:114: bRetVal = GetEnvironmentVariableA( szName, szBuffer, nSize ) != 0;
source/common/hbgete.c:157: return SetEnvironmentVariableA( szName, szValue ) != 0;
source/rtl/filesys.c:2687: fResult = GetCurrentDirectoryA( ulSize, pszBuffer );
source/rtl/filesys.c:2876: type = GetDriveTypeA( buffer );
source/rtl/fstemp.c:153: if( ! GetTempPathA( ( DWORD ) ( HB_PATH_MAX - 1 ), pszName ) )
source/rtl/fstemp.c:270: if( ! GetTempPathA( ( DWORD ) HB_PATH_MAX, szTempDir ) )
source/rtl/fstemp.c:278: fResult = GetTempFileNameA( szTempDir, pszPrefix ? pszPrefix : "hb", 0, pszBuffer );
source/rtl/net.c:157: GetComputerNameA( pszValue, &ulLen );
source/rtl/net.c:186: GetUserNameA( pszValue, &ulLen );
contrib/hbwin/win_prn2.c:169: DWORD dwSize = GetProfileStringA( "windows", "device", "", pPrinterName, *pdwBufferSize );
---
; Review me.