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

Function PushStringA

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

Source from the content-addressed store, hash-verified

79}
80
81void NSISCALL PushStringA(const char* ansiStr)
82{
83 wchar_t* wideStr = (wchar_t*) GlobalAlloc(GPTR, g_stringsize*sizeof(wchar_t));
84 MultiByteToWideChar(CP_ACP, 0, ansiStr, -1, wideStr, g_stringsize);
85 pushstring(wideStr);
86 GlobalFree((HGLOBAL)wideStr);
87 return;
88}
89
90void NSISCALL GetUserVariableW(const int varnum, wchar_t* wideStr)
91{

Callers

nothing calls this directly

Calls 1

pushstringFunction · 0.85

Tested by

no test coverage detected