Changeset 86


Ignore:
Timestamp:
Aug 5, 2012, 6:50:38 AM (11 years ago)
Author:
roman
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/MediaFoundation/EnumerateTransforms/EnumerateTransforms.cpp

    r85 r86  
    137137                                        CString sItem = AtlFormatString(_T("#%d"), nActivateIndex);
    138138                                        CComHeapPtr<WCHAR> pszFriendlyName;
    139                                         if(SUCCEEDED(pMfActivate->GetAllocatedString(MFT_FRIENDLY_NAME_Attribute, &pszFriendlyName, NULL)))
     139                                        UINT32 nFriendlyNameLength;
     140                                        if(SUCCEEDED(pMfActivate->GetAllocatedString(MFT_FRIENDLY_NAME_Attribute, &pszFriendlyName, &nFriendlyNameLength)))
    140141                                                sItem.Insert(0, AtlFormatString(_T("%ls "), pszFriendlyName));
    141142                                        _tprintf(_T("\t") _T("%s\n"), sItem);
Note: See TracChangeset for help on using the changeset viewer.