GetRefFor
virtual status_t GetRefFor(const char* type, const char* item,
status_t GetRefFor(const media_node& node,
status_t GetRefFor(translator_id translatorID,
error = BMediaRoster::Roster()->GetRefFor(ref->node(), &nodeFile);
status_t error = BMediaRoster::Roster()->GetRefFor(ref->node(), &nodeFile);
if ((roster && (roster->GetRefFor(nodeInfo.node, &ref) == B_OK))
if(mfiles.GetRefFor(BMediaFiles::B_SOUNDS, argv[2], &ref) == B_OK)
if(mfiles.GetRefFor(BMediaFiles::B_SOUNDS, argv[2], &ref) == B_OK)
GetRefFor(fCurrentType.String(), _type->String(), _ref);
return fPrivate->GetRefFor(id, *ref);
status_t GetRefFor(translator_id id, entry_ref& ref);
if (roster->GetRefFor(id, &ref) == B_OK) {
BMediaFiles().GetRefFor(fType, row->Name(), &ref);
if (GetRefFor(type, name, &ref) != B_OK) {
status_t GetRefFor(const char* type, const char* item,
status_t status = gMediaFilesManager->GetRefFor(request.type,
if (BMediaFiles().GetRefFor(media_type, media_name, &ref) != B_OK