In Rome, do the way Romans do...
If someone wants you to do a project in WinAPI, you got no choice but to do in WinAPI or leave the project. It all depends on the client requirement because its the business requirement which drives the software development arena.
It is actually a good thing to have different proficiencies under your belt. The more the better...