| 79 | } |
| 80 | |
| 81 | void 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 | |
| 90 | void NSISCALL GetUserVariableW(const int varnum, wchar_t* wideStr) |
| 91 | { |
nothing calls this directly
no test coverage detected