| 
            
              WindowsApiFormatMessage Method
             | 
          
        
        
            Win32 FormatMessage function.
            
        
        Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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 Integerpublic:
[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