support GetTickCount