Wine, WineLib and "Programming Windows 95"
Last updated: 2003/5/4
Description
Queries various system properties (SM_CXSCREEN,...,SM_SHOWSOUNDS) and displays the results on three columns: property name (hard coded), property description (hard coded), and value. It does not use any fancy widget like a table, aligning the columns is done by using TextOut. The window has no scrollbar so one likely will have to resize it to see everything.
Wine tests
- Managed mode and regular mode give the same results.
Winelib tests
Tested API
- GDI32
GetStockObject, GetTextMetricsA, SetTextAlign, TextOutA
- KERNEL32
CloseHandle, ExitProcess, FlushFileBuffers, FreeEnvironmentStringsA, FreeEnvironmentStringsW, GetACP, GetCPInfo, GetCommandLineA, GetEnvironmentStrings, GetEnvironmentStringsW, GetFileType, GetLastError, GetModuleFileNameA, GetModuleHandleA, GetOEMCP, GetProcAddress, GetStartupInfoA, GetStdHandle, GetVersion, HeapAlloc, HeapCreate, HeapFree, LoadLibraryA, RtlUnwind, SetFilePointer, SetHandleCount, SetStdHandle, UnhandledExceptionFilter, WideCharToMultiByte, WriteFile
- USER32
BeginPaint, CreateWindowExA, DefWindowProcA, DispatchMessageA, EndPaint, GetDC, GetMessageA, GetSystemMetrics, LoadCursorA, LoadIconA, PostQuitMessage, RegisterClassExA, ReleaseDC, ShowWindow, TranslateMessage, UpdateWindow, wsprintfA
Last updated: 2000/12/2
Description
This is the same program as sysmets1 except that it adds a vertical scrollbar. The program contains a bug so that the button to scroll down will only scroll one line. Dragging the caret works though.
Wine tests
Winelib tests
Tested API
- GDI32
GetStockObject, GetTextMetricsA, SetTextAlign, TextOutA
- KERNEL32
CloseHandle, ExitProcess, FlushFileBuffers, FreeEnvironmentStringsA, FreeEnvironmentStringsW, GetACP, GetCPInfo, GetCommandLineA, GetEnvironmentStrings, GetEnvironmentStringsW, GetFileType, GetLastError, GetModuleFileNameA, GetModuleHandleA, GetOEMCP, GetProcAddress, GetStartupInfoA, GetStdHandle, GetVersion, HeapAlloc, HeapCreate, HeapFree, LoadLibraryA, RtlUnwind, SetFilePointer, SetHandleCount, SetStdHandle, UnhandledExceptionFilter, WideCharToMultiByte, WriteFile
- USER32
BeginPaint, CreateWindowExA, DefWindowProcA, DispatchMessageA, EndPaint, GetDC, GetMessageA, GetScrollPos, GetSystemMetrics, InvalidateRect, LoadCursorA, LoadIconA, PostQuitMessage, RegisterClassExA, ReleaseDC, SetScrollPos, SetScrollRange, ShowWindow, TranslateMessage, UpdateWindow, wsprintfA
Last updated: 2000/12/2
Description
This is the same as sysmets2 except that it adds an horizontal scrollbar. It also fixes the vertical scrollbar bug and the scrollbars disappear if the window is big enough.
Wine tests
Winelib tests
Tested API
- GDI32
GetStockObject, GetTextMetricsA, SetTextAlign, TextOutA
- KERNEL32
CloseHandle, ExitProcess, FlushFileBuffers, FreeEnvironmentStringsA, FreeEnvironmentStringsW, GetACP, GetCPInfo, GetCommandLineA, GetEnvironmentStrings, GetEnvironmentStringsW, GetFileType, GetLastError, GetModuleFileNameA, GetModuleHandleA, GetOEMCP, GetProcAddress, GetStartupInfoA, GetStdHandle, GetVersion, HeapAlloc, HeapCreate, HeapFree, LoadLibraryA, RtlUnwind, SetFilePointer, SetHandleCount, SetStdHandle, UnhandledExceptionFilter, WideCharToMultiByte, WriteFile
- USER32
BeginPaint, CreateWindowExA, DefWindowProcA, DispatchMessageA, EndPaint, GetDC, GetMessageA, GetSystemMetrics, LoadCursorA, LoadIconA, PostQuitMessage, RegisterClassExA, ReleaseDC, ScrollWindow, SetScrollPos, SetScrollRange, ShowWindow, TranslateMessage, UpdateWindow, wsprintfA