Rev 375 | Rev 380 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 375 | Rev 376 | ||
---|---|---|---|
Line 370... | Line 370... | ||
370 | char* manifestp_copy; |
370 | char* manifestp_copy; |
371 | PARM_T *pparm = NULL; |
371 | PARM_T *pparm = NULL; |
372 | size_t piplsize,aetesize,origsize; |
372 | size_t piplsize,aetesize,origsize; |
373 | Str255 title; |
373 | Str255 title; |
374 | LPCTSTR parm_type; |
374 | LPCTSTR parm_type; |
- | 375 | int i; |
|
375 | int i,parm_id; |
376 | LPCSTR parm_id; |
376 | Boolean discard = true; |
377 | Boolean discard = true; |
377 | uint64_t obfuscseed = 0; |
378 | uint64_t obfuscseed = 0; |
378 | long event_id; |
379 | long event_id; |
379 | Boolean mustFreeSrcMod; |
380 | Boolean mustFreeSrcMod; |
380 | 381 | ||
Line 498... | Line 499... | ||
498 | // OPER and FUNC are written so that "Plugin Manager 2.1" thinks that this plugin is a Filter Factory plugin! SYNM is not important, though. |
499 | // OPER and FUNC are written so that "Plugin Manager 2.1" thinks that this plugin is a Filter Factory plugin! SYNM is not important, though. |
499 | && (gdata->obfusc || _UpdateResource(hupdate, "OPER", MAKEINTRESOURCE(16000), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), &dummy_oper, sizeof(dummy_oper))) |
500 | && (gdata->obfusc || _UpdateResource(hupdate, "OPER", MAKEINTRESOURCE(16000), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), &dummy_oper, sizeof(dummy_oper))) |
500 | && (gdata->obfusc || _UpdateResource(hupdate, "FUNC", MAKEINTRESOURCE(16000), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), &dummy_func, sizeof(dummy_func))) |
501 | && (gdata->obfusc || _UpdateResource(hupdate, "FUNC", MAKEINTRESOURCE(16000), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), &dummy_func, sizeof(dummy_func))) |
501 | && (gdata->obfusc || _UpdateResource(hupdate, "SYNM", MAKEINTRESOURCE(16000), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), &dummy_symn, sizeof(dummy_symn))) |
502 | && (gdata->obfusc || _UpdateResource(hupdate, "SYNM", MAKEINTRESOURCE(16000), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), &dummy_symn, sizeof(dummy_symn))) |
502 | && _UpdateResource(hupdate, RT_MANIFEST, MAKEINTRESOURCE(1), MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL), newmanifest, (DWORD)manifestsize) |
503 | && _UpdateResource(hupdate, RT_MANIFEST, MAKEINTRESOURCE(1), MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL), newmanifest, (DWORD)manifestsize) |
503 | && _UpdateResource(hupdate, parm_type,MAKEINTRESOURCE(parm_id), MAKELANGID(LANG_NEUTRAL,SUBLANG_NEUTRAL),pparm,sizeof(PARM_T)) ) |
504 | && _UpdateResource(hupdate, parm_type,parm_id, MAKELANGID(LANG_NEUTRAL,SUBLANG_NEUTRAL),pparm,sizeof(PARM_T)) ) |
504 | { |
505 | { |
505 | discard = false; |
506 | discard = false; |
506 | } else { |
507 | } else { |
507 | dbglasterror(_strdup("UpdateResource")); |
508 | dbglasterror(_strdup("UpdateResource")); |
508 | } |
509 | } |