|
WindowsApiFormatMessage Method
|
Win32 FormatMessage function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntax[DllImportAttribute("kernel32.dll")]
public static int FormatMessage(
int dwFlags,
ref IntPtr lpSource,
int dwMessageId,
int dwLanguageId,
ref string lpBuffer,
int nSize,
ref IntPtr Arguments
)
<DllImportAttribute("kernel32.dll">]
Public Shared Function FormatMessage (
dwFlags As Integer,
ByRef lpSource As IntPtr,
dwMessageId As Integer,
dwLanguageId As Integer,
ByRef lpBuffer As String,
nSize As Integer,
ByRef Arguments As IntPtr
) As Integer
public:
[DllImportAttribute(L"kernel32.dll")]
static int FormatMessage(
int dwFlags,
IntPtr% lpSource,
int dwMessageId,
int dwLanguageId,
String^% lpBuffer,
int nSize,
IntPtr% Arguments
)
[<DllImportAttribute("kernel32.dll")>]
static member FormatMessage :
dwFlags : int *
lpSource : IntPtr byref *
dwMessageId : int *
dwLanguageId : int *
lpBuffer : string byref *
nSize : int *
Arguments : IntPtr byref -> int
GSF.Interop.WindowsApi.FormatMessage = function(dwFlags, lpSource, dwMessageId, dwLanguageId, lpBuffer, nSize, Arguments);
View SourceParameters
- dwFlags Int32
-
- lpSource IntPtr
-
- dwMessageId Int32
-
- dwLanguageId Int32
-
- lpBuffer String
-
- nSize Int32
-
- Arguments IntPtr
-
Return Value
Int32
See Also