mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:03:00 +00:00
parent
53061a4b69
commit
0e8bf61f81
1 changed files with 5 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "appwiz.h"
|
#include "appwiz.h"
|
||||||
|
#include <commctrl.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
|
||||||
|
@ -495,7 +496,7 @@ PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam)
|
||||||
}
|
}
|
||||||
|
|
||||||
LONG CALLBACK
|
LONG CALLBACK
|
||||||
ShowCreateShortcutWizard(HWND hwndCPl, LPWSTR szPath)
|
ShowCreateShortcutWizard(HWND hwndCPl, LPCWSTR szPath)
|
||||||
{
|
{
|
||||||
PROPSHEETHEADERW psh;
|
PROPSHEETHEADERW psh;
|
||||||
HPROPSHEETPAGE ahpsp[2];
|
HPROPSHEETPAGE ahpsp[2];
|
||||||
|
@ -601,7 +602,8 @@ LONG
|
||||||
CALLBACK
|
CALLBACK
|
||||||
NewLinkHereW(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
|
NewLinkHereW(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
|
||||||
{
|
{
|
||||||
return ShowCreateShortcutWizard(hwndCPl, (LPWSTR) lParam1);
|
InitCommonControls();
|
||||||
|
return ShowCreateShortcutWizard(hwndCPl, (LPWSTR)lParam1);
|
||||||
}
|
}
|
||||||
|
|
||||||
LONG
|
LONG
|
||||||
|
@ -612,6 +614,7 @@ NewLinkHereA(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
|
||||||
|
|
||||||
if (MultiByteToWideChar(CP_ACP, 0, (LPSTR)lParam1, -1, szFile, _countof(szFile)))
|
if (MultiByteToWideChar(CP_ACP, 0, (LPSTR)lParam1, -1, szFile, _countof(szFile)))
|
||||||
{
|
{
|
||||||
|
InitCommonControls();
|
||||||
return ShowCreateShortcutWizard(hwndCPl, szFile);
|
return ShowCreateShortcutWizard(hwndCPl, szFile);
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue