Author AndrewZiem
Recipients AndrewZiem
Date 2009-07-09.03:21:07
SpamBayes Score 0.0224517
Marked as misclassified No
Message-id <1247109670.35.0.187157773378.issue6443@psf.upfronthosting.co.za>
In-reply-to
Content
QueryValueEx only returns one string when the contents are double null
terminated, yet QueryValueEx works when the string is singly null
terminated.

In Python 2.5.4 on Windows XP Sp3, the first key-value only returns the
first part up to \0\0.
-------------------
C:\>reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v
Pending
FileRenameOperations

! REG.EXE VERSION 3.0

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
    PendingFileRenameOperations REG_MULTI_SZ    \??\C:\Documents and
Settings\All Users\Application Data\McAfee\Common
Framework\UpdateDir\0\0\??\C:\Program
Files\Google\GoogleToolbarNotifier\5.2.4204.1700\0\0\??\C:\Documents and
Settings\All Users\Application Data\McAfee\Common
Framework\UpdateDir\0\0\??\C:\Documents and Settings\All
Users\Application Data\McAfee\Common
Framework\UpdateDir\0\0\??\C:\Documents and Settings\All
Users\Application Data\McAfee\Common
Framework\UpdateDir\0\0\??\C:\Documents and Settings\All
Users\Application Data\McAfee\Common
Framework\UpdateDir\0\0\??\C:\Documents and Settings\All
Users\Application Data\McAfee\Common
Framework\UpdateDir\0\0\??\C:\Documents and Settings\All Users\A
pplication Data\McAfee\Common Framework\UpdateDir\0\0\??\C:\Documents
and Settings\All Users\Application Data\McAfee\Common
Framework\UpdateDir\0\0\0

C:\>reg query "HKLM\SYSTEM\CurrentControlSet\Services\Browser" /v 
DependOnService

! REG.EXE VERSION 3.0

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser
    DependOnService     REG_MULTI_SZ    LanmanWorkstation\0LanmanServer\0\0
History
Date User Action Args
2009-07-09 03:21:10AndrewZiemsetrecipients: + AndrewZiem
2009-07-09 03:21:10AndrewZiemsetmessageid: <1247109670.35.0.187157773378.issue6443@psf.upfronthosting.co.za>
2009-07-09 03:21:08AndrewZiemlinkissue6443 messages
2009-07-09 03:21:07AndrewZiemcreate