Lines Matching defs:target
129 LPOLESTR target, target_dir;
135 PyShellExt() : target(NULL), target_dir(NULL), target_mode(0), data_obj(NULL) {
140 if (target) {
141 CoTaskMemFree(target);
179 StringCchCopy(dd->szInsert, sizeof(dd->szInsert) / sizeof(dd->szInsert[0]), PathFindFileNameW(target));
378 ShellExecute(NULL, NULL, target, args, target_dir, SW_NORMAL);
398 hr = StringCchLength(target, STRSAFE_MAX_CCH - 1, &len);
408 hr = StringCchCopy(*ppszFileName, len + 1, target);
435 if (target) {
436 CoTaskMemFree(target);
442 target = (LPOLESTR)CoTaskMemAlloc(sizeof(WCHAR) * (len + 1));
443 if (!target) {
453 hr = StringCchCopy(target, len + 1, pszFileName);
465 OutputDebugStringW(L"PyShellExt::Load - failed to remove filespec from target");
469 OutputDebugString(target);