deletekey(keysub_keydeletes sub_key key is an open key or one of the predefined hkey_constants sub_key is string that identifies the key to delete sub_key must not have any subkeysotherwiseenvironmenterror is raised deletevalue(keyvaluedeletes named value from registry key key is an open key or one of the predefined hkey_constants value is string containing the name of the value to remove enumkey(keyindexreturns the name of subkey by index key is an open key or one of the predefined hkey_constants index is an integer that specifies the key to retrieve if index is out of rangean environmenterror is raised enumvalue(keyindexreturns value of an open key key is an open key or predefined hkey_constant index is an integer specifying the value to retrieve the function returns tuple (namedatatypein which name is the value namedata is an object holding the value dataand type is an integer that specifies the type of the value data the following type codes are currently definedcode description reg_binary reg_dword reg_dword_little_endian reg_dword_big_endian reg_expand_sz binary data -bit number -bit little-endian number -bit number in big-endian format null-terminated string with unexpanded references to environment variables unicode symbolic link sequence of null-terminated strings no defined value type device driver resource list null-terminated string reg_link reg_multi_sz reg_none reg_resource_list reg_sz expandenvironmentstrings(sexpands environment strings of the form %namein unicode string flushkey(keywrites the attributes of key to the registryforcing changes to disk this function should only be called if an application requires absolute certainty that registry data is stored on disk it does not return until data is written it is not necessary to use this function under normal circumstances regloadkey(keysub_keyfilenamecreates subkey and stores registration information from file into it key is an open key or predefined hkey_constant sub_key is string identifying the subkey to load filename is the name of the file from which to load data the contents of this file must lib fl ff