MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / GuidToJs

Function GuidToJs

src/NodeRTLib/ProjectFiles/NodeRtUtils.cpp:373–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373Local<String> GuidToJs(::Platform::Guid guid) {
374 OLECHAR* bstrGuid;
375 StringFromCLSID(guid, &bstrGuid);
376
377 Local<String> strVal = NewString(bstrGuid);
378 CoTaskMemFree(bstrGuid);
379 return strVal;
380}
381
382Local<Object> ColorToJs(::Windows::UI::Color color) {
383 EscapableHandleScope scope;

Callers

nothing calls this directly

Calls 1

NewStringFunction · 0.85

Tested by

no test coverage detected