Jooel's TaskBar() UDF does a readvalue on a binary key to extract the height of the taskbar. Perhaps this method can be converted to write a binary value.

Here's the code...

code:
Function TaskBar()
if @dos=="4.0" $_S="StuckRects" else $_S="StuckRects2" endif
$TaskBar=val("&"+substr(readvalue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\$_S","settings"),41,2))
endfunction