#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | DU_OUTERMARGIN 7 |
#define | DU_INNERMARGIN 10 |
#define | DU_BTNGAP 4 |
#define | DU_BTNHEIGHT 14 |
#define | EMIGETRETURNADDRESS() |
#define | MB_MASKSHIFT 4 |
#define | MAX_RES_STRING 256 |
Functions | |
LPBYTE | MB_UpdateDlgHdr (LPDLGTEMPLATE lpDlgTmp, long lStyle, long lExtendedStyle, BYTE bItemCount, int iX, int iY, int iCX, int iCY, LPWSTR lpszCaption, int iCaptionLen) |
LPBYTE | MB_UpdateDlgItem (LPDLGITEMTEMPLATE lpDlgItem, int iCtrlId, long lStyle, long lExtendedStyle, int iX, int iY, int iCX, int iCY, LPWSTR lpszText, UINT wTextLen, int iControlClass) |
UINT | MB_GetIconOrdNum (UINT rgBits) |
LPBYTE | MB_AddPushButtons (LPDLGITEMTEMPLATE lpDlgTmp, LPMSGBOXDATA lpmb, UINT wLEdge, UINT wBEdge, DWORD dwStyleMsg) |
UINT | MB_FindDlgTemplateSize (LPMSGBOXDATA lpmb) |
int | MessageBoxWorker (LPMSGBOXDATA pMsgBoxParams) |
VOID | EndTaskModalDialog (HWND hwndDlg) |
VOID | StartTaskModalDialog (HWND hwndDlg) |
void | SendHelpMessage (HWND hwnd, int iType, int iCtrlId, HANDLE hItemHandle, DWORD dwContextId, MSGBOXCALLBACK lpfnCallback) |
int | ServiceMessageBox (LPCWSTR pText, LPCWSTR pCaption, UINT wType) |
int | MessageBoxA (HWND hwndOwner, LPCSTR lpszText, LPCSTR lpszCaption, UINT wStyle) |
int | MessageBoxW (HWND hwndOwner, LPCWSTR lpszText, LPCWSTR lpszCaption, UINT wStyle) |
int | MessageBoxExA (HWND hwndOwner, LPCSTR lpszText, LPCSTR lpszCaption, UINT wStyle, WORD wLanguageId) |
int | MessageBoxExW (HWND hwndOwner, LPCWSTR lpszText, LPCWSTR lpszCaption, UINT wStyle, WORD wLanguageId) |
int | MessageBoxIndirectA (CONST MSGBOXPARAMSA *lpmbp) |
int | MessageBoxIndirectW (CONST MSGBOXPARAMSW *lpmbp) |
int | SoftModalMessageBox (LPMSGBOXDATA lpmb) |
void | MB_CopyToClipboard (HWND hwndDlg) |
LPWSTR | MB_GetString (UINT wBtn) |
INT_PTR | MB_DlgProcWorker (HWND hwndDlg, UINT wMsg, WPARAM wParam, LPARAM lParam, BOOL fAnsi) |
INT_PTR WINAPI | MB_DlgProcA (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
INT_PTR WINAPI | MB_DlgProcW (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
Variables | |
CONST WCHAR | szEmpty [] = L"" |
WCHAR | szERROR [10] |
ATOM | atomBwlProp |
ATOM | atomMsgBoxCallback |
CONST int | aidReturn [] = { 0, 0, IDABORT, IDCANCEL, IDIGNORE, IDNO, IDOK, IDRETRY, IDYES } |
|
Definition at line 22 of file msgbox.c. Referenced by MB_AddPushButtons(), and SoftModalMessageBox(). |
|
Definition at line 23 of file msgbox.c. Referenced by MB_AddPushButtons(), and SoftModalMessageBox(). |
|
Definition at line 20 of file msgbox.c. Referenced by SoftModalMessageBox(). |
|
Definition at line 19 of file msgbox.c. Referenced by SoftModalMessageBox(). |
|
Definition at line 118 of file msgbox.c. Referenced by MessageBoxA(), MessageBoxExA(), MessageBoxExW(), MessageBoxIndirectA(), MessageBoxIndirectW(), and MessageBoxW(). |
|
Definition at line 723 of file msgbox.c. Referenced by SoftModalMessageBox(). |
|
Definition at line 123 of file msgbox.c. Referenced by SoftModalMessageBox(). |
|
Definition at line 1944 of file msgbox.c. References atomBwlProp, GetProp(), MAKEINTATOM, NtUserEnableWindow, NULL, RemoveProp(), TRUE, and UserLocalFree. Referenced by MB_DlgProcWorker().
|
|
Definition at line 1354 of file msgbox.c. References BUTTONCODE, _MSGBOXDATA::cButtons, _MSGBOXDATA::DefButton, DU_BTNGAP, DU_BTNHEIGHT, gpsi, MB_UpdateDlgItem(), _MSGBOXDATA::pidButton, _MSGBOXDATA::ppszButtonText, UINT, tagSERVERINFO::wMaxBtnSize, XPixFromXDU, and YPixFromYDU. Referenced by SoftModalMessageBox().
|
|
Definition at line 1176 of file msgbox.c. References _MSGBOXDATA::cButtons, CI_16BIT, GetClientInfo, GetWindowLongPtr(), gpsi, L, LHND, NtUserCloseClipboard(), NtUserEmptyClipboard(), OpenClipboard(), pfnWowEmptyClipBoard, _MSGBOXDATA::ppszButtonText, SetClipboardData(), UINT, UserGlobalAlloc, USERGLOBALLOCK, USERGLOBALUNLOCK, and tagSERVERINFO::wMaxBtnSize. Referenced by MB_DlgProcWorker().
|
|
Definition at line 1866 of file msgbox.c. References MB_DlgProcWorker(), and TRUE. Referenced by ClientThreadSetup(), and DefDlgProcWorker().
|
|
Definition at line 1875 of file msgbox.c. References FALSE, and MB_DlgProcWorker(). Referenced by ClientThreadSetup(), DefDlgProcWorker(), and SoftModalMessageBox().
|
|
Definition at line 1648 of file msgbox.c. References atomBwlProp, atomMsgBoxCallback, _MSGBOXDATA::CancelId, _MSGBOXDATA::DefButton, DefWindowProcWorker(), EndDialog(), EndTaskModalDialog(), FALSE, FWINABLE, GetDesktopWindow(), GetDlgItem(), GetProp(), GetWindow(), L, MAKEINTATOM, MB_CopyToClipboard(), MSGBOX_CALLBACK, NotifyWinEvent(), NtUserCallHwnd(), NtUserDeleteMenu(), NtUserGetSystemMenu(), NtUserGetWindowContextHelpId, NtUserSetFocus(), NtUserSetWindowContextHelpId, NtUserSetWindowPos(), NULL, SendDlgItemMessage(), SendHelpMessage(), SetProp(), SetSysModalWindow, SetWindowLongPtr(), StartTaskModalDialog(), TRUE, UINT, ValidateHwnd, and WINDOWLIST_PROP_NAME. Referenced by MB_DlgProcA(), and MB_DlgProcW().
|
|
Definition at line 1541 of file msgbox.c. References _MSGBOXDATA::cButtons, NextDWordBoundary, NextWordBoundary, NULL, _MSGBOXDATA::ppszButtonText, and UINT. Referenced by SoftModalMessageBox().
|
|
Definition at line 1599 of file msgbox.c. References UINT. Referenced by SoftModalMessageBox().
|
|
Definition at line 1627 of file msgbox.c. References GETGPSIMBPSTR, MAX_SEB_STYLES, and NULL. Referenced by HardErrorHandler().
|
|
Definition at line 1284 of file msgbox.c. References gpsi, NextDWordBoundary, NextWordBoundary, SYSMET, XDUFromXPix, and YDUFromYPix. Referenced by SoftModalMessageBox().
|
|
Definition at line 1425 of file msgbox.c. References BOOL, BYTE, DWORD, gpsi, NextDWordBoundary, NextWordBoundary, STATICCODE, XDUFromXPix, and YDUFromYPix. Referenced by MB_AddPushButtons(), and SoftModalMessageBox().
|
|
Definition at line 323 of file msgbox.c. References EMIGETRETURNADDRESS, and MessageBoxExA().
|
|
Definition at line 351 of file msgbox.c. References EMIGETRETURNADDRESS, MessageBoxExW(), NULL, TRUE, and UserLocalFree. Referenced by MessageBoxA().
|
|
Definition at line 388 of file msgbox.c. References EMIGETRETURNADDRESS, MessageBoxWorker(), and NULL. Referenced by MessageBoxExA(), and MessageBoxW().
|
|
Definition at line 427 of file msgbox.c. References EMIGETRETURNADDRESS, IS_PTR, MessageBoxWorker(), NULL, TRUE, and UserLocalFree.
|
|
Definition at line 466 of file msgbox.c. References EMIGETRETURNADDRESS, and MessageBoxWorker().
|
|
Definition at line 333 of file msgbox.c. References EMIGETRETURNADDRESS, and MessageBoxExW().
|
|
Definition at line 489 of file msgbox.c. References ARRAY_SIZE, BOOL, _MSGBOXDATA::CancelId, _MSGBOXDATA::cButtons, _MSGBOXDATA::DefButton, DWORD, FALSE, GetClientInfo, gpsi, hmodUser, IsWindow(), LoadStringOrError(), LoadStringW(), tagSERVERINFO::MBStrings, mpTypeCcmd, mpTypeIich, NtUserModifyUserStartupInfoFlags(), NULL, _MSGBOXDATA::pidButton, _MSGBOXDATA::ppszButtonText, SEBbuttons, ServiceMessageBox(), SoftModalMessageBox(), STR_ERROR, szERROR, tagMBSTRING::szName, TextAlloc(), TRUE, tagMBSTRING::uID, UINT, UserLocalFree, tagMBSTRING::uStr, VER40, and _MSGBOXDATA::wLanguageId. Referenced by MessageBoxExW(), MessageBoxIndirectA(), and MessageBoxIndirectW().
|
|
Definition at line 136 of file msgbox.c. References GET_X_LPARAM, GET_Y_LPARAM, NtUserGetMessagePos, NULL, and SendMessage(). Referenced by MB_DlgProcWorker().
|
|
Definition at line 178 of file msgbox.c. References aidReturn, ARRAY_SIZE, FALSE, GetCurrentProcessId, gfnWinStationSendMessageW, ghinstWinStaDll, ISTS, L, NT_SUCCESS, NtOpenThreadToken(), NtQueryInformationToken(), NtRaiseHardError(), NTSTATUS(), NULL, RtlInitUnicodeString(), Status, szEmpty, and TRUE. Referenced by MessageBoxWorker().
|
|
Definition at line 730 of file msgbox.c. References BYTE, _MSGBOXDATA::cButtons, ConnectIfNecessary, CopyRect, DrawTextExW(), DU_BTNGAP, DU_BTNHEIGHT, DU_INNERMARGIN, DU_OUTERMARGIN, DWORD, FALSE, GetClientInfo, GetDialogMonitor(), gpsi, hmodUser, InternalDialogBox(), IS_PTR, L, LMEM_ZEROINIT, max, MAX_PATH, MAX_RES_STRING, MB_AddPushButtons(), MB_DlgProcW(), MB_FindDlgTemplateSize(), MB_GetIconOrdNum(), MB_MASKSHIFT, MB_UpdateDlgHdr(), MB_UpdateDlgItem(), min, MultDiv, NtUserCallOneParam(), NtUserGetDCEx(), NtUserGetForegroundWindow(), NtUserReleaseDC, NtUserSetCursor(), NULL, PTR_TO_ID, tagMONITOR::rcMonitor, tagMONITOR::rcWork, STATICCODE, SYSMET, szEmpty, UNICODE_RLM, USER_SOUND_MAX, UserLocalFree, VER31, tagSERVERINFO::wMaxBtnSize, XPixFromXDU, and YPixFromYDU. Referenced by HardErrorHandler(), and MessageBoxWorker().
|
|
Definition at line 1892 of file msgbox.c. References atomBwlProp, BuildHwndList(), DIFFWOWHANDLE, FALSE, MAKEINTATOM, NtUserEnableWindow, NULL, RevalidateHwnd, SetProp(), TestWF, UserLocalFree, and WFDISABLED. Referenced by MB_DlgProcWorker().
|
|
Definition at line 176 of file msgbox.c. Referenced by ServiceMessageBox(). |
|
Definition at line 127 of file msgbox.c. Referenced by EndTaskModalDialog(), MB_DlgProcWorker(), and StartTaskModalDialog(). |
|
Definition at line 128 of file msgbox.c. Referenced by MB_DlgProcWorker(). |
|
Definition at line 125 of file msgbox.c. Referenced by ServiceMessageBox(), and SoftModalMessageBox(). |
|
Definition at line 126 of file msgbox.c. Referenced by MessageBoxWorker(). |