move GetTickCount from window.h to minigui.h

This commit is contained in:
Vincent Wei
2019-06-17 12:33:54 +08:00
parent 77c4db5e2b
commit 60f07ae26a
2 changed files with 15 additions and 15 deletions

View File

@@ -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.

View File

@@ -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.