Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions VX-API/GetTickcount64.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "Win32Helper.h"

ULONG64 VX_getTickcount64() {
PKUSER_SHARED_DATA pSharedData = (PKUSER_SHARED_DATA)(0x7FFE0000);
ULONG64 tickCount = ((pSharedData->TickCountMultiplier) * (pSharedData->TickCountQuad)) >> 24;
return tickCount;
}
1 change: 1 addition & 0 deletions VX-API/VX-API.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<ClCompile Include="GetCurrentProcessNoForward.cpp" />
<ClCompile Include="GetCurrentThreadNoForward.cpp" />
<ClCompile Include="GetPeSectionSizeInBytes.cpp" />
<ClCompile Include="GetTickcount64.cpp" />
<ClCompile Include="IeCreateDirectory.cpp" />
<ClCompile Include="IeCreateFile.cpp" />
<ClCompile Include="IeDeleteFile.cpp" />
Expand Down
3 changes: 3 additions & 0 deletions VX-API/VX-API.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,9 @@
<ClCompile Include="IeRemoveDirectory.cpp">
<Filter>Source Files\Proxied Functions</Filter>
</ClCompile>
<ClCompile Include="GetTickcount64.cpp">
<Filter>Source Files\Helper Functions</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Internal.h">
Expand Down