From 76cd3d6f27cb2385d8cced7db670cbfeeb07fe03 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Tue, 25 Feb 2020 08:21:25 +0800 Subject: [PATCH] GetMainVirtWindowById -> GetHostedById --- include/window.h | 4 ++-- src/gui/window.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;