File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -828,8 +828,7 @@ WEBUI_EXPORT void webui_delete_all_profiles(void);
828828WEBUI_EXPORT void webui_delete_profile (size_t window );
829829
830830/**
831- * @brief Get the ID of the parent process (The web browser may re-create
832- * another new process).
831+ * @brief Get the parent process ID, which refers to the current backend application process.
833832 *
834833 * @param window The window number
835834 *
@@ -840,7 +839,10 @@ WEBUI_EXPORT void webui_delete_profile(size_t window);
840839WEBUI_EXPORT size_t webui_get_parent_process_id (size_t window );
841840
842841/**
843- * @brief Get the ID of the last child process.
842+ * @brief Get the child process ID created by the parent, which refers to the web browser window.
843+ *
844+ * Note: In WebView mode, this will return the parent process ID because the backend and the
845+ * WebView window run in the same process.
844846 *
845847 * @param window The window number
846848 *
You can’t perform that action at this time.
0 commit comments