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

Function WStringFromGUID

common/DSUtilLite/DShowUtil.cpp:204–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204std::wstring WStringFromGUID(const GUID &guid)
205{
206 WCHAR null[128] = {0}, buff[128];
207 StringFromGUID2(GUID_NULL, null, 127);
208 return std::wstring(StringFromGUID2(guid, buff, 127) > 0 ? buff : null);
209}
210
211int SafeMultiByteToWideChar(UINT CodePage, DWORD dwFlags, LPCSTR lpMultiByteStr, int cbMultiByte, LPWSTR lpWideCharStr,
212 int cchWideChar)

Callers 4

CompleteConnectMethod · 0.85
RenameOutputPinMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected