Exemplo n.º 1
0
 public static extern uint FormatMessage(
     FormatMessageOptions dwFlags,
     IntPtr lpSource,
     uint dwMessageId,
     uint dwLanguageId,
     StringBuilder lpBuffer,
     int nSize,
     IntPtr arguments);
Exemplo n.º 2
0
 extern private static int FormatMessage(
     FormatMessageOptions dwFlags,
     IntPtr lpSource,
     int dwMessageId,
     int dwLanguageId,
     StringBuilder lpBuffer,
     int nSize,
     IntPtr Arguments
     );
        public static extern uint FormatMessageW(
            FormatMessageOptions dwFlags,
            IntPtr lpSource,
            uint dwMessageId,
            uint dwLanguageId,
#pragma warning disable CA1838 // Avoid 'StringBuilder' parameters for P/Invokes
            StringBuilder lpBuffer,
#pragma warning restore CA1838 // Avoid 'StringBuilder' parameters for P/Invokes
            int nSize,
            IntPtr arguments);