NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

20.2 Supporting enums

namespace System.Interop {
   public enum CallingConvention
   {
      WinAPI = 1,
      Cdecl = 2,
      Stdcall = 3,
      Thiscall = 4,
      Fastcall = 5
   }
   public enum CharSet
   {
      None
      Auto,
      Ansi,
      Unicode
   }
   public enum ComInterfaceType
   {
      Dual = 0,
      IUnknown = 1,
      IDispatch = 2,
   }
   public enum COMVisibility
   {
      VisibilityDefault   = 0,
      VisibilityOmitted   = 1,
   }
   public enum LayoutKind
   {
       Sequential,
       Union,
       Explicit,
   }
   public enum UnmanagedType
   {
      Bool         = 0x2,
      I1            = 0x3,
      U1            = 0x4,
      I2            = 0x5,
      U2            = 0x6,
      I4            = 0x7,
      U4            = 0x8,
      I8            = 0x9,
      U8            = 0xa,
      R4            = 0xb,
      R8            = 0xc,
      BStr         = 0x13,
      LPStr         = 0x14,
      LPWStr      = 0x15,
      LPTStr      = 0x16,
      ByValTStr   = 0x17,
      Struct      = 0x1b,
      Interface   = 0x1c,
      SafeArray   = 0x1d,
      ByValArray   = 0x1e,
      SysInt      = 0x1f,
      SysUInt      = 0x20,
      VBByRefStr   = 0x22,
      AnsiBStr      = 0x23,
      TBStr         = 0x24,
      VariantBool   = 0x25,
      FunctionPtr   = 0x26,
      LPVoid      = 0x27,
      AsAny         = 0x28,
      RPrecise      = 0x29,
      LPArray      = 0x2a,
      LPStruct      = 0x2b,
      CustomMarshaller = 0x2c,
   }
}