Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UnmanagedFunctionPointerAttribute Fields

UnmanagedFunctionPointerAttribute Fields

  Name Description
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.

Community Additions

© 2015 Microsoft