ForeignFunctionLoad
ForeignFunctionLoad[lib,fun,{argtype1,argtype2,…}->rettype] loads the function fun with the specified argument and output types from the library lib.
ForeignFunctionLoad[ptr,{argtype1,argtype2,…}->rettype] creates a foreign function from the function pointer ptr.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.