@ stdcall CPlApplet(ptr long ptr ptr)
-@ stdcall NewLinkHere(ptr long ptr ptr)
+@ stdcall NewLinkHere(ptr long ptr ptr) NewLinkHereA
@ stdcall NewLinkHereA(ptr long ptr ptr)
@ stdcall NewLinkHereW(ptr long ptr ptr)
\ No newline at end of file
return TRUE;
}
-
-LONG
-CALLBACK
-NewLinkHere(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
-{
- WCHAR szFile[MAX_PATH];
-
- if (MultiByteToWideChar(CP_ACP, 0, (LPSTR) lParam1, -1, szFile, MAX_PATH))
- {
- return ShowCreateShortcutWizard(hwndCPl, szFile);
- }
- return -1;
-}
-
-
LONG
CALLBACK
NewLinkHereW(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)