ÿþ/ /   C o p y r i g h t   ( c )   1 9 9 7 - 2 0 0 3   M i c r o s o f t   C o r p o r a t i o n ,   A l l   R i g h t s   R e s e r v e d  
  
 # p r a g m a   a u t o r e c o v e r  
 # p r a g m a   n a m e s p a c e ( " \ \ \ \ . \ \ R o o t \ \ D e f a u l t " )  
  
 c l a s s   R e g i s t r y E v e n t   :   _ _ E x t r i n s i c E v e n t  
 {  
 } ;  
  
 c l a s s   R e g i s t r y K e y C h a n g e E v e n t   :   R e g i s t r y E v e n t  
 {  
     s t r i n g   H i v e ;  
     s t r i n g   K e y P a t h ;  
 } ;  
  
 c l a s s   R e g i s t r y T r e e C h a n g e E v e n t   :   R e g i s t r y E v e n t  
 {  
     s t r i n g   H i v e ;  
     s t r i n g   R o o t P a t h ;  
 } ;  
  
 c l a s s   R e g i s t r y V a l u e C h a n g e E v e n t   :   R e g i s t r y E v e n t  
 {  
     s t r i n g   H i v e ;  
     s t r i n g   K e y P a t h ;  
     s t r i n g   V a l u e N a m e ;  
 } ;  
  
 I n s t a n c e   o f   _ _ W i n 3 2 P r o v i d e r   a s   $ P  
 {  
     N a m e   =   " R e g i s t r y E v e n t P r o v i d e r " ;  
     C l s i d   =   " { f a 7 7 a 7 4 e - e 1 0 9 - 1 1 d 0 - a d 6 e - 0 0 c 0 4 f d 8 f d f f } " ;  
     H o s t i n g M o d e l   =   " L o c a l S y s t e m H o s t " ;  
 } ;  
  
 I n s t a n c e   o f   _ _ E v e n t P r o v i d e r R e g i s t r a t i o n  
 {  
     P r o v i d e r   =   $ P ;  
     E v e n t Q u e r y L i s t   =   { " s e l e c t   *   f r o m   R e g i s t r y E v e n t " } ;  
 } ;  
  
 I n s t a n c e   o f   _ _ W i n 3 2 P r o v i d e r   a s   $ P I N S T  
 {  
     N a m e   =   " R e g P r o v " ;  
     C l s I d   =   " { f e 9 a f 5 c 0 - d 3 b 6 - 1 1 c e - a 5 b 6 - 0 0 a a 0 0 6 8 0 c 3 f } " ;  
     I m p e r s o n a t i o n L e v e l   =   1 ;  
     H o s t i n g M o d e l   =   " L o c a l S e r v i c e H o s t " ;  
     v e r s i o n   =   3 ;  
 } ;  
  
 I n s t a n c e   o f   _ _ M e t h o d P r o v i d e r R e g i s t r a t i o n  
 {  
     P r o v i d e r   =   $ P I N S T ;  
 } ;  
  
 I n s t a n c e   o f   _ _ I n s t a n c e P r o v i d e r R e g i s t r a t i o n  
 {  
     P r o v i d e r   =   $ P I N S T ;  
     S u p p o r t s P u t   =   T R U E ;  
     S u p p o r t s G e t   =   T R U E ;  
     S u p p o r t s D e l e t e   =   F A L S E ;  
     S u p p o r t s E n u m e r a t i o n   =   T R U E ;  
 } ;  
  
 I n s t a n c e   o f   _ _ W i n 3 2 P r o v i d e r   a s   $ P P R O P  
 {  
     N a m e   =   " R e g P r o p P r o v " ;  
     C l s i d   =   " { 7 2 9 6 7 9 0 1 - 6 8 E C - 1 1 d 0 - B 7 2 9 - 0 0 A A 0 0 6 2 C B B 7 } " ;  
     I m p e r s o n a t i o n L e v e l   =   1 ;  
     P e r U s e r I n i t i a l i z a t i o n   =   T R U E ;  
     H o s t i n g M o d e l   =   " L o c a l S e r v i c e H o s t " ;  
 } ;  
  
 I n s t a n c e   o f   _ _ P r o p e r t y P r o v i d e r R e g i s t r a t i o n  
 {  
     P r o v i d e r   =   $ P P R O P ;  
     S u p p o r t s G e t   =   T R U E ;  
     S u p p o r t s P u t   =   T R U E ;  
 } ;  
  
 [ L o c a l e ( 1 0 3 3 ) , d y n a m i c   :   T o I n s t a n c e , p r o v i d e r ( " R e g P r o v " ) ]    
 c l a s s   S t d R e g P r o v  
 {  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   C r e a t e K e y ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   D e l e t e K e y ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   E n u m K e y ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ o u t ]   s t r i n g   s N a m e s [ ] ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   E n u m V a l u e s ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ o u t ]   s t r i n g   s N a m e s [ ] , [ o u t ]   s i n t 3 2   T y p e s [ ] ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   D e l e t e V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t D W O R D V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   u i n t 3 2   u V a l u e   =   3 ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t Q W O R D V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   u i n t 6 4   u V a l u e   =   3 ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t D W O R D V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   u i n t 3 2   u V a l u e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t Q W O R D V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   u i n t 6 4   u V a l u e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   s t r i n g   s V a l u e   =   " h e l l o " ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   s t r i n g   s V a l u e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t M u l t i S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   s t r i n g   s V a l u e [ ]   =   { " h e l l o " ,   " t h e r e " } ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t M u l t i S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   s t r i n g   s V a l u e [ ] ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t E x p a n d e d S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   s t r i n g   s V a l u e   =   " % p a t h % " ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t E x p a n d e d S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   s t r i n g   s V a l u e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t B i n a r y V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   u i n t 8   u V a l u e [ ]   =   { 1 ,   2 } ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t B i n a r y V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   u i n t 8   u V a l u e [ ] ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   C h e c k A c c e s s ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   u i n t 3 2   u R e q u i r e d   =   3 , [ o u t ]   b o o l e a n   b G r a n t e d ) ;  
     [ i m p l e m e n t e d , s t a t i c , P r i v i l e g e s { " S e S e c u r i t y P r i v i l e g e " }   :   T o S u b c l a s s ]   u i n t 3 2   S e t S e c u r i t y D e s c r i p t o r ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ I N ]   _ _ S e c u r i t y D e s c r i p t o r   D e s c r i p t o r ) ;  
     [ i m p l e m e n t e d , s t a t i c , P r i v i l e g e s { " S e S e c u r i t y P r i v i l e g e " }   :   T o S u b c l a s s ]   u i n t 3 2   G e t S e c u r i t y D e s c r i p t o r ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ O U T ]   _ _ S e c u r i t y D e s c r i p t o r   D e s c r i p t o r ) ;  
 } ;  
 # p r a g m a   n a m e s p a c e ( " \ \ \ \ . \ \ R o o t \ \ c i m v 2 " )  
  
 c l a s s   R e g i s t r y E v e n t   :   _ _ E x t r i n s i c E v e n t  
 {  
 } ;  
  
 c l a s s   R e g i s t r y K e y C h a n g e E v e n t   :   R e g i s t r y E v e n t  
 {  
     s t r i n g   H i v e ;  
     s t r i n g   K e y P a t h ;  
 } ;  
  
 c l a s s   R e g i s t r y T r e e C h a n g e E v e n t   :   R e g i s t r y E v e n t  
 {  
     s t r i n g   H i v e ;  
     s t r i n g   R o o t P a t h ;  
 } ;  
  
 c l a s s   R e g i s t r y V a l u e C h a n g e E v e n t   :   R e g i s t r y E v e n t  
 {  
     s t r i n g   H i v e ;  
     s t r i n g   K e y P a t h ;  
     s t r i n g   V a l u e N a m e ;  
 } ;  
  
 I n s t a n c e   o f   _ _ W i n 3 2 P r o v i d e r   a s   $ P 1  
 {  
     N a m e   =   " R e g i s t r y E v e n t P r o v i d e r " ;  
     C l s i d   =   " { f a 7 7 a 7 4 e - e 1 0 9 - 1 1 d 0 - a d 6 e - 0 0 c 0 4 f d 8 f d f f } " ;  
     H o s t i n g M o d e l   =   " L o c a l S y s t e m H o s t " ;  
 } ;  
  
 I n s t a n c e   o f   _ _ E v e n t P r o v i d e r R e g i s t r a t i o n  
 {  
     P r o v i d e r   =   $ P 1 ;  
     E v e n t Q u e r y L i s t   =   { " s e l e c t   *   f r o m   R e g i s t r y E v e n t " } ;  
 } ;  
  
 I n s t a n c e   o f   _ _ W i n 3 2 P r o v i d e r   a s   $ P I N S T 1  
 {  
     N a m e   =   " R e g P r o v " ;  
     C l s I d   =   " { f e 9 a f 5 c 0 - d 3 b 6 - 1 1 c e - a 5 b 6 - 0 0 a a 0 0 6 8 0 c 3 f } " ;  
     I m p e r s o n a t i o n L e v e l   =   1 ;  
     H o s t i n g M o d e l   =   " L o c a l S e r v i c e H o s t " ;  
     v e r s i o n   =   3 ;  
 } ;  
  
 I n s t a n c e   o f   _ _ M e t h o d P r o v i d e r R e g i s t r a t i o n  
 {  
     P r o v i d e r   =   $ P I N S T 1 ;  
 } ;  
  
 I n s t a n c e   o f   _ _ I n s t a n c e P r o v i d e r R e g i s t r a t i o n  
 {  
     P r o v i d e r   =   $ P I N S T 1 ;  
     S u p p o r t s P u t   =   T R U E ;  
     S u p p o r t s G e t   =   T R U E ;  
     S u p p o r t s D e l e t e   =   F A L S E ;  
     S u p p o r t s E n u m e r a t i o n   =   T R U E ;  
 } ;  
  
 I n s t a n c e   o f   _ _ W i n 3 2 P r o v i d e r   a s   $ P P R O P 1  
 {  
     N a m e   =   " R e g P r o p P r o v " ;  
     C l s i d   =   " { 7 2 9 6 7 9 0 1 - 6 8 E C - 1 1 d 0 - B 7 2 9 - 0 0 A A 0 0 6 2 C B B 7 } " ;  
     I m p e r s o n a t i o n L e v e l   =   1 ;  
     P e r U s e r I n i t i a l i z a t i o n   =   T R U E ;  
     H o s t i n g M o d e l   =   " L o c a l S e r v i c e H o s t " ;  
 } ;  
  
 I n s t a n c e   o f   _ _ P r o p e r t y P r o v i d e r R e g i s t r a t i o n  
 {  
     P r o v i d e r   =   $ P P R O P 1 ;  
     S u p p o r t s G e t   =   T R U E ;  
     S u p p o r t s P u t   =   T R U E ;  
 } ;  
  
 [ L o c a l e ( 1 0 3 3 ) , d y n a m i c   :   T o I n s t a n c e , p r o v i d e r ( " R e g P r o v " ) ]    
 c l a s s   S t d R e g P r o v  
 {  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   C r e a t e K e y ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   D e l e t e K e y ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   E n u m K e y ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ o u t ]   s t r i n g   s N a m e s [ ] ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   E n u m V a l u e s ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ o u t ]   s t r i n g   s N a m e s [ ] , [ o u t ]   s i n t 3 2   T y p e s [ ] ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   D e l e t e V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t D W O R D V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   u i n t 3 2   u V a l u e   =   3 ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t Q W O R D V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   u i n t 6 4   u V a l u e   =   3 ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t D W O R D V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   u i n t 3 2   u V a l u e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t Q W O R D V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   u i n t 6 4   u V a l u e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   s t r i n g   s V a l u e   =   " h e l l o " ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   s t r i n g   s V a l u e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t M u l t i S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   s t r i n g   s V a l u e [ ]   =   { " h e l l o " ,   " t h e r e " } ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t M u l t i S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   s t r i n g   s V a l u e [ ] ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t E x p a n d e d S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   s t r i n g   s V a l u e   =   " % p a t h % " ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t E x p a n d e d S t r i n g V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   s t r i n g   s V a l u e ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   S e t B i n a r y V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ i n ]   u i n t 8   u V a l u e [ ]   =   { 1 ,   2 } ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   G e t B i n a r y V a l u e ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   s t r i n g   s V a l u e N a m e , [ o u t ]   u i n t 8   u V a l u e [ ] ) ;  
     [ i m p l e m e n t e d , s t a t i c ]   u i n t 3 2   C h e c k A c c e s s ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ i n ]   u i n t 3 2   u R e q u i r e d   =   3 , [ o u t ]   b o o l e a n   b G r a n t e d ) ;  
     [ i m p l e m e n t e d , s t a t i c , P r i v i l e g e s { " S e S e c u r i t y P r i v i l e g e " }   :   T o S u b c l a s s ]   u i n t 3 2   S e t S e c u r i t y D e s c r i p t o r ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ I N ]   _ _ S e c u r i t y D e s c r i p t o r   D e s c r i p t o r ) ;  
     [ i m p l e m e n t e d , s t a t i c , P r i v i l e g e s { " S e S e c u r i t y P r i v i l e g e " }   :   T o S u b c l a s s ]   u i n t 3 2   G e t S e c u r i t y D e s c r i p t o r ( [ I N ]   u i n t 3 2   h D e f K e y   =   " 2 1 4 7 4 8 3 6 5 0 " , [ I N ]   s t r i n g   s S u b K e y N a m e , [ O U T ]   _ _ S e c u r i t y D e s c r i p t o r   D e s c r i p t o r ) ;  
 } ;  
 # p r a g m a   a u t o r e c o v e r  
 # p r a g m a   n a m e s p a c e ( " \ \ \ \ . \ \ R o o t \ \ D e f a u l t " )  
 i n s t a n c e   o f   _ _ n a m e s p a c e {   n a m e = " m s _ 4 0 9 " ; } ;  
 # p r a g m a   n a m e s p a c e ( " \ \ \ \ . \ \ R o o t \ \ D e f a u l t \ \ m s _ 4 0 9 " )  
  
 [ D e s c r i p t i o n ( " T h e   S t d R e g P r o v   c l a s s   c o n t a i n s   m e t h o d s   t h a t   i n t e r a c t   w i t h   t h e   s y s t e m   r e g i s t r y .   Y o u   c a n   u s e   t h e s e   m e t h o d s   t o :   \ n V e r i f y   t h e   a c c e s s   p e r m i s s i o n s   f o r   a   u s e r   \ n C r e a t e ,   e n u m e r a t e ,   a n d   d e l e t e   r e g i s t r y   k e y s   \ n C r e a t e ,   e n u m e r a t e ,   a n d   d e l e t e   n a m e d   v a l u e s   \ n R e a d ,   w r i t e ,   a n d   d e l e t e   d a t a   v a l u e s   " )   :   A m e n d e d   T o S u b c l a s s , A M E N D M E N T ,   L O C A L E ( " m s _ 4 0 9 " ) ]    
 c l a s s   S t d R e g P r o v  
 {  
     [ D e s c r i p t i o n ( " T h e   C r e a t e K e y   m e t h o d   c r e a t e s   a   s u b k e y   i n   t h e   s p e c i f i e d   t r e e .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   C r e a t e K e y ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   k e y   t o   b e   c r e a t e d .   T h e   C r e a t e K e y   m e t h o d   c r e a t e s   a l l   s u b k e y s   s p e c i f i e d   i n   t h e   p a t h   t h a t   d o   n o t   e x i s t .   F o r   e x a m p l e ,   i f   M y K e y   a n d   M y S u b K e y   d o   n o t   e x i s t   i n   t h e   f o l l o w i n g   p a t h ,   C r e a t e K e y   c r e a t e s   b o t h   k e y s :   \ n H K E Y _ L O C A L _ M A C H I N E \ \ S O F T W A R E \ \ M y K e y \ \ M y S u b K e y   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e ) ;  
     [ D e s c r i p t i o n ( " T h e   D e l e t e K e y   m e t h o d   d e l e t e s   a   s u b k e y   i n   t h e   s p e c i f i e d   t r e e .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   D e l e t e K e y ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   k e y   t o   b e   d e l e t e d .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e ) ;  
     [ D e s c r i p t i o n ( " T h e   E n u m K e y   m e t h o d   e n u m e r a t e s   t h e   s u b k e y s   f o r   t h e   g i v e n   p a t h .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   E n u m K e y ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   s u b k e y s   t o   b e   e n u m e r a t e d .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   a n   a r r a y   o f   s u b k e y   s t r i n g s .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s t r i n g   s N a m e s [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   E n u m V a l u e s   m e t h o d   e n u m e r a t e s   t h e   n a m e d   v a l u e s   o f   t h e   g i v e n   s u b k e y .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   E n u m V a l u e s ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s   t o   b e   e n u m e r a t e d .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   a n   a r r a y   o f   n a m e d   v a l u e   s t r i n g s .   T h e   e l e m e n t s   o f   t h i s   a r r a y   c o r r e s p o n d   d i r e c t l y   w i t h   t h e   e l e m e n t s   o f   i T y p e s .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s t r i n g   s N a m e s [ ] , [ D e s c r i p t i o n ( " C o n t a i n s   a n   a r r a y   o f   d a t a   v a l u e   t y p e s   ( i n t e g e r s ) .   Y o u   c a n   u s e   t h e s e   t y p e s   t o   d e t e r m i n e   w h i c h   G e t   m e t h o d   t o   c a l l .   F o r   e x a m p l e ,   i f   t h e   d a t a   v a l u e   t y p e   i s   R E G _ S Z ,   y o u   w o u l d   c a l l   G e t S t r i n g V a l u e   t o   r e t r i e v e   t h e   n a m e d   v a l u e ' s   d a t a   v a l u e .   T h e   e l e m e n t s   o f   t h i s   a r r a y   c o r r e s p o n d   d i r e c t l y   w i t h   t h e   e l e m e n t s   o f   s N a m e s .   T h e   f o l l o w i n g   d a t a   v a l u e   t y p e s   a r e   d e f i n e d   i n   W i n n t . h :   \ n R E G _ S Z   ( 1 )   \ n R E G _ E X P A N D _ S Z   ( 2 )   \ n R E G _ B I N A R Y   ( 3 )   \ n R E G _ D W O R D   ( 4 )   \ n R E G _ M U L T I _ S Z   ( 7 )   \ n " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s i n t 3 2   T y p e s [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   D e l e t e V a l u e   m e t h o d   d e l e t e s   a   n a m e d   v a l u e   i n   t h e   s p e c i f i e d   s u b k e y . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   D e l e t e V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   d e l e t e d .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   t o   b e   d e l e t e d   f r o m   t h e   s u b k e y .   S p e c i f y   a n   e m p t y   s t r i n g   t o   d e l e t e   t h e   d e f a u l t   n a m e d   v a l u e   ( t h e   d e f a u l t   n a m e d   v a l u e   i s   n o t   d e l e t e d   i t s   v a l u e   i s   s e t   t o   \ " v a l u e   n o t   s e t \ " " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t D W O R D V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ B I N A R Y .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t D W O R D V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a   d o u b l e   w o r d   d a t a   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   u i n t 3 2   u V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t Q W O R D V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ Q W O R D .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t Q W O R D V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a   q u a d   w o r d   d a t a   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   u i n t 6 4   u V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t D W O R D V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ D W O R D .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t D W O R D V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e . " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   D W O R D   d a t a   v a l u e   f o r   t h e   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   u i n t 3 2   u V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t Q W O R D V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ Q W O R D .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t Q W O R D V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e . " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   D W O R D   d a t a   v a l u e   f o r   t h e   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   u i n t 6 4   u V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t S t r i n g V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ M U L T I _ S Z . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a   s t r i n g   d a t a   v a l u e . " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t S t r i n g V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ S Z .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   s t r i n g   d a t a   v a l u e   f o r   t h e   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s t r i n g   s V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t M u l t i S t r i n g V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ M U L T I _ S Z .   T h e   S e t M u l t i S t r i n g V a l u e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t M u l t i S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a n   a r r a y   o f   s t r i n g   d a t a   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t M u l t i S t r i n g V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ M U L T I _ S Z .   T h e   G e t M u l t i S t r i n g V a l u e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t M u l t i S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   a n   a r r a y   o f   s t r i n g   d a t a   v a l u e s   f o r   t h e   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s t r i n g   s V a l u e [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t E x p a n d e d S t r i n g V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ E X P A N D _ S Z .   T h e   S e t E x p a n d e d S t r i n g V a l u e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t E x p a n d e d S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a n   e x p a n d e d   s t r i n g   d a t a   v a l u e .   T h e   e n v i r o n m e n t   v a r i a b l e   s p e c i f i e d   i n   t h e   s t r i n g   m u s t   e x i s t   f o r   t h e   s t r i n g   t o   b e   e x p a n d e d   w h e n   y o u   c a l l   G e t E x p a n d e d S t r i n g V a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t E x p a n d e d S t r i n g V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ E X P A N D _ S Z .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t E x p a n d e d S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   e x p a n d e d   s t r i n g   d a t a   v a l u e   f o r   t h e   n a m e d   v a l u e .   T h e   s t r i n g   i s   o n l y   e x p a n d e d   i f   t h e   e n v i r o n m e n t   v a r i a b l e   ( f o r   e x a m p l e ,   % P a t h % )   i s   d e f i n e d .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s t r i n g   s V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t B i n a r y V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ B I N A R Y .   T h e   S e t B i n a r y V a l u e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t B i n a r y V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a n   a r r a y   o f   b i n a r y   d a t a   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   u i n t 8   u V a l u e [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t B i n a r y V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ B I N A R Y .   T h e   G e t B i n a r y V a l u e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t B i n a r y V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   a n   a r r a y   o f   b i n a r y   b y t e s .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   u i n t 8   u V a l u e [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   C h e c k A c c e s s   m e t h o d   v e r i f i e s   t h a t   t h e   u s e r   p o s s e s s e s   t h e   s p e c i f i e d   p e r m i s s i o n s .   T h e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   C h e c k A c c e s s ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   k e y   t o   b e   v e r i f i e d .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   a c c e s s   p e r m i s s i o n s   t o   b e   v e r i f i e d .   Y o u   c a n   a d d   t h e s e   v a l u e s   t o g e t h e r   t o   v e r i f y   m o r e   t h a n   o n e   a c c e s s   p e r m i s s i o n .   T h e   d e f a u l t   v a l u e   i s   3 .   T h e   f o l l o w i n g   a c c e s s   p e r m i s s i o n   v a l u e s   a r e   d e f i n e d   i n   W i n n t . h :   \ n K E Y _ Q U E R Y _ V A L U E   ( 0 X 0 0 0 1 )   \ n K E Y _ S E T _ V A L U E   ( 0 X 0 0 0 2 )   \ n K E Y _ C R E A T E _ S U B _ K E Y   ( 0 X 0 0 0 4 )   \ n K E Y _ E N U M E R A T E _ S U B _ K E Y S   ( 0 X 0 0 0 8 )   \ n K E Y _ N O T I F Y   ( 0 X 0 0 1 0 )   \ n K E Y _ C R E A T E _ L I N K   ( 0 X 0 0 2 0 )   \ n D E L E T E   ( 0 x 0 0 0 1 0 0 0 0 )   \ n R E A D _ C O N T R O L   ( 0 x 0 0 0 2 0 0 0 0 )   \ n W R I T E _ D A C   ( 0 X 0 0 0 4 0 0 0 0 )   \ n W R I T E _ O W N E R   ( 0 X 0 0 0 8 0 0 0 0 )   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   u i n t 3 2   u R e q u i r e d , [ D e s c r i p t i o n ( " T h i s   p a r a m e t e r   i s   T r u e   i f   u s e r   p o s s e s s e s   t h e   s p e c i f i e d   a c c e s s   p e r m i s s i o n s .   O t h e r w i s e ,   t h e   p a r a m e t e r   i s   F a l s e .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   b o o l e a n   b G r a n t e d ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t S e c u r i t y D e s c r i p t o r   m e t h o d   u p d a t e s   t h e   s p e c i f i e d   k e y ' s   s e c u r i t y   d e s c r i p t o r   w i t h   t h e   s u p p l i e d   _ _ S e c u r i t y D e s c r i p t o r .   T h e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t S e c u r i t y D e s c r i p t o r ( [ D e s c r i p t i o n ( " P a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   k e y   n a m e   t o   s e t   t h e   s e c u r i t y   d e s c r i p t o r   o n .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   s e c u r i t y   d e s c r i p t o r   t o   s e t   o n   t h e   k e y   n a m e .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   _ _ S e c u r i t y D e s c r i p t o r   D e s c r i p t o r ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t S e c u r i t y D e s c r i p t o r   m e t h o d   r e t u r n s   t h e   s p e c i f i e d   k e y ' s   s e c u r i t y   d e s c r i p t o r   i n   a   _ _ S e c u r i t y D e s c r i p t o r .   T h e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t S e c u r i t y D e s c r i p t o r ( [ D e s c r i p t i o n ( " P a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   k e y   n a m e   t o   g e t   t h e   s e c u r i t y   d e s c r i p t o r   f o r .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " R e t u r n s   t h e   s e c u r i t y   d e s c r i p t o r   f r o m   t h e   k e y   n a m e .   " )   :   A m e n d e d   T o S u b c l a s s , O U T ]   _ _ S e c u r i t y D e s c r i p t o r   D e s c r i p t o r ) ;  
 } ;  
 # p r a g m a   n a m e s p a c e ( " \ \ \ \ . \ \ R o o t \ \ c i m v 2 " )  
 i n s t a n c e   o f   _ _ n a m e s p a c e {   n a m e = " m s _ 4 0 9 " ; } ;  
 # p r a g m a   n a m e s p a c e ( " \ \ \ \ . \ \ R o o t \ \ c i m v 2 \ \ m s _ 4 0 9 " )  
  
 [ D e s c r i p t i o n ( " T h e   S t d R e g P r o v   c l a s s   c o n t a i n s   m e t h o d s   t h a t   i n t e r a c t   w i t h   t h e   s y s t e m   r e g i s t r y .   Y o u   c a n   u s e   t h e s e   m e t h o d s   t o :   \ n V e r i f y   t h e   a c c e s s   p e r m i s s i o n s   f o r   a   u s e r   \ n C r e a t e ,   e n u m e r a t e ,   a n d   d e l e t e   r e g i s t r y   k e y s   \ n C r e a t e ,   e n u m e r a t e ,   a n d   d e l e t e   n a m e d   v a l u e s   \ n R e a d ,   w r i t e ,   a n d   d e l e t e   d a t a   v a l u e s   " )   :   A m e n d e d   T o S u b c l a s s , A M E N D M E N T ,   L O C A L E ( " m s _ 4 0 9 " ) ]    
 c l a s s   S t d R e g P r o v  
 {  
     [ D e s c r i p t i o n ( " T h e   C r e a t e K e y   m e t h o d   c r e a t e s   a   s u b k e y   i n   t h e   s p e c i f i e d   t r e e .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   C r e a t e K e y ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   k e y   t o   b e   c r e a t e d .   T h e   C r e a t e K e y   m e t h o d   c r e a t e s   a l l   s u b k e y s   s p e c i f i e d   i n   t h e   p a t h   t h a t   d o   n o t   e x i s t .   F o r   e x a m p l e ,   i f   M y K e y   a n d   M y S u b K e y   d o   n o t   e x i s t   i n   t h e   f o l l o w i n g   p a t h ,   C r e a t e K e y   c r e a t e s   b o t h   k e y s :   \ n H K E Y _ L O C A L _ M A C H I N E \ \ S O F T W A R E \ \ M y K e y \ \ M y S u b K e y   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e ) ;  
     [ D e s c r i p t i o n ( " T h e   D e l e t e K e y   m e t h o d   d e l e t e s   a   s u b k e y   i n   t h e   s p e c i f i e d   t r e e .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   D e l e t e K e y ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   k e y   t o   b e   d e l e t e d .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e ) ;  
     [ D e s c r i p t i o n ( " T h e   E n u m K e y   m e t h o d   e n u m e r a t e s   t h e   s u b k e y s   f o r   t h e   g i v e n   p a t h .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   E n u m K e y ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   s u b k e y s   t o   b e   e n u m e r a t e d .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   a n   a r r a y   o f   s u b k e y   s t r i n g s .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s t r i n g   s N a m e s [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   E n u m V a l u e s   m e t h o d   e n u m e r a t e s   t h e   n a m e d   v a l u e s   o f   t h e   g i v e n   s u b k e y .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   E n u m V a l u e s ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s   t o   b e   e n u m e r a t e d .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   a n   a r r a y   o f   n a m e d   v a l u e   s t r i n g s .   T h e   e l e m e n t s   o f   t h i s   a r r a y   c o r r e s p o n d   d i r e c t l y   w i t h   t h e   e l e m e n t s   o f   i T y p e s .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s t r i n g   s N a m e s [ ] , [ D e s c r i p t i o n ( " C o n t a i n s   a n   a r r a y   o f   d a t a   v a l u e   t y p e s   ( i n t e g e r s ) .   Y o u   c a n   u s e   t h e s e   t y p e s   t o   d e t e r m i n e   w h i c h   G e t   m e t h o d   t o   c a l l .   F o r   e x a m p l e ,   i f   t h e   d a t a   v a l u e   t y p e   i s   R E G _ S Z ,   y o u   w o u l d   c a l l   G e t S t r i n g V a l u e   t o   r e t r i e v e   t h e   n a m e d   v a l u e ' s   d a t a   v a l u e .   T h e   e l e m e n t s   o f   t h i s   a r r a y   c o r r e s p o n d   d i r e c t l y   w i t h   t h e   e l e m e n t s   o f   s N a m e s .   T h e   f o l l o w i n g   d a t a   v a l u e   t y p e s   a r e   d e f i n e d   i n   W i n n t . h :   \ n R E G _ S Z   ( 1 )   \ n R E G _ E X P A N D _ S Z   ( 2 )   \ n R E G _ B I N A R Y   ( 3 )   \ n R E G _ D W O R D   ( 4 )   \ n R E G _ M U L T I _ S Z   ( 7 )   \ n " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s i n t 3 2   T y p e s [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   D e l e t e V a l u e   m e t h o d   d e l e t e s   a   n a m e d   v a l u e   i n   t h e   s p e c i f i e d   s u b k e y . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   D e l e t e V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   d e l e t e d .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   t o   b e   d e l e t e d   f r o m   t h e   s u b k e y .   S p e c i f y   a n   e m p t y   s t r i n g   t o   d e l e t e   t h e   d e f a u l t   n a m e d   v a l u e   ( t h e   d e f a u l t   n a m e d   v a l u e   i s   n o t   d e l e t e d   i t s   v a l u e   i s   s e t   t o   \ " v a l u e   n o t   s e t \ " " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t D W O R D V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ B I N A R Y .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t D W O R D V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a   d o u b l e   w o r d   d a t a   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   u i n t 3 2   u V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t Q W O R D V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ Q W O R D .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t Q W O R D V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a   q u a d   w o r d   d a t a   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   u i n t 6 4   u V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t D W O R D V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ D W O R D .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t D W O R D V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e . " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   D W O R D   d a t a   v a l u e   f o r   t h e   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   u i n t 3 2   u V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t Q W O R D V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ Q W O R D .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t Q W O R D V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e . " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   D W O R D   d a t a   v a l u e   f o r   t h e   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   u i n t 6 4   u V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t S t r i n g V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ M U L T I _ S Z . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a   s t r i n g   d a t a   v a l u e . " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t S t r i n g V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ S Z .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   s t r i n g   d a t a   v a l u e   f o r   t h e   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s t r i n g   s V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t M u l t i S t r i n g V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ M U L T I _ S Z .   T h e   S e t M u l t i S t r i n g V a l u e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t M u l t i S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a n   a r r a y   o f   s t r i n g   d a t a   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t M u l t i S t r i n g V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ M U L T I _ S Z .   T h e   G e t M u l t i S t r i n g V a l u e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t M u l t i S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   a n   a r r a y   o f   s t r i n g   d a t a   v a l u e s   f o r   t h e   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s t r i n g   s V a l u e [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t E x p a n d e d S t r i n g V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ E X P A N D _ S Z .   T h e   S e t E x p a n d e d S t r i n g V a l u e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t E x p a n d e d S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a n   e x p a n d e d   s t r i n g   d a t a   v a l u e .   T h e   e n v i r o n m e n t   v a r i a b l e   s p e c i f i e d   i n   t h e   s t r i n g   m u s t   e x i s t   f o r   t h e   s t r i n g   t o   b e   e x p a n d e d   w h e n   y o u   c a l l   G e t E x p a n d e d S t r i n g V a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t E x p a n d e d S t r i n g V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ E X P A N D _ S Z .   " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t E x p a n d e d S t r i n g V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   e x p a n d e d   s t r i n g   d a t a   v a l u e   f o r   t h e   n a m e d   v a l u e .   T h e   s t r i n g   i s   o n l y   e x p a n d e d   i f   t h e   e n v i r o n m e n t   v a r i a b l e   ( f o r   e x a m p l e ,   % P a t h % )   i s   d e f i n e d .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   s t r i n g   s V a l u e ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t B i n a r y V a l u e   m e t h o d   s e t s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ B I N A R Y .   T h e   S e t B i n a r y V a l u e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t B i n a r y V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   k e y   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e   t o   b e   s e t .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   s e t t i n g .   Y o u   c a n   s p e c i f y   a n   e x i s t i n g   n a m e d   v a l u e   ( u p d a t e )   o r   a   n e w   n a m e d   v a l u e   ( c r e a t e ) .   S p e c i f y   a n   e m p t y   s t r i n g   t o   s e t   t h e   d a t a   v a l u e   f o r   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   a n   a r r a y   o f   b i n a r y   d a t a   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   u i n t 8   u V a l u e [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t B i n a r y V a l u e   m e t h o d   r e t u r n s   t h e   d a t a   v a l u e   f o r   a   n a m e d   v a l u e   w h o s e   d a t a   t y p e   i s   R E G _ B I N A R Y .   T h e   G e t B i n a r y V a l u e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t B i n a r y V a l u e ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   p a t h   t h a t   c o n t a i n s   t h e   n a m e d   v a l u e s .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " S p e c i f i e s   t h e   n a m e d   v a l u e   w h o s e   d a t a   v a l u e   y o u   a r e   r e t r i e v i n g .   S p e c i f y   a n   e m p t y   s t r i n g   t o   g e t   t h e   d e f a u l t   n a m e d   v a l u e .   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   s t r i n g   s V a l u e N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   a n   a r r a y   o f   b i n a r y   b y t e s .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   u i n t 8   u V a l u e [ ] ) ;  
     [ D e s c r i p t i o n ( " T h e   C h e c k A c c e s s   m e t h o d   v e r i f i e s   t h a t   t h e   u s e r   p o s s e s s e s   t h e   s p e c i f i e d   p e r m i s s i o n s .   T h e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   C h e c k A c c e s s ( [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n H K E Y _ D Y N _ D A T A   ( 0 x 8 0 0 0 0 0 0 6 )   \ n N o t e   t h a t   H K E Y _ D Y N _ D A T A   i s   a   v a l i d   t r e e   f o r   W i n d o w s   9 5   a n d   W i n d o w s   9 8   c o m p u t e r s   o n l y .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   k e y   t o   b e   v e r i f i e d .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " O p t i o n a l   p a r a m e t e r   t h a t   s p e c i f i e s   t h e   a c c e s s   p e r m i s s i o n s   t o   b e   v e r i f i e d .   Y o u   c a n   a d d   t h e s e   v a l u e s   t o g e t h e r   t o   v e r i f y   m o r e   t h a n   o n e   a c c e s s   p e r m i s s i o n .   T h e   d e f a u l t   v a l u e   i s   3 .   T h e   f o l l o w i n g   a c c e s s   p e r m i s s i o n   v a l u e s   a r e   d e f i n e d   i n   W i n n t . h :   \ n K E Y _ Q U E R Y _ V A L U E   ( 0 X 0 0 0 1 )   \ n K E Y _ S E T _ V A L U E   ( 0 X 0 0 0 2 )   \ n K E Y _ C R E A T E _ S U B _ K E Y   ( 0 X 0 0 0 4 )   \ n K E Y _ E N U M E R A T E _ S U B _ K E Y S   ( 0 X 0 0 0 8 )   \ n K E Y _ N O T I F Y   ( 0 X 0 0 1 0 )   \ n K E Y _ C R E A T E _ L I N K   ( 0 X 0 0 2 0 )   \ n D E L E T E   ( 0 x 0 0 0 1 0 0 0 0 )   \ n R E A D _ C O N T R O L   ( 0 x 0 0 0 2 0 0 0 0 )   \ n W R I T E _ D A C   ( 0 X 0 0 0 4 0 0 0 0 )   \ n W R I T E _ O W N E R   ( 0 X 0 0 0 8 0 0 0 0 )   " )   :   A m e n d e d   T o S u b c l a s s , i n ]   u i n t 3 2   u R e q u i r e d , [ D e s c r i p t i o n ( " T h i s   p a r a m e t e r   i s   T r u e   i f   u s e r   p o s s e s s e s   t h e   s p e c i f i e d   a c c e s s   p e r m i s s i o n s .   O t h e r w i s e ,   t h e   p a r a m e t e r   i s   F a l s e .   " )   :   A m e n d e d   T o S u b c l a s s , o u t ]   b o o l e a n   b G r a n t e d ) ;  
     [ D e s c r i p t i o n ( " T h e   S e t S e c u r i t y D e s c r i p t o r   m e t h o d   u p d a t e s   t h e   s p e c i f i e d   k e y ' s   s e c u r i t y   d e s c r i p t o r   w i t h   t h e   s u p p l i e d   _ _ S e c u r i t y D e s c r i p t o r .   T h e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   S e t S e c u r i t y D e s c r i p t o r ( [ D e s c r i p t i o n ( " P a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   k e y   n a m e   t o   s e t   t h e   s e c u r i t y   d e s c r i p t o r   o n .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   s e c u r i t y   d e s c r i p t o r   t o   s e t   o n   t h e   k e y   n a m e .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   _ _ S e c u r i t y D e s c r i p t o r   D e s c r i p t o r ) ;  
     [ D e s c r i p t i o n ( " T h e   G e t S e c u r i t y D e s c r i p t o r   m e t h o d   r e t u r n s   t h e   s p e c i f i e d   k e y ' s   s e c u r i t y   d e s c r i p t o r   i n   a   _ _ S e c u r i t y D e s c r i p t o r .   T h e   m e t h o d   r e t u r n s   a   u i n t 3 2   w h i c h   i s   0   i f   s u c c e s s f u l   o r   s o m e   o t h e r   v a l u e   i f   a n y   o t h e r   e r r o r   o c c u r r e d . " )   :   A m e n d e d   T o S u b c l a s s ]   u i n t 3 2   G e t S e c u r i t y D e s c r i p t o r ( [ D e s c r i p t i o n ( " P a r a m e t e r   t h a t   s p e c i f i e s   t h e   t r e e   t h a t   c o n t a i n s   t h e   s S u b K e y N a m e   p a t h .   T h e   d e f a u l t   v a l u e   i s   H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 ) .   T h e   f o l l o w i n g   t r e e s   a r e   d e f i n e d   i n   W i n r e g . h :   \ n H K E Y _ C L A S S E S _ R O O T   ( 0 x 8 0 0 0 0 0 0 0 )   \ n H K E Y _ C U R R E N T _ U S E R   ( 0 x 8 0 0 0 0 0 0 1 )   \ n H K E Y _ L O C A L _ M A C H I N E   ( 0 x 8 0 0 0 0 0 0 2 )   \ n H K E Y _ U S E R S   ( 0 x 8 0 0 0 0 0 0 3 )   \ n H K E Y _ C U R R E N T _ C O N F I G   ( 0 x 8 0 0 0 0 0 0 5 )   \ n " )   :   A m e n d e d   T o S u b c l a s s , I N ]   u i n t 3 2   h D e f K e y , [ D e s c r i p t i o n ( " C o n t a i n s   t h e   k e y   n a m e   t o   g e t   t h e   s e c u r i t y   d e s c r i p t o r   f o r .   " )   :   A m e n d e d   T o S u b c l a s s , I N ]   s t r i n g   s S u b K e y N a m e , [ D e s c r i p t i o n ( " R e t u r n s   t h e   s e c u r i t y   d e s c r i p t o r   f r o m   t h e   k e y   n a m e .   " )   :   A m e n d e d   T o S u b c l a s s , O U T ]   _ _ S e c u r i t y D e s c r i p t o r   D e s c r i p t o r ) ;  
 } ;  
 Error downloading file: Thread was being aborted.