Help for this page

Select Code to Download


  1. or download this
        my ( $value, $type ) = $key->GetValue( "$_" );
        # ---- format the value as text
    ...
        {
            $value = hex( $value )
        }
    
  2. or download this
    
        $dword  = pack <somehow> ( $value );   # eg $value = 5242880 dec
    ...
        $testdw = $dword & $mask;
        $newdw  = $dword | $flags;
        $newval = hex ( $newdw );   # gets written to file