- Add function typedef
- initialize in initApi function
VOID(*fSleep)(DWORD); // Sleep function
...
void initApi()
{
API("kernel32.dll", Sleep);
...
}
VOID(*fSleep)(DWORD); // Sleep function
...
void initApi()
{
API("kernel32.dll", Sleep);
...
}