GetTickCount

From aldeid
Jump to: navigation, search

Description

Retrieves the number of milliseconds that have elapsed since the system was started, up to 49.7 days. This function is sometimes used to gather timing information as an anti-debugging technique. GetTickCount is often added by the compiler and is included in many executables, so simply seeing it as an imported function provides little information.

Syntax

DWORD WINAPI GetTickCount(void);

Parameters

This function has no parameters.

Return value

The return value is the number of milliseconds that have elapsed since the system was started.