Home > Web Site Updates > BITSWrappers v1.0

BITSWrappers v1.0

August 6, 2013

Just to let everyone know that v1.0 of BITSWrappers has been released. This is a set of C++ classes to provide a complete encapsulation of the BITS (Background Intelligent Transfer Service) API for Windows.

The classes provided are: BITS::CManager, BITS::CJob, BITS::CJob2, BITS::CJob3, BITS::CJob4, BITS::CJob5, BITS::CFile, BITS::CFile2, BITS::CFile3, BITS::CFile4, CJobHttpOptions, BITS::CCallback, BITS::CError, BITS::String, BITS::FilesArray, BITS::JobsArray, BITS::FileRangeArray & BITS::ByteArray.

CManager is the class wrapper for IBackgroundCopyManager.

CJob is the class wrapper for IBackgroundCopyJob.

CJob2 is the class wrapper for IBackgroundCopyJob2.

CJob3 is the class wrapper for IBackgroundCopyJob3.

CJob4 is the class wrapper for IBackgroundCopyJob4.

CJob5 is the class wrapper for IBackgroundCopyJob5.

CFile is the class wrapper for IBackgroundCopyFile.

CFile2 is the class wrapper for IBackgroundCopyFile2.

CFile3 is the class wrapper for IBackgroundCopyFile3.

CFile4 is the class wrapper for IBackgroundCopyFile4.

CJobHttpOptions is the class wrapper for IBackgroundCopyJobOptions.

CCallback is the class wrapper for using IBackgroundCopyCallback. To use this class just call CJob::SetNotifyInterface. For an example see the code in test.cpp

CError is the class wrapper for IBackgroundCopyError.

String derives from either CStringW if the classes are using MFC or std::wstring if using STL.

FilesArray derives from either CArray<CFile..> if the classes are using MFC or std::vector<CFile> if using STL. This collection class is used in the CJob::EnumFiles method.

JobsArray derives from either CArray<CJob..> if the classes are using MFC or std::vector<CJob> if using STL. This collection class is used in the CManager::EnumJobs method.

FileRangeArray derives from either CArray<BG_FILE_RANGE..> if the classes are using MFC or std::vector<BG_FILE_RANGE> if using STL. This collection class is used in the CFile2::GetFileRanges method.

ByteArray derives from either CByteArray if the classes are using MFC or std::vector<BYTE> if using STL. This collection class is used in the CJob2::GetReplyData and CJobHttpOptions::GetClientCertificate methods.

Categories: Web Site Updates
%d bloggers like this: