Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 941 Bytes

ii.23.1.8-flags-for-implmap-pinvokeattributes.md

File metadata and controls

19 lines (18 loc) · 941 Bytes

II.23.1.8 Flags for ImplMap [PInvokeAttributes]

Flag Value Description
NoMangle 0x0001 PInvoke is to use the member name as specified
Character set    
CharSetMask 0x0006 This is a resource file or other non-metadata-containing file. These 2 bits contain one of the following values:
CharSetNotSpec 0x0000  
CharSetAnsi 0x0002  
CharSetUnicode 0x0004  
CharSetAuto 0x0006  
SupportsLastError 0x0040 Information about target function. Not relevant for fields
Calling convention    
CallConvMask 0x0700 These 3 bits contain one of the following values:
CallConvPlatformapi 0x0100  
CallConvCdecl 0x0200  
CallConvStdcall 0x0300  
CallConvThiscall 0x0400  
CallConvFastcall 0x0500