Open ASIO control panel as modal dialog

Hi !

I opened the ASIO control panel of the driver by calling


where m_iAsio is the ASIO interface of the SDK in my applications audio setup dialog (windows).

Ok-> The control panel of the current driver opens and I can get changes via the messaging system in my audio setup dialog… But this call immediately returns and I am not able to wait for the control panel to be closed, so I can work further with my application having this control panel window open - it seems to be openend “modeless”. Can I change this ? I´d like to give a window handle of my audio setup dialog to have the typical modal dialog.

I opened the driver with


So the SDK notes the parameter for the init function:
“system reference (Windows: application main window handle)”

So, how to make the dialog modal ?