MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / PushStringW

Function PushStringW

cmake/Windows/Contrib/Inetc/pluginapi.c:131–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void NSISCALL PushStringW(wchar_t* wideStr)
132{
133 char* ansiStr = (char*) GlobalAlloc(GPTR, g_stringsize);
134 WideCharToMultiByte(CP_ACP, 0, wideStr, -1, ansiStr, g_stringsize, NULL, NULL);
135 pushstring(ansiStr);
136 GlobalFree((HGLOBAL)ansiStr);
137}
138
139void NSISCALL GetUserVariableW(const int varnum, wchar_t* wideStr)
140{

Callers

nothing calls this directly

Calls 1

pushstringFunction · 0.85

Tested by

no test coverage detected