The following code example shows how to use _declspec(dllimport) to import function calls from a ... DLLs in Visual C++.
msdn.microsoft.com