MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / FormatMessage

Method FormatMessage

src/Squirrel/ShellFile.cs:1099–1107  ·  view source on GitHub ↗
(
            int dwFlags,
            IntPtr lpSource,
            int dwMessageId,
            int dwLanguageId,
            string lpBuffer,
            uint nSize,
            IntPtr argumentsLong

Source from the content-addressed store, hash-verified

1097 const int FORMAT_MESSAGE_MAX_WIDTH_MASK = 0xFF;
1098
1099 [DllImport("kernel32")]
1100 static extern int FormatMessage(
1101 int dwFlags,
1102 IntPtr lpSource,
1103 int dwMessageId,
1104 int dwLanguageId,
1105 string lpBuffer,
1106 uint nSize,
1107 IntPtr argumentsLong);
1108
1109 [DllImport("kernel32")]
1110 static extern int GetLastError();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected