Plugin settings window

I’ve implemented a plugin API which can return a native window handle for plugin specific settings (sound familiar ? :), anyway, could anyone point to the core stuff how to wrap that handle into a JUCE component in order to show the settings window/panel ??

TIA
/Rob