Jump to content











Photo
* * * * * 2 votes

WinBuilder 075 - beta testing


  • Please log in to reply
727 replies to this topic

#726 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 31 January 2009 - 10:30 PM

075 beta 6

How to read and write a MountedDevices entry?

Given

[HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices]
"\\DosDevices\\C:"=hex:af,98,ad,e6,00,7e,00,00,00,00,00,00

[process]

RegRead,"HKLM","SYSTEM\MountedDevices","\DosDevices\C:",%MountedDevice_SourceDrive%

RegWrite,"HKLM",0x3,"SYSTEM\MountedDevices","\DosDevices\C:_debug",%MountedDevice_SourceDrive%

RegRead - read specified key from: [HKLM]Section: [SYSTEM\MountedDevices] Key: [\DosDevices\C:] to variable:: [%MountedDevice_SourceDrive%] with value: [#$qAF#$q#$c#$qAF#$q#$c#$q98#$q#$c#$qAD#$q#$c#$qE6#$q#$c#$q00#$q#$c#$q7E#$q#$c#$q00#$q#$c#$q00#$q#$c#$q00#$q#$c#$q00#$q#$c#$q00#$q#$c#$q00#$q]
RegWrite - root key: [HKLM] Type: [0x3] Section [SYSTEM\MountedDevices] Key [\DosDevices\C:_debug="AF","AF","98","AD","E6","00","7E","00","00","00","00","00","00"..]

Strange RegRead read two af: af af 98.
Registry contains af 98

Result

"\\DosDevices\\C:_debug"=hex:00

Registry contains a empty entry C:_debug.

#727 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 31 January 2009 - 10:32 PM

075 beta 6

How to read and write a MountedDevices entry?

Given

[process]

 RegRead,"HKLM","SYSTEM\MountedDevices","\DosDevices\C:",%MountedDevice_SourceDrive%

 RegWrite,"HKLM",0x3,"SYSTEM\MountedDevices","\DosDevices\C:_debug",%MountedDevice_SourceDrive%

Strange RegRead read two af: af af 98.
Registry contains af 98

ResultRegistry contains a empty entry C:_debug.

Thanks, cdob for your report.

It looks like the double AF is a bug.

I'll check

Peter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users