4.2.2. __declspec(dllimport)

The __declspec(dllimport) attribute imports a symbol through the dynamic symbol table when building DLL libraries.


When an inline function is marked __declspec(dllimport), the function definition in this compilation unit might be inlined, but is never generated out-of-line. An out-of-line call or address reference uses the imported symbol.

The dllimport attribute can be used on extern functions and variables.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A