diff --git a/include/window.h b/include/window.h index 1a706a9d..417951a1 100644 --- a/include/window.h +++ b/include/window.h @@ -8224,7 +8224,7 @@ MG_EXPORT HWND GUIAPI GetNextMainWindow (HWND hMainWnd); #define WIN_SEARCH_FILTER_VIRT 0x0001 /** - * \fn HWND GUIAPI GetMainVirtWindowById (HWND hHosting, + * \fn HWND GUIAPI GetHostedById (HWND hHosting, * LINT lId, DWORD dwSearchFflags) * \brief Retrieve the main window or virtual window by identifier. * @@ -8258,7 +8258,7 @@ MG_EXPORT HWND GUIAPI GetNextMainWindow (HWND hMainWnd); * * \sa GetRootWindow, GetHosting, GetFirstHosted, GetNextHosted */ -MG_EXPORT HWND GUIAPI GetMainVirtWindowById (HWND hHosting, +MG_EXPORT HWND GUIAPI GetHostedById (HWND hHosting, LINT lId, DWORD dwSearchFlags); /** diff --git a/src/gui/window.c b/src/gui/window.c index bf739bdb..5cb8354c 100644 --- a/src/gui/window.c +++ b/src/gui/window.c @@ -3079,7 +3079,7 @@ static PMAINWIN search_win_tree_bfs (struct _search_context *ctxt) return NULL; } -HWND GUIAPI GetMainVirtWindowById (HWND hHosting, +HWND GUIAPI GetHostedById (HWND hHosting, LINT lId, DWORD dwSearchFlags) { MSGQUEUE* pMsgQueue;