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

Function GetUserVariableA

include/nsis/pluginapi.c:106–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void NSISCALL GetUserVariableA(const int varnum, LPSTR ansiStr)
107{
108 LPWSTR wideStr = getuservariable(varnum);
109 WideCharToMultiByte(CP_ACP, 0, wideStr, -1, ansiStr, g_stringsize, NULL, NULL);
110}
111
112void NSISCALL SetUserVariableA(const int varnum, LPCSTR ansiStr)
113{

Callers

nothing calls this directly

Calls 1

getuservariableFunction · 0.85

Tested by

no test coverage detected