Go to the source code of this file.
◆ ErrorMessageBox()
Definition at line 11 of file error.c.
12{
13 int iRet = 0;
17
19
22 dwErrorCode,
25 0,
27
29
31
33
34
35 return iRet;
36}
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 38 of file error.c.
39{
40 int iRet = 0;
43
45
46 if (lpMessage)
47 {
49
50
52 if (lpMsgBuf)
53 {
55 }
56 }
57
59
60 iRet =
MessageBoxW(
hWnd, (lpMessage && lpMsgBuf ? lpMsgBuf :
L"Error displaying info message."),
lpTitle, uType);
61
63
64
65 return iRet;
66}
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().