Message Compiler - Message Win32 API Calls (Windows)

DWORD
APIENTRY
FormatMessage(
	DWORD dwFlags,
	LPVOID lpSource,
	DWORD dwMessageId,
	DWORD dwLanguageId,
	LPSTR lpBuffer,
	DWORD nSize,
	va_list Arguments
	)

Description
This function formats a message string. Input to the function is a message definition. It can come from a buffer passed into this function. It can also come from a message table resource in a module already loaded. Or, the caller can ask this function to search the system message table resource(s) for the message. This function finds the message definition based on the Message ID and the Language ID and copies the message text to the output buffer, processing any imbedded insert sequences if requested.

For more information on the Win32 APIs, see the Win32 Programmer's Reference.



Message Compiler - An Overview
Message Compiler - Syntax
MKMSGF - Make Message File Utility
MKMSGF - Syntax