te Const KEY_SET_VALUE = &amp;H2
Private Const KEY_CREATE_SUB_KEY = &amp;H4
Private Const KEY_ENUMERATE_SUB_KEYS = &amp;H8
Private Const KEY_NOTIFY = &amp;H10
Private Const KEY_CREATE_LINK = &amp;H20
Private Const KEY_ALL_ACCESS = &amp;H3F

'Open/Create Options
Private Const REG_OPTION_NON_VOLATILE = 0&amp;
Private Const REG_OPTION_VOLATILE = &amp;H1

'Key creation/open disposition
Private Const REG_CREATED_NEW_KEY = &amp;H1
Private Const REG_OPENED_EXISTING_KEY = &amp;H2

'masks for the predefined standard