MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / AllocateAndCopyWideString

Function AllocateAndCopyWideString

libipc/common_name.cpp:343–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343LPWSTR AllocateAndCopyWideString(LPCWSTR inputString)
344{
345 LPWSTR outputString = NULL;
346
347 outputString = (LPWSTR)LocalAlloc(LPTR,
348 (wcslen(inputString) + 1) * sizeof(WCHAR));
349 if (outputString != NULL)
350 {
351 lstrcpyW(outputString, inputString);
352 }
353 return outputString;
354}
355
356BOOL GetProgAndPublisherInfo(PCMSG_SIGNER_INFO pSignerInfo,
357 PSPROG_PUBLISHERINFO Info)

Callers 1

GetProgAndPublisherInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected