MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / GetApiVersion

Function GetApiVersion

IntelPresentMon/Versioning/PresentMonAPIVersion.cpp:7–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace pmon::bid
6{
7 PM_VERSION GetApiVersion() noexcept
8 {
9 PM_VERSION ver{
10 .major = PM_API_VERSION_MAJOR,
11 .minor = PM_API_VERSION_MINOR,
12 .patch = 0,
13 .tag = "",
14 };
15 strncpy_s(ver.hash, BuildIdShortHash(), _TRUNCATE);
16 strncpy_s(ver.config, BuildIdConfig(), _TRUNCATE);
17 return ver;
18 }
19}

Callers 2

LoadLibrary_Function · 0.85
pmGetApiVersionFunction · 0.85

Calls 2

BuildIdShortHashFunction · 0.85
BuildIdConfigFunction · 0.85

Tested by

no test coverage detected