Skip to content

inc0d3/snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

snippets

Win Registry API

  • RegOpenKeyEx : Opens the specified registry key. Note that key names are not case sensitive.
  • RegQueryValueEx : Retrieves the type and data for the specified value name associated with an open registry key.
  • RegCreateKeyEx : Creates the specified registry key. If the key already exists, the function opens it.
  • RegSetValueEx : Sets the data and type of a specified value under a registry key.
  • RegDeleteValue : Removes a named value from the specified registry key.
        public static UIntPtr HKEY_CURRENT_USER = (UIntPtr)0x80000001;
        public static UIntPtr HKEY_LOCAL_MACHINE = (UIntPtr)0x80000002;
        public static int KEY_QUERY_VALUE = 0x0001;
        public static int KEY_SET_VALUE = 0x0002;
        public static int KEY_CREATE_SUB_KEY = 0x0004;
        public static int KEY_ENUMERATE_SUB_KEYS = 0x0008;
        public static int KEY_WOW64_64KEY = 0x0100;
        public static int KEY_WOW64_32KEY = 0x0200;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages