Skip to content

Commit 252780b

Browse files
committed
Updating comments
1 parent 20bfc37 commit 252780b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

include/webui.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -828,8 +828,7 @@ WEBUI_EXPORT void webui_delete_all_profiles(void);
828828
WEBUI_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);
840839
WEBUI_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
*

0 commit comments

Comments
 (0)