In the document "Using the WINS platform" in the SDK, there is a section "Device-level code" that describes how to include Windows libraries in a build. Follow these instruction to add the libraries you need to use, include the headers in your code and call the functions.