blob: 64f51c2691fdd604a8ba24a7de2f5efcdeab1c55 [file] [log] [blame]
#include "FlashBCHInterface.h"
DEF( mrvlFlashBCHVersion )
DEF( mrvlCreateFlashBCH )
DEF( mrvlReleaseFlashBCH )
DEF( mrvlInitializeFlashBCH )
DEF( mrvlGetParityLength )
DEF( mrvlEncodeBCH )
DEF( mrvlDecodeBCH )
DEF( mrvlGenerateRandomBits )
DEF( mrvlAddGaussianNoise )
DEF( mrvlSwapData )
HINSTANCE SetupMRVLFlashBCHLibrary( void )
{
#ifdef _DEBUG
HINSTANCE handle = ::LoadLibrary( TEXT( "O:\\Library\\FlashBCH\\mrvlFlashBCH.dll" ) );
#else
HINSTANCE handle = ::LoadLibrary( TEXT( "O:\\Library\\FlashBCH\\mrvlFlashBCH.dll" ) );
#endif
if ( !handle )
{
return NULL;
}
GETPROCADDRESS( mrvlFlashBCHVersion )
GETPROCADDRESS( mrvlCreateFlashBCH )
GETPROCADDRESS( mrvlReleaseFlashBCH )
GETPROCADDRESS( mrvlInitializeFlashBCH )
GETPROCADDRESS( mrvlGetParityLength )
GETPROCADDRESS( mrvlEncodeBCH )
GETPROCADDRESS( mrvlDecodeBCH )
GETPROCADDRESS( mrvlGenerateRandomBits )
GETPROCADDRESS( mrvlAddGaussianNoise )
GETPROCADDRESS( mrvlSwapData )
return handle;
}