Search notes:

System.Runtime.InteropServices.DllImportAttribute (class)

The System.Runtime.InteropServices.DllIimportAttribute class is used to call a function in an unmanaged DLL.

Fields

Default value
BestFitMapping A boolean that enables or disables so called best fitting mapping when converting Unicode characters to ANSI characters. true
CallingConvention A value of the System.Runtime.InteropServices.CallingConvention enum that specifies the calling of the entry point. Winapi
CharSet Specifies the character set that is used to marshal a string. If ExactSpelling is false, it also influences if A or W is appended to the name specified in EntryPoint Ansi (Always?)
EntryPoint The name or ordinal (to be prefixed with #) of the DLL entry point to be called.
ExactSpelling A boolean: if false, the letter A is appended to EntryPoint if CharSet is set to Ansi and W is appended if CharSet is set to Unicode. If true, name of EntryPoint is not modified. i
PreserveSig
SetLastError A boolean: if true, SetLastError is called (and cached) before returning to the caller.
ThrowOnUnmappableChar

See also

System.Runtime.InteropServices.ComImportAttribute
The System.Runtime.InteropServices.CharSet enum.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1758199565, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/dot-net/namespaces-classes/System/Runtime/InteropServices/DllImportAttribute(55): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78