27 #define SIP(String, Integer) { (String), (PVOID)(Integer) }
32 SIP(L
"Information", MB_ICONINFORMATION),
33 SIP(L
"Warning", MB_ICONWARNING),
34 SIP(L
"Error", MB_ICONERROR),
35 SIP(L
"Question", MB_ICONQUESTION)
46 _In_ HWND ParentWindowHandle,
72 SetProp(hwndDlg, L
"SessionId", (HANDLE)(ULONG)lParam);
75 iconComboBox = GetDlgItem(hwndDlg,
IDC_TYPE);
77 ComboBox_AddString(iconComboBox, L
"None");
78 ComboBox_AddString(iconComboBox, L
"Information");
79 ComboBox_AddString(iconComboBox, L
"Warning");
80 ComboBox_AddString(iconComboBox, L
"Error");
81 ComboBox_AddString(iconComboBox, L
"Question");
93 SendMessage(hwndDlg, WM_NEXTDLGCTL, (WPARAM)GetDlgItem(hwndDlg,
IDC_TEXT),
TRUE);
98 RemoveProp(hwndDlg, L
"SessionId");
103 switch (LOWORD(wParam))
106 EndDialog(hwndDlg, IDCANCEL);
110 ULONG sessionId = (ULONG)GetProp(hwndDlg, L
"SessionId");
121 PhpMessageBoxIconPairs,
122 sizeof(PhpMessageBoxIconPairs),
145 EndDialog(hwndDlg, IDOK);
149 PhShowStatus(hwndDlg, L
"Unable to send the message", 0, GetLastError());