diff --git a/include/minigui.h b/include/minigui.h index 4101937e..e744914b 100644 --- a/include/minigui.h +++ b/include/minigui.h @@ -2453,6 +2453,21 @@ MG_EXPORT int GUIAPI GetClipBoardByte (const char* cb_name, * @{ */ +/** + * \fn DWORD GUIAPI GetTickCount (void) + * \brief Retrieves the tick counts that have elapsed since MiniGUI was started. + * + * This function retrieves the tick counts that have elapsed since MiniGUI + * was started. It is limited to the resolution of the system timer, i.e. + * for a general Linux box, the returned tick count value is in unit of 10ms. + * + * \return The tick counts value that have elapsed since MiniGUI was started. + * + * \note The prototype had changed since MiniGUI v3.2; The old one: + * unsinged int GUIAPI GetTickCount (void); + */ +MG_EXPORT DWORD GUIAPI GetTickCount (void); + /** * \fn void GUIAPI Ping (void) * \brief Makes a beep sound. diff --git a/include/window.h b/include/window.h index a9890bc4..9b58fbcf 100644 --- a/include/window.h +++ b/include/window.h @@ -8477,21 +8477,6 @@ MG_EXPORT BOOL GUIAPI ResetTimerEx (HWND hWnd, LINT id, DWORD speed, #define ResetTimer(hwnd, id, speed) \ ResetTimerEx(hwnd, id, speed, (TIMERPROC)INV_PTR) -/** - * \fn DWORD GUIAPI GetTickCount (void) - * \brief Retrieves the tick counts that have elapsed since MiniGUI was started. - * - * This function retrieves the tick counts that have elapsed since MiniGUI - * was started. It is limited to the resolution of the system timer, i.e. - * for a general Linux box, the returned tick count value is in unit of 10ms. - * - * \return The tick counts value that have elapsed since MiniGUI was started. - * - * \note The prototype had changed since MiniGUI v3.2; The old one: - * unsinged int GUIAPI GetTickCount (void); - */ -MG_EXPORT DWORD GUIAPI GetTickCount (void); - /** * \fn BOOL GUIAPI IsTimerInstalled (HWND hWnd, LINT id) * \brief Determines whether a timer is installed.