UnmanagedFunctionPointerAttribute Fields

UnmanagedFunctionPointerAttribute Fields

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The UnmanagedFunctionPointerAttribute type exposes the following members.

  NameDescription
Public field BestFitMapping Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.
Public field CharSet Indicates how to marshal string parameters to the method, and controls name mangling.
Public field SetLastError Indicates whether the callee calls the SetLastError Win32 API function before returning from the attributed method.
Public field ThrowOnUnmappableChar Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character.
Top

Show:
© 2017 Microsoft