Home
last modified time | relevance | path

Searched refs:lpArgvW (Results 1 – 1 of 1) sorted by relevance

/aoo42x/main/sal/systools/win32/uwinapi/
H A DCommandLineToArgvW.cpp79 LPWSTR *lpArgvW = NULL; variable
91 lpArgvW = (LPWSTR *)GlobalAlloc( 0, cchNeeded * sizeof(WCHAR) + sizeof(LPWSTR) );
93 if ( lpArgvW )
95 lpArgvW[0] = (LPWSTR)(lpArgvW + 1);
97 MultiByteToWideChar( CP_ACP, 0, szFileName, -1, lpArgvW[0], cchNeeded );
127 lpArgvW = (LPWSTR *)GlobalAlloc( 0, sizeof(LPWSTR) * (nTokens + 1) + sizeof(WCHAR) * cchNeeded );
129 if ( lpArgvW )
133 LPWSTR lpDestination = (LPWSTR)&lpArgvW[nTokens + 1];
145 lpArgvW[nTokens++] = lpDestination;
158 lpArgvW[nTokens] = NULL;
[all …]

Completed in 6 milliseconds