| 3324 | } |
| 3325 | |
| 3326 | bool MainWindow::isUnshareableDeviceInUse() |
| 3327 | { |
| 3328 | if(!m_Ctx.Replay().CurrentRemote().Protocol()) |
| 3329 | return false; |
| 3330 | |
| 3331 | rdcstr host = m_Ctx.Replay().CurrentRemote().Hostname(); |
| 3332 | |
| 3333 | if(m_Ctx.Replay().CurrentRemote().Protocol()->SupportsMultiplePrograms(host)) |
| 3334 | return false; |
| 3335 | |
| 3336 | uint32_t ident = RENDERDOC_EnumerateRemoteTargets(host, 0); |
| 3337 | return ident != 0; |
| 3338 | } |
nothing calls this directly
no test coverage detected