MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / Flt_GetInt64

Method Flt_GetInt64

Source/VideoRenderer.cpp:1382–1395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1380}
1381
1382STDMETHODIMP CMpcVideoRenderer::Flt_GetInt64(LPCSTR field, __int64 *value)
1383{
1384 CheckPointer(value, E_POINTER);
1385
1386 if (!strcmp(field, "version")) {
1387 *value = ((uint64_t)VER_MAJOR << 48)
1388 | ((uint64_t)VER_MINOR << 32)
1389 | ((uint64_t)VER_BUILD << 16)
1390 | ((uint64_t)REV_NUM);
1391 return S_OK;
1392 }
1393
1394 return E_INVALIDARG;
1395}
1396
1397STDMETHODIMP CMpcVideoRenderer::Flt_GetBin(LPCSTR field, LPVOID* value, unsigned* size)
1398{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected