C language function:CDefFolderMenu_Create2 sample codes

Search sample code in the internet.It is the result.

TITLE : CDefFolderMenu_Create2 function (Windows)
HRESULT CDefFolderMenu_Create2(.......

TITLE : c++ - Display file properties dialog for files in different directories - Stack Overflow
You might try using CDefFolderMenu_Create2() (and its related cousin SHCreateDefaultContextMenu()) to get an IContextMenu for files spanning multiple folders. See The multi-folder shell context menu riddle for a discussion about this topic. ? Remy Lebeau Jan 1 '16 at 4:17.......
search Google