|
// this blocks because we're either being notified from a background thread or we're running during device open,
|
|
// this blocks because we're either being notified from a background thread or we're running during device open,
|
|
return ((WASAPI_ProxyToManagementThread(mgmtthrtask_ActivateDevice, device, &rc) < 0) || (rc < 0)) ? -1 : 0;
|
|
return ((WASAPI_ProxyToManagementThread(mgmtthrtask_ActivateDevice, device, &rc) < 0) || (rc < 0)) ? -1 : 0;
|