I got wine sources and I'm on a debian system. So I want to edit the function GetMenuBarInfo in user32.dll to just fill in the menu structure with some fake/resonable/constant values. I want to do this cause I think visual boy advance looks at those values and resets the screen size. And unfortunatly everytime it does it I have to press ALT+click to move it up to see the resize on bottom right and resize. I'm thinking just put some fake values especialy for the rect sturcture and have wine use it.
I don't want to recompile the whole thing I'm just hoping I can compile just the user32.dll put it into windows/system32 and tell wine (which is installed from package manager) via winecfg to simply use that dll.
Is it possible and easy for me? I already found GetMenuBarInfo and it just calls FIXME; I need to change it to modify the structure and compile user32.dll.
Thank you