diff options
author | Fritz Elfert <felfert@to.com> | 2000-10-09 19:54:42 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2000-10-09 19:54:42 +0000 |
commit | 108cbdee49661d0c6e0a8980795c5593dc077d91 (patch) | |
tree | edac72b1142644bfec1bc120a9bd7e0a049bcfa9 /lib/rpcs32.cc | |
parent | 3f4b0b89d9e45a96dfe660890931aeaa0de87932 (diff) | |
download | plptools-108cbdee49661d0c6e0a8980795c5593dc077d91.tar.gz plptools-108cbdee49661d0c6e0a8980795c5593dc077d91.tar.bz2 plptools-108cbdee49661d0c6e0a8980795c5593dc077d91.zip |
Added a hack for Jotter on S5mx and some experimental stuff.
Diffstat (limited to 'lib/rpcs32.cc')
-rw-r--r-- | lib/rpcs32.cc | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/lib/rpcs32.cc b/lib/rpcs32.cc index 85dd415..2175ef0 100644 --- a/lib/rpcs32.cc +++ b/lib/rpcs32.cc @@ -171,6 +171,22 @@ getMachineInfo(machineInfo &mi) static unsigned long hhh; Enum<rfsv::errs> rpcs32:: +regOpenIter(void) +{ + bufferStore a; + Enum<rfsv::errs> res; + + a.addStringT("HKLM\\"); + if (!sendCommand(rpcs::REG_OPEN_ITER, a)) + return rfsv::E_PSI_FILE_DISC; + res = getResponse(a, true); + cout << "ro: r=" << res << " a=" << a << endl; + if (a.getLen() > 0) + hhh = a.getDWord(0); + return rfsv::E_PSI_GEN_NONE; +} + +Enum<rfsv::errs> rpcs32:: configOpen(void) { bufferStore a; @@ -179,8 +195,9 @@ configOpen(void) if (!sendCommand(rpcs::CONFIG_OPEN, a)) return rfsv::E_PSI_FILE_DISC; res = getResponse(a, true); -cout << "co: r=" << res << " a=" << a << endl; - hhh = a.getDWord(0); + cout << "co: r=" << res << " a=" << a << endl; + if (a.getLen() > 0) + hhh = a.getDWord(0); return rfsv::E_PSI_GEN_NONE; } |