AlphaBlend in Windows Mobile / WinCE
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
We have found that some versions of Windows Mobile support AlphaBlend().
In order to check if your Windows Mobile or Windows CE supports it, please build and run the following test. A zero means it is not supported
test.prg
In order to check if your Windows Mobile or Windows CE supports it, please build and run the following test. A zero means it is not supported
test.prg
- Code: Select all Expand view
#include "FWCE.ch"
function Main()
MsgInfo( Test() )
return nil
#pragma BEGINDUMP
#include <hbapi.h>
#include <windows.h>
LPWSTR AnsiToWide( char * );
HMODULE GetProcAddressW( HMODULE, LPWSTR );
HB_FUNC( TEST )
{
LPWSTR pW1 = AnsiToWide( "coredll.dll" );
LPWSTR pW2 = AnsiToWide( "AlphaBlend" );
HMODULE hDll = LoadLibrary( pW1 );
hb_retnl( ( LONG ) GetProcAddressW( hDll, pW2 ) );
hb_xfree( pW1 );
hb_xfree( pW2 );
FreeLibrary( hDll );
}
#pragma ENDDUMP