[ strict_context_handle, implicit_handle( handle_t pnp_handle )] interface pnp { //[optimize("i")] PNP_GetDeviceList(); //[optimize("i")] PNP_EnumerateSubKeys(); //[optimize("i")] PNP_GetClassName(); //[optimize("i")] PNP_GetRootDeviceInstance(); //[optimize("i")] PNP_DevNodeRegistryProperty(); //[optimize("i")] PNP_GetHwProfInfo(); }