MCPcopy Create free account
hub / github.com/Nevcairiel/LAVFilters / CStringFromGUID

Function CStringFromGUID

common/DSUtilLite/filterreg.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include "DShowUtil.h"
24
25std::wstring CStringFromGUID(const GUID &guid)
26{
27 WCHAR null[128] = {0}, buff[128];
28 StringFromGUID2(GUID_NULL, null, 127);
29 return std::wstring(StringFromGUID2(guid, buff, 127) > 0 ? buff : null);
30}
31
32// filter registration helpers
33

Callers 3

RegisterSourceFilterFunction · 0.85
UnRegisterSourceFilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected