本文整理汇总了C++中TRACK_FUNCTION函数的典型用法代码示例。如果您正苦于以下问题:C++ TRACK_FUNCTION函数的具体用法?C++ TRACK_FUNCTION怎么用?C++ TRACK_FUNCTION使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了TRACK_FUNCTION函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: TRACK_FUNCTION
STDMETHODIMP FbPlaylistManager::SetPlaylistSelectionSingle(UINT playlistIndex, UINT itemIndex, VARIANT_BOOL state)
{
TRACK_FUNCTION();
static_api_ptr_t<playlist_manager>()->playlist_set_selection_single(playlistIndex, itemIndex, state == VARIANT_TRUE);
return S_OK;
}
示例2: TRACK_FUNCTION
STDMETHODIMP FbPlaylistRecyclerManager::Purge(VARIANT affectedItems)
{
TRACK_FUNCTION();
try
{
unsigned bitArrayCount;
bool empty;
static_api_ptr_t<playlist_manager_v3> plm;
bit_array_bittable mask;
bitArrayCount = plm->recycler_get_count();
if (!helpers::com_array_to_bitarray::convert(affectedItems, bitArrayCount, mask, empty)) return E_INVALIDARG;
if (empty) return S_OK;
plm->recycler_purge(mask);
}
catch (pfc::exception_invalid_params&)
{
return E_INVALIDARG;
}
catch (...)
{
return E_FAIL;
}
return S_OK;
}
示例3: TRACK_FUNCTION
STDMETHODIMP FbTooltip::SetMaxWidth(int width)
{
TRACK_FUNCTION();
SendMessage(m_wndtooltip, TTM_SETMAXTIPWIDTH, 0, width);
return S_OK;
}
示例4: TRACK_FUNCTION
STDMETHODIMP FbPlaylistMangerTemplate::GetPlaylistFocusItemIndex(UINT playlistIndex, INT * outPlaylistItemIndex)
{
TRACK_FUNCTION();
if (!outPlaylistItemIndex) return E_POINTER;
(*outPlaylistItemIndex) = static_api_ptr_t<playlist_manager>()->playlist_get_focus_item(playlistIndex);
return S_OK;
}