As has been stated you literally cannot use a GUI without interfacing with Microsoft code somehow. As far as I'm aware you can't actually make a running Window without calling the win32 methods for it -somewhere- and everything that does wraps that at some point.
I don't know whether to take the OP as a serious copyright question or someone being pessimistically anti-microsoft or something, I honestly had a bit of a laugh when I initially read that.