43 stream_id,
void** ctrl )
45 Usgfw2Lib::IUsgControl* ctrl2;
47 if (data_view ==
nullptr)
return false;
48 data_view->GetControlObj( (GUID*)(&type_id), scan_mode, stream_id, &ctrl2 );
52 hr = ctrl2->QueryInterface( type_id, (
void**)ctrl );
53 if (hr != S_OK) *ctrl =
nullptr;