This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

regtool doesn't support REG_BINARY?


I'm trying to use the regtool to swap caps-lock and control using this
incantation:

  regtool -m set \
  "machine\SYSTEM\CurrentControlSet\Control\Keyboard Layout\Scancode Map" \
  00 00 00 00 00 00 00 00 03 00 00 00 1d 00 3a 00 3a 00 1d 00 00 00 00 00

Unfortunately this produces a value of type REG_MULTI_SZ rather than
REG_BINARY (not very surprising).  Omitting the "-m" or supplying "-i"
yields a single REG_DWORD value.  From the docs and this experiment it
appears regtool doesn't support REG_BINARY.  Am I missing something?

Thanks,
-- 
Robert Mecklenburg


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]