LEADTOOLS Multimedia API Help > Programming with LEADTOOLS Multimedia > C++ Code > ILMDVRSink::put_FolderName Example for C++ |
#define MAKE_MEDIA_PATH(pFileName) (TEXT("C:\\LEADTOOLS 18\\Media\\")TEXT(pFileName)) void OnSetFolderName(ILMDVRSink* pSink) { long index = 0; BSTR path = ::SysAllocString(MAKE_MEDIA_PATH("")); pSink->put_FolderName(index, path); ::SysFreeString(path); }