Update MpfComModifyShortcutTarget.cpp

This commit is contained in:
vxunderground 2022-07-18 09:39:35 -05:00 committed by GitHub
parent 5dbbb3a905
commit b8742d6f23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,10 @@
/*
LnkPath = L"C:\\Users\\User1\\Desktop\\Chrome.exe.lnk" <--- MUST BE .LNK!
NewValue = L"C:\\Windows\\System32\\calc.exe"
Chrome.exe.lnk on desktop now launches calc.exe
*/
BOOL MpfComModifyShortcutTargetW(PWCHAR LnkPath, PWCHAR NewValue)
{
HRESULT Result = S_OK;