--- layout: stdlib-reference --- # attribute [DllImport] > #### Experimental Feature > The feature described in this page is marked as experimental, and may be subject to change in future releases. > Users are advised that any code that depend on this feature may not be compilable by future versions of the compiler. ## Description Mark a function as imported from a DLL. Valid only on CPU host targets. ## Signature
[DllImport(modulePath : String)]## Parameters #### modulePath : [String](../types/string-0/index.html)