| Platform SDK: Win32 API |
The following elements have changed between Windows 95 and Windows 98.
| Element | Change |
|---|---|
| CreateBrushIndirect, CreateDIBPatternBrushPt, CreatePatternBrush, LOGBRUSH | Brushes can be created from bitmaps or DIBs larger than 8 by 8 pixels. |
| ExtCreatePen | The PS_DASH, PS_DASHDOT, and PS_DASHDOTDOT are no longer supported. |
| InterlockedDecrement | The return value has changed. |
| InterlockedIncrement | The return value has changed. |
| OPENFILENAME | Changes to the lpstrInitialDir member. |
| SetDIBitsToDevice, StretchDIBits | Accepts JPEG or PNG images. |
| SetForegroundWindow | The system restricts which processes can set the foreground window. For more information, see Foreground and Background Windows. |
| WM_COMMAND | If a menu is defined with MNS_NOTIFYBYPOS, the WM_MENUCOMMAND message is sent instead of the WM_COMMAND message. |
The following elements support new flags.
| Element | New Flags |
|---|---|
| BitBlt | CAPTUREBLT, NOMIRRORBITMAP |
| BITMAPINFOHEADER, BITMAPV4HEADER | BI_JPEG, BI_PNG |
| ChangeDisplaySettings | DM_POSITION |
| DEV_BROADCAST_HDR | DBT_DEVTYP_DEVICEINTERFACE, DBT_DEVTYP_HANDLE |
| DrawCaption | DC_GRADIENT |
| DrawFrameControl | DFC_POPUPMENU, DFCS_HOT, DFCS_TRANSPARENT |
| DRAWITEMSTRUCT | ODS_HOTLIGHT, ODS_INACTIVE |
| DrawText, DrawTextEx | DT_NOFULLWIDTHCHARBREAK |
| GetDeviceCaps | SHADEBLENDCAPS |
| GetStockObject | DC_BRUSH, DC_PEN |
| OPENFILENAME | OFN_ENABLESIZING |
| PeekMessage | PM_QS_INPUT, PM_QS_PAINT, PM_QS_POSTMESSAGE, PM_QS_SENDMESSAGE |
| TRACKMOUSEEVENT | TME_NONCLIENT |
| TrackPopupMenu, TrackPopupMenuEx | Animation Flags, TPM_RECURSE |
| VirtualAlloc | MEM_WRITE_WATCH |