This is how the mouse is captured on X11. If you want this on windows. This sounds very Windows Message Pump style. In which case, i would suggest you do not create a mouse/keyboard with OIS, and just use it for JoyStick support and handle WM_ messages yourself.
As, DirectInput is the Win32 backend, and it desn't offer much flexibility in this regrds. Anyway, you can easily break out of having the mouse captured. OIS works with Alt-Tab, and you can destroy the Mouse which would release it at any time.
It could be possible to add this still. However, this is very low priority for me right now, with WGE, and now being more involved with Ogre, I have other things to do first. I suggest you submit a patch to the tracker, and I will see about accepting it.