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

Function GuidFromJs

src/NodeRTLib/ProjectFiles/NodeRtUtils.cpp:364–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364::Platform::Guid GuidFromJs(Local<Value> value) {
365 GUID guid;
366 if (!StrToGuid(value, &guid)) {
367 return ::Platform::Guid();
368 }
369
370 return ::Platform::Guid(guid);
371}
372
373Local<String> GuidToJs(::Platform::Guid guid) {
374 OLECHAR* bstrGuid;

Callers

nothing calls this directly

Calls 1

StrToGuidFunction · 0.85

Tested by

no test coverage detected