Home > Enterprise >  how do i know if a PCIDLIST_ABSOLUTE object is Control Panel object or not?
how do i know if a PCIDLIST_ABSOLUTE object is Control Panel object or not?

Time:10-31

i want to check if a PCIDLIST_ABSOLUTE pointer is control panel object (either control panel folder or objects under it) or not. Is there a reliable way to do it?

CodePudding user response:

i get IShellItem by SHCreateItemFromIDList and GetDisplayName(SIGDN_DESKTOPABSOLUTEPARSING), check if returned name starts with ::{26EE0668-A00A-44D7-9371-BEB064C98683}

  • Related