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

Function pmGetApiVersion

IntelPresentMon/PresentMonAPI2/PresentMonAPI.cpp:510–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510PRESENTMON_API2_EXPORT PM_STATUS pmGetApiVersion(PM_VERSION* pVersion)
511{
512 pmlog_dbg("pmGetApiVersion").watch("pVersion_out", DescribePointerArg_(pVersion, false));
513 if (!pVersion) {
514 pmlog_error("null outptr for api version get").diag();
515 return PM_STATUS_BAD_ARGUMENT;
516 }
517 *pVersion = pmon::bid::GetApiVersion();
518 return PM_STATUS_SUCCESS;
519}
520
521PRESENTMON_API2_EXPORT PM_STATUS pmStopPlayback_(PM_SESSION_HANDLE handle)
522{

Callers 1

TEST_METHODFunction · 0.50

Calls 1

GetApiVersionFunction · 0.85

Tested by 1

TEST_METHODFunction · 0.40