Actually, you need:
  • A header file.
  • A library file.

For #1, you do this:
Code:
#include <windows.h>
For #2: Visual C++ automatically includes all the most common libraries for you. (User32.lib, GDI32.lib, etc.)
If it's not a common library, you'll have to add it manually.