__declspec(dllimport)
From RAD Studio
Go Up to Keywords, Alphabetical Listing Index
Category
Modifiers, Keyword Extensions, Storage Class Specifiers
Syntax
__declspec( dllimport ) declarator
The dllimport storage-class attribute is used for Microsoft C and C++ language compatability. This attribute enables you to import functions, data, and objects to a DLL.
Note: Because a .DLL file is a binary file, the full declaration of the class/function is needed when importing.
Note: dllimport replaces the __import keyword, in the sense that it provides an easy and simple way of importing functions without the need of a .DEF file.