Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
システム内のすべてのデバイスのリストとそれらの接続方法を一緒に取得しようとしています。したがって、基本的には IO Kit サービス ツリーの構造を複製したいと考えています (図で確認できますIORegistryExplorer)。すべてのキーを反復処理するにはどうすればよいですか? (これが私を混乱させる理由の 1 つは、io_service、io_registry、およびの違いを理解していないためio_objectです)。
IORegistryExplorer
io_service
io_registry
io_object