| 90 | } |
| 91 | |
| 92 | void NSISCALL PushStringA(LPCSTR ansiStr) |
| 93 | { |
| 94 | LPWSTR wideStr = (LPWSTR) GlobalAlloc(GPTR, g_stringsize*sizeof(WCHAR)); |
| 95 | MultiByteToWideChar(CP_ACP, 0, ansiStr, -1, wideStr, g_stringsize); |
| 96 | pushstring(wideStr); |
| 97 | GlobalFree((HGLOBAL)wideStr); |
| 98 | return; |
| 99 | } |
| 100 | |
| 101 | void NSISCALL GetUserVariableW(const int varnum, LPWSTR wideStr) |
| 102 | { |
nothing calls this directly
no test coverage detected