If you are programming for windows/wine/winex whatever, then yes, winAPI's will (should at least) work and can be used. If you are programming for linux/KDE/Gnome/Enlightenment/X/whatever then you can not use them.