I need to check the total number ShellIconOverLayIdentifers installed in a computer programmatically using C++ and win32 API.
Can I check the identifiers under the below path to get the total count?
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers
You can use RegQueryInfoKey
This code is tested and working:
UPDATE:
Based on JChan’s investigation, following key access is required on 64-bit version of windows:
Example