ReactOS 0.4.16-dev-38-g96c65e9
|
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winternl.h"
#include "winuser.h"
#include "winnls.h"
#include "wine/unicode.h"
#include "kernel_private.h"
#include "wine/debug.h"
Go to the source code of this file.
Classes | |
struct | format_args |
struct | _format_message_data |
Macros | |
#define | WIN32_NO_STATUS |
Functions | |
WINE_DEFAULT_DEBUG_CHANNEL (resource) | |
static LPWSTR | load_message (HMODULE module, UINT id, WORD lang) |
static LPWSTR | search_message (DWORD flags, HMODULE module, UINT id, WORD lang) |
static ULONG_PTR | get_arg (int nr, DWORD flags, struct format_args *args) |
static LPCWSTR | format_insert (BOOL unicode_caller, int insert, LPCWSTR format, DWORD flags, struct format_args *args, LPWSTR *result) |
static void | format_add_char (struct _format_message_data *fmd, WCHAR c) |
static LPWSTR | format_message (BOOL unicode_caller, DWORD dwFlags, LPCWSTR fmtstr, struct format_args *format_args) |
DWORD WINAPI | FormatMessageA (DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPSTR lpBuffer, DWORD nSize, __ms_va_list *args) |
DWORD WINAPI | FormatMessageW (DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPWSTR lpBuffer, DWORD nSize, __ms_va_list *args) |
#define WIN32_NO_STATUS |
Definition at line 41 of file format_msg.c.
|
static |
Definition at line 313 of file format_msg.c.
Referenced by format_message().
|
static |
Definition at line 165 of file format_msg.c.
Referenced by format_message().
|
static |
Definition at line 368 of file format_msg.c.
Referenced by FormatMessageA(), and FormatMessageW().
DWORD WINAPI FormatMessageA | ( | DWORD | dwFlags, |
LPCVOID | lpSource, | ||
DWORD | dwMessageId, | ||
DWORD | dwLanguageId, | ||
LPSTR | lpBuffer, | ||
DWORD | nSize, | ||
__ms_va_list * | args | ||
) |
Definition at line 483 of file format_msg.c.
Referenced by doit(), error(), ATL::ChTraitsCRT< char >::FormatMessageV(), CVfdShExt::GetCommandString(), OutputError(), ReportLastError(), ShellMessageBoxA(), test_format_message(), test_message_allocate_buffer(), test_message_from_hmodule(), test_message_from_string(), test_message_ignore_inserts(), test_message_insufficient_buffer(), test_message_invalid_flags(), test_message_null_buffer(), test_message_wrap(), and TestDceErrorInqText().
DWORD WINAPI FormatMessageW | ( | DWORD | dwFlags, |
LPCVOID | lpSource, | ||
DWORD | dwMessageId, | ||
DWORD | dwLanguageId, | ||
LPWSTR | lpBuffer, | ||
DWORD | nSize, | ||
__ms_va_list * | args | ||
) |
Definition at line 583 of file format_msg.c.
Referenced by _SetOperationTexts(), build_systeminfo_tree(), CFn_WMCommand(), CheckForError(), cmdHelpMsg(), ConMsgPrintf2V(), ConMsgPuts(), DceErrorInqTextW(), DisplayError(), DisplayWin32Error(), dlg_win32error(), do_error_dialog(), doitW(), ErrorBox(), ErrorMessageBox(), export_validate_filename(), field_format_public_key(), format_message(), FormatMessageBox(), FormatMessageSafeW(), ATL::ChTraitsCRT< _CharType >::FormatMessageV(), FormatString(), get_file_handle(), CVfdShExt::GetCommandString(), GetCountryFromCountryCode(), GetError(), GetLastErrorText(), GetMessageStringFromDll(), import_validate_filename(), last_error::last_error(), LoadAndFormatString(), LoadAndFormatStringsCat(), LogToFile(), ntstatus_error::ntstatus_error(), OleUIAddVerbMenuW(), output_formatstring(), OutputText(), ParseLogonHours(), PRINTDLG_UpdatePrintDlgW(), PrintError(), PrintErrorMessage(), PrintErrorText(), PrintMessageString(), PrintMessageStringV(), PrintNetMessage(), PrintPaddedMessageString(), PrintWin32Error(), promptdisk_init(), SHELL_ConfirmDialogW(), SHELL_ErrorBoxHelper(), ShellMessageBoxW(), ShellMessageBoxWrapW(), ShowError(), CZipExtract::ShowExtractError(), ShowItemError(), ShowLastError(), ShowLastWin32Error(), ShowOutOfMemory(), ShowStepError(), ShowWin32Error(), START_TEST(), StatusBarLoadAndFormatString(), taskkill_vprintfW(), test_message_allocate_buffer_wide(), test_message_from_string_wide(), test_message_ignore_inserts_wide(), test_message_insufficient_buffer_wide(), test_message_invalid_flags_wide(), test_message_null_buffer_wide(), VarListLoadAndFormatString(), XCOPY_FailMessage(), and XCOPY_wprintf().
|
static |
Definition at line 149 of file format_msg.c.
Referenced by array_access(), exec_script(), and format_insert().
Definition at line 88 of file format_msg.c.
Referenced by search_message().
Definition at line 128 of file format_msg.c.
Referenced by FormatMessageA(), and FormatMessageW().
WINE_DEFAULT_DEBUG_CHANNEL | ( | resource | ) |