What is the platform independent method to get functionality provided by windows.h?

That is a contradiction. windows.h provides the functionality of the windows platform. You're probably thinking of some piece of that functionality, such as might be provided by OpenGL etc.

QT and wxWidgets are also somewhat platform independent.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.