Retrieves the ribbon element associated with the specified data.
- [in] dwData
The data associated with a ribbon element.
- [in] bVisibleOnly
TRUE to include quick access ribbon elements in the search; FALSE to exclude quick access ribbon elements in the search.
Pointer to a ribbon element if the method was successful; otherwise NULL.