Jump to content

Talk:Windows Shell Extension: Difference between revisions

m
link fixes
m (General structure)
m (link fixes)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Research==
==Research==
===General structure===
===General structure===
* https://docs.microsoft.com/en-us/windows/desktop/sysinfo/structure-of-the-registry
* https://learn.microsoft.com/en-us/windows/win32/sysinfo/structure-of-the-registry
* Every node is a '''key''' that can have '''subkeys''' and/or data ("'''value'''") which is displayed at the right side of the regedit GUI.
* Every node is a '''key''' that can have '''subkeys''' and/or data ("'''value'''") which is displayed at the right side of the regedit GUI.
* Each '''value''' has 3 attributes: '''name''', '''type''', '''data'''
* Each '''value''' has 3 attributes: '''name''', '''type''', '''data'''
Line 24: Line 24:


'''Other'''
'''Other'''
* https://docs.microsoft.com/en-us/windows/desktop/sysinfo/registry-value-types
* https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry-value-types




===Minimum requirements for new file types===
===Minimum requirements for new file types===
* '''HKEY_CLASSES_ROOT\.[yourExt]\shell\open\command'''
* '''HKEY_CLASSES_ROOT\.[yourExt]\shell\open\command'''
* if this key will store a system variable, it's '''Default key''' will need to be of '''type REG_EXPAND_SZ'''
* if this key is to store a system variable, it's '''Default value''' needs to be of '''type REG_EXPAND_SZ'''
** creating this manually gives a REG_SZ type, which will not work and cannot be changed within the regedit GUI
** creating this manually gives a REG_SZ type, which will not work and cannot be changed within the regedit GUI
** REG_EXPAND_SZ type can be created with reg files and '''programmatically'''
** REG_EXPAND_SZ type can be created with reg files and '''programmatically'''
Line 102: Line 102:
===Terms===
===Terms===
* The H in abbreviations stands for Hive.
* The H in abbreviations stands for Hive.
[[Category:Modding ideas]]