Dynamically load Video Library. Filename can be _T("bdcap32.dll") or BANDICAP_RELEASE_DLL_FILE_NAME. If this dll file is not located in application directory. Parameter must be full pathname.
Definition
HRESULT Create(LPCTSTR szDllPathName);
Parameters
LPCTSTR szDllPathName
[in] filename of BCL DLL. If this dll file is not located in application directory, this parameter must be full pathname.
Return value
BCERR_ALREADY_CREATED
Create() function is already called.
BCERR_LOAD_LIBRARY_FAIL
LoadLibrary() fails. Check if bdcap32.dll is in the same directory.
BCERR_GET_PROC_ADDRESS_FAIL
GetProcAddress() function failed. Check if bdcap32.dll is destroyed or invalid.
BCERR_INVALID_VERSION
Different version between bdcap32.dll and BandiCap.h
BCERR_NOT_ENOUGH_MEMORY
Out of memory to create capture library instance.
BCERR_UNSUPPORTED_OS
Unsupported OS. Bandi Capture Library don't support Windows 95, 98(se), ME, NT3.5, NT4.0.