Y_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 access types
Private Const STANDARD_RIGHTS_ALL = &amp;H1F0000
Private Const SPECIFIC_RIGHTS_ALL = &amp;HFFFF

'Define severity codes
Priva