Go to the source code of this file.
◆ ErrorMessageBox()
Definition at line 24 of file error.c.
25{
26 int iRet = 0;
30
32
35 dwErrorCode,
38 0,
40
42
44
46
47
48 return iRet;
49}
HLOCAL NTAPI LocalFree(HLOCAL hMem)
#define FORMAT_MESSAGE_FROM_SYSTEM
#define FORMAT_MESSAGE_ALLOCATE_BUFFER
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
Referenced by error_code_messagebox(), ExportRegistryFile(), ImportRegistryFile(), LoadHive(), TreeWndNotifyProc(), and UnloadHive().
◆ InfoMessageBox()
Definition at line 51 of file error.c.
52{
53 int iRet = 0;
56
58
59 if (lpMessage)
60 {
62
63
65 if (lpMsgBuf)
66 {
68 }
69 }
70
72
73 iRet =
MessageBoxW(
hWnd, (lpMessage && lpMsgBuf ? lpMsgBuf :
L"Error displaying info message."),
lpTitle, uType);
74
76
77
78 return iRet;
79}
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
_CRTIMP int __cdecl _vsnwprintf(wchar_t *_Dest, size_t _Count, const wchar_t *_Format, va_list _Args)
_Check_return_ _CRTIMP int __cdecl _vscwprintf(_In_z_ _Printf_format_string_ const wchar_t *_Format, va_list _ArgList)
Referenced by CreateNewKey(), ExportRegistryFile(), ImportRegistryFile(), and PerformRegAction().