21#define _WIN32_WINNT _WIN32_WINNT_WS03
27#if defined(_WIN32) && (_WIN32_WINNT >= _WIN32_WINNT_WIN7)
36#if (_WIN32_WINNT >= _WIN32_WINNT_WINXP)
40#if (_WIN32_WINNT >= _WIN32_WINNT_WIN7)
48#if (_WIN32_WINNT >= _WIN32_WINNT_WIN7)
50#elif (_WIN32_WINNT <= _WIN32_WINNT_WS03)
56#if (_WIN32_WINNT <= _WIN32_WINNT_WIN2K)
58#elif (_WIN32_WINNT >= _WIN32_WINNT_WIN7)
82 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
87 L"Button 1",
L"Button 2",
L"Button 3",
L"Button 4",
L"Button 5",
L"Button 6",
L"Button 7",
L"Button 8",
L"Button 9",
L"Button 10",
L"Button 11",
L"Button 12",
L"Button 13"
94 data.mbp.lpszText =
L"This is a message box made using the undocumented SoftModalMessageBox() API.";
100 data.pidButton = pids;
101 data.ppszButtonText = ppText;
105#if (_WIN32_WINNT >= _WIN32_WINNT_WINXP)
106 data.dwTimeout = 3 * 1000;
112 printf(
"SoftModalMessageBoxW not found in user32.dll\n");
132 printf(
"Testing SoftModalMessageBox()...\n");
136 printf(
"Press any key to continue...\n");
140 printf(
"Testing MB_SERVICE_NOTIFICATION...\n");
144 printf(
"Press any key to quit...\n");
#define GetProcAddress(x, y)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
struct _MSGBOXDATA * LPMSGBOXDATA
void TestSoftModalMsgBox(void)
struct _MSGBOXDATA MSGBOXDATA
void TestMsgBoxServiceNotification(void)
struct _MSGBOXDATA * PMSGBOXDATA
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
int WINAPI SoftModalMessageBox(IN LPMSGBOXDATA lpMsgBoxData)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
#define MB_ICONINFORMATION
HWND WINAPI FindWindowW(_In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
#define MAKEINTRESOURCEW(i)