mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-06 02:01:50 +08:00
move GetTickCount from window.h to minigui.h
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user