From dd01a942b183119f60cfa1afbc4039743ad9bb09 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Mon, 18 Jan 2010 14:54:31 +0000 Subject: [PATCH] 2010-01-18 15:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbwince.c - removed LocalLock()/LocalUnlock()/LocalHandle() function wrappers for WinCE builds - we do not use these functions in current code * harbour/contrib/xhb/xhw32prn.prg - removed commented :AskProperties - it's already implemented in WIN_PRN class --- harbour/ChangeLog | 9 +++++++++ harbour/contrib/xhb/xhw32prn.prg | 3 --- harbour/src/common/hbwince.c | 27 --------------------------- 3 files changed, 9 insertions(+), 30 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a28237dc5b..dbc9940f2c 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,15 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-01-18 15:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/src/common/hbwince.c + - removed LocalLock()/LocalUnlock()/LocalHandle() function wrappers + for WinCE builds - we do not use these functions in current code + + * harbour/contrib/xhb/xhw32prn.prg + - removed commented :AskProperties - it's already implemented in + WIN_PRN class + 2010-01-18 15:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/src/common/hbwince.c diff --git a/harbour/contrib/xhb/xhw32prn.prg b/harbour/contrib/xhb/xhw32prn.prg index c8636a4996..cea2a633d2 100644 --- a/harbour/contrib/xhb/xhw32prn.prg +++ b/harbour/contrib/xhb/xhw32prn.prg @@ -82,12 +82,9 @@ CREATE CLASS WIN32PRN FROM WIN_PRN VAR SetTextVert INIT TA_BOTTOM // Default vertical alignment for SetTextAlign() (TEXTOUT) /* not implemented */ - // METHOD TextOutW( wString, lNewLine, lUpdatePosX, nAlignHori, nAlignVert ) // METHOD TextOutWAt( nPosX, nPosY, wString, lNewLine, lUpdatePosX, nAlignHori, nAlignVert ) -// VAR AskProperties INIT .F. - ENDCLASS METHOD StartPage() CLASS WIN32PRN diff --git a/harbour/src/common/hbwince.c b/harbour/src/common/hbwince.c index 6377931f2d..ac3bc58960 100644 --- a/harbour/src/common/hbwince.c +++ b/harbour/src/common/hbwince.c @@ -320,33 +320,6 @@ BOOL WINAPI SetKeyboardState( PBYTE p ) return FALSE; } -#if !defined( _MSC_VER ) || defined( __POCC__ ) || defined( __XCC__ ) - -#ifndef LocalLock -PVOID WINAPI LocalLock( HLOCAL h ) -{ - return ( PVOID ) h; -} -#endif - -#ifndef LocalUnlock -BOOL WINAPI LocalUnlock( HLOCAL h ) -{ - HB_SYMBOL_UNUSED( h ); - - return FALSE; -} -#endif - -#ifndef LocalHandle -HLOCAL WINAPI LocalHandle( LPCVOID p ) -{ - return ( HLOCAL ) p; -} -#endif - -#endif /* !_MSC_VER || __POCC__ || __XCC__ */ - #if defined( __MINGW32CE__ ) int WINAPI MulDiv( int nNumber, int nNumerator, int nDenominator ) {