1 #include "stdafx.h" 2 #include "BASSWmaLibrary.h" 3 4 CBASSWmaLibrary()5CBASSWmaLibrary::CBASSWmaLibrary() 6 { 7 } 8 9 ~CBASSWmaLibrary()10CBASSWmaLibrary::~CBASSWmaLibrary() 11 { 12 } 13 GetFunction()14bool CBASSWmaLibrary::GetFunction() 15 { 16 bool rtn = true; 17 BASS_WMA_EncodeOpenFile = (_BASS_WMA_EncodeOpenFile)::GetProcAddress(m_dll_module, "BASS_WMA_EncodeOpenFile"); 18 BASS_WMA_EncodeWrite = (_BASS_WMA_EncodeWrite)::GetProcAddress(m_dll_module, "BASS_WMA_EncodeWrite"); 19 BASS_WMA_EncodeClose = (_BASS_WMA_EncodeClose)::GetProcAddress(m_dll_module, "BASS_WMA_EncodeClose"); 20 BASS_WMA_EncodeSetTag = (_BASS_WMA_EncodeSetTag)::GetProcAddress(m_dll_module, "BASS_WMA_EncodeSetTag"); 21 rtn &= (BASS_WMA_EncodeOpenFile != NULL); 22 rtn &= (BASS_WMA_EncodeWrite != NULL); 23 rtn &= (BASS_WMA_EncodeClose != NULL); 24 rtn &= (BASS_WMA_EncodeSetTag != NULL); 25 return rtn; 26 } 27