MCPcopy Create free account
hub / github.com/LegacyUpdate/LegacyUpdate / PopStringW

Function PopStringW

include/nsis/pluginapi.c:123–130  ·  view source on GitHub ↗

ANSI defs

Source from the content-addressed store, hash-verified

121#else
122// ANSI defs
123int NSISCALL PopStringW(LPWSTR wideStr)
124{
125 LPSTR ansiStr = (LPSTR) GlobalAlloc(GPTR, g_stringsize);
126 int rval = popstring(ansiStr);
127 MultiByteToWideChar(CP_ACP, 0, ansiStr, -1, wideStr, g_stringsize);
128 GlobalFree((HGLOBAL)ansiStr);
129 return rval;
130}
131
132int NSISCALL PopStringNW(LPWSTR wideStr, int maxlen)
133{

Callers

nothing calls this directly

Calls 1

popstringFunction · 0.85

Tested by

no test coverage detected