MCPcopy Create free account
hub / github.com/cinder/Cinder / QueryInterface

Method QueryInterface

src/cinder/audio/msw/DeviceManagerWasapi.cpp:409–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409HRESULT DeviceManagerWasapi::Impl::QueryInterface( REFIID iid, void** object )
410{
411 CI_ASSERT_NOT_REACHABLE();
412 if( iid == IID_IUnknown || iid == __uuidof( IMMNotificationClient ) ) {
413 *object = static_cast <IMMNotificationClient*>( this );
414 }
415 else {
416 return E_NOINTERFACE;
417 }
418 return S_OK;
419}
420
421STDMETHODIMP DeviceManagerWasapi::Impl::OnDeviceStateChanged( LPCWSTR device_id, DWORD new_state )
422{

Callers 4

createDeviceMethod · 0.45
createSwapChainMethod · 0.45
createDeviceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected