If you're using purebasic I'd suggest using Decls to implement the functions as you can then call the .dll calls directly.
But failing that, outbank allows you to write data to it. If it's not changing it's because you're writing in the wrong part of memory.
Remember you're only passing PB a pointer(Memory address) to the banks location. So, use POKEB at that passed integer handle to write data to it. I.e pokeB(addr+1,blah blah) pokeB(addr+2,blah blah) (In pb that is)
Read it as normal once returned.
But failing that, outbank allows you to write data to it. If it's not changing it's because you're writing in the wrong part of memory.
Remember you're only passing PB a pointer(Memory address) to the banks location. So, use POKEB at that passed integer handle to write data to it. I.e pokeB(addr+1,blah blah) pokeB(addr+2,blah blah) (In pb that is)
Read it as normal once returned.