mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
Adds a new function called GetFakeFolder which attempts to find and get the target.lnk file from a fake folder (what Open-Shell uses to pin folders). If detected, InvokeCommand is swapped for a ShellExecute call to the target shortcut. Fixes #555, #653, and by extension, #691.
11 lines
460 B
C
11 lines
460 B
C
// Classic Shell (c) 2009-2017, Ivo Beltchev
|
|
// Open-Shell (c) 2017-2018, The Open-Shell Team
|
|
// Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author
|
|
|
|
#pragma once
|
|
|
|
bool CreateFakeFolder( const wchar_t *source, const wchar_t *fname );
|
|
void DeleteFakeFolder( const wchar_t *fname );
|
|
bool IsFakeFolder( const wchar_t *fname );
|
|
bool GetFakeFolder( wchar_t *dst, int len, const wchar_t *src );
|