|
|
||
|
|
| DefineDLLFunction["func", "dll", rtype, atypes] returns a Mathematica function that calls the specified function func with argument types atypes and return type rtype in the specified unmanaged DLL dll. |
| DefineDLLFunction["declaration"] lets you write a full C#-syntax 'extern' function declaration. Use this form when you need to write a complex function declaration that requires features not available using options to DefineDLLFunction, such as specific "MarshalAs" attributes on each of the parameters. |
| CallingConvention | Automatic | the calling convention expected by the DLL function (possible values are "StdCall", "CDecl", "ThisCall", and Automatic.) | |
| MarshalStringsAs | "ANSI" | how string arguments (char*, string, String) should be marshaled to and from the DLL function (possible values are "ANSI", "Unicode", and Automatic) | |
| ReferencedAssemblies | Automatic | a list of the names of assemblies referenced by your declaration |
| © 2008 Wolfram Research, Inc. |