As requested by Paul, a brief howto for adding a function call in an existing DLL java wrapper class.
Subject: Re: Extending the user32 functionality.
You can easily extend the User32 class yourself, since I wrote this class to show users how to do it. If you do so please submit a patch here
FYI : see MSDN
Then implementing this function is trivial :