Lines Matching refs:wszModule
129 WCHAR wszModule[_MAX_PATH] = { 0 };
130 DWORD cchModule = GetModuleFileNameW(NULL, wszModule, sizeof(wszModule));
131 if (cchModule == 0 || cchModule >= sizeof(wszModule))
141 && ( wszModule[off] != '/'
142 && wszModule[off] != '\\'
143 && wszModule[off] != ':'))
145 if (wszModule[off] == '.')
147 wszModule[off] = '\0';
156 if (cchSuff + cchModule >= sizeof(wszModule))
161 wcscpy(&wszModule[cchModule], pwszSuff);
207 wcscpy(pwsz, wszModule);
229 BOOL fOk = CreateProcessW(wszModule,
261 ShExecInfo.lpFile = wszModule;
281 fwprintf(stderr, L"ERROR: Failed to execute '%ws' via ShellExecuteExW: %u\n", wszModule, GetLastError());
287 fwprintf(stderr, L"ERROR: Failed to execute '%ws' via CreateProcessW: %u\n", wszModule, GetLastError());