Changeset 223
- Timestamp:
- Jun 26, 1999, 8:25:08 PM (26 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
-
changelog (modified) (1 diff)
-
include/OS2WIN.H (modified) (750 diffs)
-
include/os2sel.h (modified) (2 diffs)
-
include/os2wrap.h (modified) (1015 diffs)
-
include/winos2def.h (modified) (4 diffs)
-
src/kernel32/KERNEL32.DEF (modified) (2 diffs)
-
src/kernel32/except.asm (modified) (2 diffs)
-
src/kernel32/kernel32exp.def (modified) (2 diffs)
-
src/user32/wndclass.cpp (modified) (10 diffs)
-
src/user32/wndproc.cpp (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/changelog
r220 r223 1 /* $Id: changelog,v 1.2 4 1999-06-26 15:06:35sandervl Exp $ */1 /* $Id: changelog,v 1.25 1999-06-26 18:23:58 sandervl Exp $ */ 2 2 99-06-26: Sander van Leeuwen 3 3 - USER32: Changes for message spy & several message handler changes 4 - USER32: Restore win32 tib in window msg callback 5 - KERNEL32/include: Restore OS/2 tib on entering Open32 or OS/2 apis 4 6 5 7 99-06-25: Achim Hasenmueller -
trunk/include/OS2WIN.H
r94 r223 1 /* $Id: OS2WIN.H,v 1. 6 1999-06-10 16:21:47 achimhaExp $ */1 /* $Id: OS2WIN.H,v 1.7 1999-06-26 18:24:20 sandervl Exp $ */ 2 2 #ifndef _OS2WIN_H 3 3 #define _OS2WIN_H … … 1623 1623 { 1624 1624 int yyrc; 1625 USHORT sel = GetFS();1625 USHORT sel = RestoreOS2FS(); 1626 1626 1627 1627 yyrc = _O32_WinMain(a, b, c, d); … … 1634 1634 { 1635 1635 int yyrc; 1636 USHORT sel = GetFS();1636 USHORT sel = RestoreOS2FS(); 1637 1637 1638 1638 yyrc = _O32_AbortDoc(a); … … 1645 1645 { 1646 1646 BOOL yyrc; 1647 USHORT sel = GetFS();1647 USHORT sel = RestoreOS2FS(); 1648 1648 1649 1649 yyrc = _O32_AbortPath(a); … … 1656 1656 { 1657 1657 ATOM yyrc; 1658 USHORT sel = GetFS();1658 USHORT sel = RestoreOS2FS(); 1659 1659 1660 1660 yyrc = _O32_AddAtom(a); … … 1667 1667 { 1668 1668 int yyrc; 1669 USHORT sel = GetFS();1669 USHORT sel = RestoreOS2FS(); 1670 1670 1671 1671 yyrc = _O32_AddFontResource(a); … … 1678 1678 { 1679 1679 BOOL yyrc; 1680 USHORT sel = GetFS();1680 USHORT sel = RestoreOS2FS(); 1681 1681 1682 1682 yyrc = _O32_AdjustWindowRect(a, b, c); … … 1689 1689 { 1690 1690 BOOL yyrc; 1691 USHORT sel = GetFS();1691 USHORT sel = RestoreOS2FS(); 1692 1692 1693 1693 yyrc = _O32_AdjustWindowRectEx(a, b, c, d); … … 1700 1700 { 1701 1701 BOOL yyrc; 1702 USHORT sel = GetFS();1702 USHORT sel = RestoreOS2FS(); 1703 1703 1704 1704 yyrc = _O32_AngleArc(a, b, c, d, e, f); … … 1711 1711 { 1712 1712 BOOL yyrc; 1713 USHORT sel = GetFS();1713 USHORT sel = RestoreOS2FS(); 1714 1714 1715 1715 yyrc = _O32_AnimatePalette(a, b, c, d); … … 1722 1722 { 1723 1723 BOOL yyrc; 1724 USHORT sel = GetFS();1724 USHORT sel = RestoreOS2FS(); 1725 1725 1726 1726 yyrc = _O32_AppendMenu(a, b, c, d); … … 1733 1733 { 1734 1734 BOOL yyrc; 1735 USHORT sel = GetFS();1735 USHORT sel = RestoreOS2FS(); 1736 1736 1737 1737 yyrc = _O32_Arc(a, b, c, d, e, f, g, h, i); … … 1744 1744 { 1745 1745 BOOL yyrc; 1746 USHORT sel = GetFS();1746 USHORT sel = RestoreOS2FS(); 1747 1747 1748 1748 yyrc = _O32_ArcTo(a, b, c, d, e, f, g, h, i); … … 1755 1755 { 1756 1756 UINT yyrc; 1757 USHORT sel = GetFS();1757 USHORT sel = RestoreOS2FS(); 1758 1758 1759 1759 yyrc = _O32_ArrangeIconicWindows(a); … … 1766 1766 { 1767 1767 BOOL yyrc; 1768 USHORT sel = GetFS();1768 USHORT sel = RestoreOS2FS(); 1769 1769 1770 1770 yyrc = _O32_Beep(a, b); … … 1777 1777 { 1778 1778 HDWP yyrc; 1779 USHORT sel = GetFS();1779 USHORT sel = RestoreOS2FS(); 1780 1780 1781 1781 yyrc = _O32_BeginDeferWindowPos(a); … … 1788 1788 { 1789 1789 HDC yyrc; 1790 USHORT sel = GetFS();1790 USHORT sel = RestoreOS2FS(); 1791 1791 1792 1792 yyrc = _O32_BeginPaint(a, b); … … 1799 1799 { 1800 1800 BOOL yyrc; 1801 USHORT sel = GetFS();1801 USHORT sel = RestoreOS2FS(); 1802 1802 1803 1803 yyrc = _O32_BeginPath(a); … … 1810 1810 { 1811 1811 BOOL yyrc; 1812 USHORT sel = GetFS();1812 USHORT sel = RestoreOS2FS(); 1813 1813 1814 1814 yyrc = _O32_BitBlt(a, b, c, d, e, f, g, h, i); … … 1821 1821 { 1822 1822 BOOL yyrc; 1823 USHORT sel = GetFS();1823 USHORT sel = RestoreOS2FS(); 1824 1824 1825 1825 yyrc = _O32_BringWindowToTop(a); … … 1832 1832 { 1833 1833 BOOL yyrc; 1834 USHORT sel = GetFS();1834 USHORT sel = RestoreOS2FS(); 1835 1835 1836 1836 yyrc = _O32_CallMsgFilter(a, b); … … 1843 1843 { 1844 1844 LRESULT yyrc; 1845 USHORT sel = GetFS();1845 USHORT sel = RestoreOS2FS(); 1846 1846 1847 1847 yyrc = _O32_CallNextHookEx(a, b, c, d); … … 1854 1854 { 1855 1855 LRESULT yyrc; 1856 USHORT sel = GetFS();1856 USHORT sel = RestoreOS2FS(); 1857 1857 1858 1858 yyrc = _O32_CallWindowProc(a, b, c, d, e); … … 1865 1865 { 1866 1866 BOOL yyrc; 1867 USHORT sel = GetFS();1867 USHORT sel = RestoreOS2FS(); 1868 1868 1869 1869 yyrc = _O32_ChangeClipboardChain(a, b); … … 1876 1876 { 1877 1877 LPSTR yyrc; 1878 USHORT sel = GetFS();1878 USHORT sel = RestoreOS2FS(); 1879 1879 1880 1880 yyrc = _O32_CharLower(a); … … 1887 1887 { 1888 1888 DWORD yyrc; 1889 USHORT sel = GetFS();1889 USHORT sel = RestoreOS2FS(); 1890 1890 1891 1891 yyrc = _O32_CharLowerBuff(a, b); … … 1898 1898 { 1899 1899 LPSTR yyrc; 1900 USHORT sel = GetFS();1900 USHORT sel = RestoreOS2FS(); 1901 1901 1902 1902 yyrc = _O32_CharUpper(a); … … 1909 1909 { 1910 1910 DWORD yyrc; 1911 USHORT sel = GetFS();1911 USHORT sel = RestoreOS2FS(); 1912 1912 1913 1913 yyrc = _O32_CharUpperBuff(a, b); … … 1920 1920 { 1921 1921 BOOL yyrc; 1922 USHORT sel = GetFS();1922 USHORT sel = RestoreOS2FS(); 1923 1923 1924 1924 yyrc = _O32_CheckDlgButton(a, b, c); … … 1931 1931 { 1932 1932 DWORD yyrc; 1933 USHORT sel = GetFS();1933 USHORT sel = RestoreOS2FS(); 1934 1934 1935 1935 yyrc = _O32_CheckMenuItem(a, b, c); … … 1942 1942 { 1943 1943 BOOL yyrc; 1944 USHORT sel = GetFS();1944 USHORT sel = RestoreOS2FS(); 1945 1945 1946 1946 yyrc = _O32_CheckRadioButton(a, b, c, d); … … 1953 1953 { 1954 1954 HWND yyrc; 1955 USHORT sel = GetFS();1955 USHORT sel = RestoreOS2FS(); 1956 1956 1957 1957 yyrc = _O32_ChildWindowFromPoint(a, b); … … 1964 1964 { 1965 1965 BOOL yyrc; 1966 USHORT sel = GetFS();1966 USHORT sel = RestoreOS2FS(); 1967 1967 1968 1968 yyrc = _O32_ChooseColor(a); … … 1975 1975 { 1976 1976 BOOL yyrc; 1977 USHORT sel = GetFS();1977 USHORT sel = RestoreOS2FS(); 1978 1978 1979 1979 yyrc = _O32_ChooseFont(a); … … 1986 1986 { 1987 1987 BOOL yyrc; 1988 USHORT sel = GetFS();1988 USHORT sel = RestoreOS2FS(); 1989 1989 1990 1990 yyrc = _O32_Chord(a, b, c, d, e, f, g, h, i); … … 1997 1997 { 1998 1998 BOOL yyrc; 1999 USHORT sel = GetFS();1999 USHORT sel = RestoreOS2FS(); 2000 2000 2001 2001 yyrc = _O32_ClientToScreen(a, b); … … 2008 2008 { 2009 2009 BOOL yyrc; 2010 USHORT sel = GetFS();2010 USHORT sel = RestoreOS2FS(); 2011 2011 2012 2012 yyrc = _O32_ClipCursor(a); … … 2019 2019 { 2020 2020 BOOL yyrc; 2021 USHORT sel = GetFS();2021 USHORT sel = RestoreOS2FS(); 2022 2022 2023 2023 yyrc = _O32_CloseClipboard(); … … 2030 2030 { 2031 2031 HENHMETAFILE yyrc; 2032 USHORT sel = GetFS();2032 USHORT sel = RestoreOS2FS(); 2033 2033 2034 2034 yyrc = _O32_CloseEnhMetaFile(a); … … 2041 2041 { 2042 2042 BOOL yyrc; 2043 USHORT sel = GetFS();2043 USHORT sel = RestoreOS2FS(); 2044 2044 2045 2045 yyrc = _O32_CloseFigure(a); … … 2052 2052 { 2053 2053 BOOL yyrc; 2054 USHORT sel = GetFS();2054 USHORT sel = RestoreOS2FS(); 2055 2055 2056 2056 yyrc = _O32_CloseHandle(a); … … 2063 2063 { 2064 2064 HMETAFILE yyrc; 2065 USHORT sel = GetFS();2065 USHORT sel = RestoreOS2FS(); 2066 2066 2067 2067 yyrc = _O32_CloseMetaFile(a); … … 2074 2074 { 2075 2075 BOOL yyrc; 2076 USHORT sel = GetFS();2076 USHORT sel = RestoreOS2FS(); 2077 2077 2078 2078 yyrc = _O32_CloseWindow(a); … … 2085 2085 { 2086 2086 int yyrc; 2087 USHORT sel = GetFS();2087 USHORT sel = RestoreOS2FS(); 2088 2088 2089 2089 yyrc = _O32_CombineRgn(a, b, c, d); … … 2096 2096 { 2097 2097 DWORD yyrc; 2098 USHORT sel = GetFS();2098 USHORT sel = RestoreOS2FS(); 2099 2099 2100 2100 yyrc = _O32_CommDlgExtendedError(); … … 2107 2107 { 2108 2108 LONG yyrc; 2109 USHORT sel = GetFS();2109 USHORT sel = RestoreOS2FS(); 2110 2110 2111 2111 yyrc = _O32_CompareFileTime(a, b); … … 2118 2118 { 2119 2119 HCURSOR yyrc; 2120 USHORT sel = GetFS();2120 USHORT sel = RestoreOS2FS(); 2121 2121 2122 2122 yyrc = _O32_CopyCursor(a); … … 2129 2129 { 2130 2130 HENHMETAFILE yyrc; 2131 USHORT sel = GetFS();2131 USHORT sel = RestoreOS2FS(); 2132 2132 2133 2133 yyrc = _O32_CopyEnhMetaFile(a, b); … … 2140 2140 { 2141 2141 BOOL yyrc; 2142 USHORT sel = GetFS();2142 USHORT sel = RestoreOS2FS(); 2143 2143 2144 2144 yyrc = _O32_CopyFile(a, b, c); … … 2151 2151 { 2152 2152 HICON yyrc; 2153 USHORT sel = GetFS();2153 USHORT sel = RestoreOS2FS(); 2154 2154 2155 2155 yyrc = _O32_CopyIcon(a); … … 2162 2162 { 2163 2163 HMETAFILE yyrc; 2164 USHORT sel = GetFS();2164 USHORT sel = RestoreOS2FS(); 2165 2165 2166 2166 yyrc = _O32_CopyMetaFile(a, b); … … 2173 2173 { 2174 2174 BOOL yyrc; 2175 USHORT sel = GetFS();2175 USHORT sel = RestoreOS2FS(); 2176 2176 2177 2177 yyrc = _O32_CopyRect(a, b); … … 2184 2184 { 2185 2185 int yyrc; 2186 USHORT sel = GetFS();2186 USHORT sel = RestoreOS2FS(); 2187 2187 2188 2188 yyrc = _O32_CountClipboardFormats(); … … 2195 2195 { 2196 2196 HACCEL yyrc; 2197 USHORT sel = GetFS();2197 USHORT sel = RestoreOS2FS(); 2198 2198 2199 2199 yyrc = _O32_CreateAcceleratorTable(a, b); … … 2206 2206 { 2207 2207 HBITMAP yyrc; 2208 USHORT sel = GetFS();2208 USHORT sel = RestoreOS2FS(); 2209 2209 2210 2210 yyrc = _O32_CreateBitmap(a, b, c, d, e); … … 2217 2217 { 2218 2218 HBITMAP yyrc; 2219 USHORT sel = GetFS();2219 USHORT sel = RestoreOS2FS(); 2220 2220 2221 2221 yyrc = _O32_CreateBitmapIndirect(a); … … 2228 2228 { 2229 2229 HBRUSH yyrc; 2230 USHORT sel = GetFS();2230 USHORT sel = RestoreOS2FS(); 2231 2231 2232 2232 yyrc = _O32_CreateBrushIndirect(a); … … 2239 2239 { 2240 2240 BOOL yyrc; 2241 USHORT sel = GetFS();2241 USHORT sel = RestoreOS2FS(); 2242 2242 2243 2243 yyrc = _O32_CreateCaret(a, b, c, d); … … 2250 2250 { 2251 2251 HBITMAP yyrc; 2252 USHORT sel = GetFS();2252 USHORT sel = RestoreOS2FS(); 2253 2253 2254 2254 yyrc = _O32_CreateCompatibleBitmap(a, b, c); … … 2261 2261 { 2262 2262 HDC yyrc; 2263 USHORT sel = GetFS();2263 USHORT sel = RestoreOS2FS(); 2264 2264 2265 2265 yyrc = _O32_CreateCompatibleDC(a); … … 2272 2272 { 2273 2273 HCURSOR yyrc; 2274 USHORT sel = GetFS();2274 USHORT sel = RestoreOS2FS(); 2275 2275 2276 2276 yyrc = _O32_CreateCursor(a, b, c, d, e, f, g); … … 2283 2283 { 2284 2284 HDC yyrc; 2285 USHORT sel = GetFS();2285 USHORT sel = RestoreOS2FS(); 2286 2286 2287 2287 yyrc = _O32_CreateDC(a, b, c, d); … … 2294 2294 { 2295 2295 HBRUSH yyrc; 2296 USHORT sel = GetFS();2296 USHORT sel = RestoreOS2FS(); 2297 2297 2298 2298 yyrc = _O32_CreateDIBPatternBrushPt(a, b); … … 2305 2305 { 2306 2306 HBITMAP yyrc; 2307 USHORT sel = GetFS();2307 USHORT sel = RestoreOS2FS(); 2308 2308 2309 2309 yyrc = _O32_CreateDIBitmap(a, b, c, d, e, f); … … 2316 2316 { 2317 2317 HWND yyrc; 2318 USHORT sel = GetFS();2318 USHORT sel = RestoreOS2FS(); 2319 2319 2320 2320 yyrc = _O32_CreateDialog(a, b, c, d); … … 2327 2327 { 2328 2328 HWND yyrc; 2329 USHORT sel = GetFS();2329 USHORT sel = RestoreOS2FS(); 2330 2330 2331 2331 yyrc = _O32_CreateDialogParam(a, b, c, d, e); … … 2338 2338 { 2339 2339 HWND yyrc; 2340 USHORT sel = GetFS();2340 USHORT sel = RestoreOS2FS(); 2341 2341 2342 2342 yyrc = _O32_CreateDialogIndirect(a, b, c, d); … … 2349 2349 { 2350 2350 HWND yyrc; 2351 USHORT sel = GetFS();2351 USHORT sel = RestoreOS2FS(); 2352 2352 2353 2353 yyrc = _O32_CreateDialogIndirectParam(a, b, c, d, e); … … 2360 2360 { 2361 2361 BOOL yyrc; 2362 USHORT sel = GetFS();2362 USHORT sel = RestoreOS2FS(); 2363 2363 2364 2364 yyrc = _O32_CreateDirectory(a, b); … … 2371 2371 { 2372 2372 HRGN yyrc; 2373 USHORT sel = GetFS();2373 USHORT sel = RestoreOS2FS(); 2374 2374 2375 2375 yyrc = _O32_CreateEllipticRgn(a, b, c, d); … … 2382 2382 { 2383 2383 HRGN yyrc; 2384 USHORT sel = GetFS();2384 USHORT sel = RestoreOS2FS(); 2385 2385 2386 2386 yyrc = _O32_CreateEllipticRgnIndirect(a); … … 2393 2393 { 2394 2394 HENHMETAFILE yyrc; 2395 USHORT sel = GetFS();2395 USHORT sel = RestoreOS2FS(); 2396 2396 2397 2397 yyrc = _O32_CreateEnhMetaFile(a, b, c, d); … … 2404 2404 { 2405 2405 HANDLE yyrc; 2406 USHORT sel = GetFS();2406 USHORT sel = RestoreOS2FS(); 2407 2407 2408 2408 yyrc = _O32_CreateEvent(a, b, c, d); … … 2415 2415 { 2416 2416 HANDLE yyrc; 2417 USHORT sel = GetFS();2417 USHORT sel = RestoreOS2FS(); 2418 2418 2419 2419 yyrc = _O32_CreateFile(a, b, c, d, e, f, g); … … 2426 2426 { 2427 2427 HFONT yyrc; 2428 USHORT sel = GetFS();2428 USHORT sel = RestoreOS2FS(); 2429 2429 2430 2430 yyrc = _O32_CreateFont(a, b, c, d, e, f, g, h, i, j, k, l, m, n); … … 2437 2437 { 2438 2438 HFONT yyrc; 2439 USHORT sel = GetFS();2439 USHORT sel = RestoreOS2FS(); 2440 2440 2441 2441 yyrc = _O32_CreateFontIndirect(a); … … 2448 2448 { 2449 2449 HBRUSH yyrc; 2450 USHORT sel = GetFS();2450 USHORT sel = RestoreOS2FS(); 2451 2451 2452 2452 yyrc = _O32_CreateHatchBrush(a, b); … … 2459 2459 { 2460 2460 HDC yyrc; 2461 USHORT sel = GetFS();2461 USHORT sel = RestoreOS2FS(); 2462 2462 2463 2463 yyrc = _O32_CreateIC(a, b, c, d); … … 2470 2470 { 2471 2471 HICON yyrc; 2472 USHORT sel = GetFS();2472 USHORT sel = RestoreOS2FS(); 2473 2473 2474 2474 yyrc = _O32_CreateIcon(a, b, c, d, e, f, g); … … 2481 2481 { 2482 2482 HICON yyrc; 2483 USHORT sel = GetFS();2483 USHORT sel = RestoreOS2FS(); 2484 2484 2485 2485 yyrc = _O32_CreateIconFromResource(a, b, c, d); … … 2492 2492 { 2493 2493 HICON yyrc; 2494 USHORT sel = GetFS();2494 USHORT sel = RestoreOS2FS(); 2495 2495 2496 2496 yyrc = _O32_CreateIconIndirect(a); … … 2503 2503 { 2504 2504 HMENU yyrc; 2505 USHORT sel = GetFS();2505 USHORT sel = RestoreOS2FS(); 2506 2506 2507 2507 yyrc = _O32_CreateMenu(); … … 2514 2514 { 2515 2515 HDC yyrc; 2516 USHORT sel = GetFS();2516 USHORT sel = RestoreOS2FS(); 2517 2517 2518 2518 yyrc = _O32_CreateMetaFile(a); … … 2525 2525 { 2526 2526 HWND yyrc; 2527 USHORT sel = GetFS();2527 USHORT sel = RestoreOS2FS(); 2528 2528 2529 2529 yyrc = _O32_CreateMDIWindow(a, b, c, d, e, f, g, h, i, j); … … 2536 2536 { 2537 2537 HANDLE yyrc; 2538 USHORT sel = GetFS();2538 USHORT sel = RestoreOS2FS(); 2539 2539 2540 2540 yyrc = _O32_CreateMutex(a, b, c); … … 2547 2547 { 2548 2548 HPALETTE yyrc; 2549 USHORT sel = GetFS();2549 USHORT sel = RestoreOS2FS(); 2550 2550 2551 2551 yyrc = _O32_CreatePalette(a); … … 2558 2558 { 2559 2559 HBRUSH yyrc; 2560 USHORT sel = GetFS();2560 USHORT sel = RestoreOS2FS(); 2561 2561 2562 2562 yyrc = _O32_CreatePatternBrush(a); … … 2569 2569 { 2570 2570 HPEN yyrc; 2571 USHORT sel = GetFS();2571 USHORT sel = RestoreOS2FS(); 2572 2572 2573 2573 yyrc = _O32_CreatePen(a, b, c); … … 2580 2580 { 2581 2581 HPEN yyrc; 2582 USHORT sel = GetFS();2582 USHORT sel = RestoreOS2FS(); 2583 2583 2584 2584 yyrc = _O32_CreatePenIndirect(a); … … 2591 2591 { 2592 2592 HRGN yyrc; 2593 USHORT sel = GetFS();2593 USHORT sel = RestoreOS2FS(); 2594 2594 2595 2595 yyrc = _O32_CreatePolyPolygonRgn(a, b, c, d); … … 2602 2602 { 2603 2603 HRGN yyrc; 2604 USHORT sel = GetFS();2604 USHORT sel = RestoreOS2FS(); 2605 2605 2606 2606 yyrc = _O32_CreatePolygonRgn(a, b, c); … … 2613 2613 { 2614 2614 HMENU yyrc; 2615 USHORT sel = GetFS();2615 USHORT sel = RestoreOS2FS(); 2616 2616 2617 2617 yyrc = _O32_CreatePopupMenu(); … … 2624 2624 { 2625 2625 BOOL yyrc; 2626 USHORT sel = GetFS();2626 USHORT sel = RestoreOS2FS(); 2627 2627 2628 2628 yyrc = _O32_CreateProcess(a, b, c, d, e, f, g, h, i, j); … … 2635 2635 { 2636 2636 HRGN yyrc; 2637 USHORT sel = GetFS();2637 USHORT sel = RestoreOS2FS(); 2638 2638 2639 2639 yyrc = _O32_CreateRectRgn(a, b, c, d); … … 2646 2646 { 2647 2647 HRGN yyrc; 2648 USHORT sel = GetFS();2648 USHORT sel = RestoreOS2FS(); 2649 2649 2650 2650 yyrc = _O32_CreateRectRgnIndirect(a); … … 2657 2657 { 2658 2658 HRGN yyrc; 2659 USHORT sel = GetFS();2659 USHORT sel = RestoreOS2FS(); 2660 2660 2661 2661 yyrc = _O32_CreateRoundRectRgn(a, b, c, d, e, f); … … 2668 2668 { 2669 2669 HANDLE yyrc; 2670 USHORT sel = GetFS();2670 USHORT sel = RestoreOS2FS(); 2671 2671 2672 2672 yyrc = _O32_CreateSemaphore(a, b, c, d); … … 2679 2679 { 2680 2680 HBRUSH yyrc; 2681 USHORT sel = GetFS();2681 USHORT sel = RestoreOS2FS(); 2682 2682 2683 2683 yyrc = _O32_CreateSolidBrush(a); … … 2690 2690 { 2691 2691 HANDLE yyrc; 2692 USHORT sel = GetFS();2692 USHORT sel = RestoreOS2FS(); 2693 2693 2694 2694 yyrc = _O32_CreateThread(a, b, c, d, e, f); … … 2701 2701 { 2702 2702 HWND yyrc; 2703 USHORT sel = GetFS();2703 USHORT sel = RestoreOS2FS(); 2704 2704 2705 2705 yyrc = _O32_CreateWindowEx(a, b, c, d, e, f, g, h, i, j, k, l); … … 2712 2712 { 2713 2713 BOOL yyrc; 2714 USHORT sel = GetFS();2714 USHORT sel = RestoreOS2FS(); 2715 2715 2716 2716 yyrc = _O32_DPtoLP(a, b, c); … … 2723 2723 { 2724 2724 BOOL yyrc; 2725 USHORT sel = GetFS();2725 USHORT sel = RestoreOS2FS(); 2726 2726 2727 2727 yyrc = _O32_DdeAbandonTransaction(a, b, c); … … 2734 2734 { 2735 2735 PBYTE yyrc; 2736 USHORT sel = GetFS();2736 USHORT sel = RestoreOS2FS(); 2737 2737 2738 2738 yyrc = _O32_DdeAccessData(a, b); … … 2745 2745 { 2746 2746 HDDEDATA yyrc; 2747 USHORT sel = GetFS();2747 USHORT sel = RestoreOS2FS(); 2748 2748 2749 2749 yyrc = _O32_DdeAddData(a, b, c, d); … … 2756 2756 { 2757 2757 HDDEDATA yyrc; 2758 USHORT sel = GetFS();2758 USHORT sel = RestoreOS2FS(); 2759 2759 2760 2760 yyrc = _O32_DdeClientTransaction(a, b, c, d, e, f, g, h); … … 2767 2767 { 2768 2768 int yyrc; 2769 USHORT sel = GetFS();2769 USHORT sel = RestoreOS2FS(); 2770 2770 2771 2771 yyrc = _O32_DdeCmpStringHandles(a, b); … … 2778 2778 { 2779 2779 HCONV yyrc; 2780 USHORT sel = GetFS();2780 USHORT sel = RestoreOS2FS(); 2781 2781 2782 2782 yyrc = _O32_DdeConnect(a, b, c, d); … … 2789 2789 { 2790 2790 HCONVLIST yyrc; 2791 USHORT sel = GetFS();2791 USHORT sel = RestoreOS2FS(); 2792 2792 2793 2793 yyrc = _O32_DdeConnectList(a, b, c, d, e); … … 2800 2800 { 2801 2801 HDDEDATA yyrc; 2802 USHORT sel = GetFS();2802 USHORT sel = RestoreOS2FS(); 2803 2803 2804 2804 yyrc = _O32_DdeCreateDataHandle(a, b, c, d, e, f, g); … … 2811 2811 { 2812 2812 HSZ yyrc; 2813 USHORT sel = GetFS();2813 USHORT sel = RestoreOS2FS(); 2814 2814 2815 2815 yyrc = _O32_DdeCreateStringHandle(a, b, c); … … 2822 2822 { 2823 2823 BOOL yyrc; 2824 USHORT sel = GetFS();2824 USHORT sel = RestoreOS2FS(); 2825 2825 2826 2826 yyrc = _O32_DdeDisconnect(a); … … 2833 2833 { 2834 2834 BOOL yyrc; 2835 USHORT sel = GetFS();2835 USHORT sel = RestoreOS2FS(); 2836 2836 2837 2837 yyrc = _O32_DdeDisconnectList(a); … … 2844 2844 { 2845 2845 BOOL yyrc; 2846 USHORT sel = GetFS();2846 USHORT sel = RestoreOS2FS(); 2847 2847 2848 2848 yyrc = _O32_DdeEnableCallback(a, b, c); … … 2855 2855 { 2856 2856 BOOL yyrc; 2857 USHORT sel = GetFS();2857 USHORT sel = RestoreOS2FS(); 2858 2858 2859 2859 yyrc = _O32_DdeFreeDataHandle(a); … … 2866 2866 { 2867 2867 BOOL yyrc; 2868 USHORT sel = GetFS();2868 USHORT sel = RestoreOS2FS(); 2869 2869 2870 2870 yyrc = _O32_DdeFreeStringHandle(a, b); … … 2877 2877 { 2878 2878 DWORD yyrc; 2879 USHORT sel = GetFS();2879 USHORT sel = RestoreOS2FS(); 2880 2880 2881 2881 yyrc = _O32_DdeGetData(a, b, c, d); … … 2888 2888 { 2889 2889 UINT yyrc; 2890 USHORT sel = GetFS();2890 USHORT sel = RestoreOS2FS(); 2891 2891 2892 2892 yyrc = _O32_DdeGetLastError(a); … … 2899 2899 { 2900 2900 UINT yyrc; 2901 USHORT sel = GetFS();2901 USHORT sel = RestoreOS2FS(); 2902 2902 2903 2903 yyrc = _O32_DdeInitialize(a, b, c, d); … … 2910 2910 { 2911 2911 BOOL yyrc; 2912 USHORT sel = GetFS();2912 USHORT sel = RestoreOS2FS(); 2913 2913 2914 2914 yyrc = _O32_DdeKeepStringHandle(a, b); … … 2921 2921 { 2922 2922 HDDEDATA yyrc; 2923 USHORT sel = GetFS();2923 USHORT sel = RestoreOS2FS(); 2924 2924 2925 2925 yyrc = _O32_DdeNameService(a, b, c, d); … … 2932 2932 { 2933 2933 BOOL yyrc; 2934 USHORT sel = GetFS();2934 USHORT sel = RestoreOS2FS(); 2935 2935 2936 2936 yyrc = _O32_DdePostAdvise(a, b, c); … … 2943 2943 { 2944 2944 UINT yyrc; 2945 USHORT sel = GetFS();2945 USHORT sel = RestoreOS2FS(); 2946 2946 2947 2947 yyrc = _O32_DdeQueryConvInfo(a, b, c); … … 2954 2954 { 2955 2955 HCONV yyrc; 2956 USHORT sel = GetFS();2956 USHORT sel = RestoreOS2FS(); 2957 2957 2958 2958 yyrc = _O32_DdeQueryNextServer(a, b); … … 2965 2965 { 2966 2966 DWORD yyrc; 2967 USHORT sel = GetFS();2967 USHORT sel = RestoreOS2FS(); 2968 2968 2969 2969 yyrc = _O32_DdeQueryString(a, b, c, d, e); … … 2976 2976 { 2977 2977 HCONV yyrc; 2978 USHORT sel = GetFS();2978 USHORT sel = RestoreOS2FS(); 2979 2979 2980 2980 yyrc = _O32_DdeReconnect(a); … … 2987 2987 { 2988 2988 BOOL yyrc; 2989 USHORT sel = GetFS();2989 USHORT sel = RestoreOS2FS(); 2990 2990 2991 2991 yyrc = _O32_DdeSetUserHandle(a, b, c); … … 2998 2998 { 2999 2999 BOOL yyrc; 3000 USHORT sel = GetFS();3000 USHORT sel = RestoreOS2FS(); 3001 3001 3002 3002 yyrc = _O32_DdeUnaccessData(a); … … 3009 3009 { 3010 3010 BOOL yyrc; 3011 USHORT sel = GetFS();3011 USHORT sel = RestoreOS2FS(); 3012 3012 3013 3013 yyrc = _O32_DdeUninitialize(a); … … 3020 3020 { 3021 3021 LRESULT yyrc; 3022 USHORT sel = GetFS();3022 USHORT sel = RestoreOS2FS(); 3023 3023 3024 3024 yyrc = _O32_DefDlgProc(a, b, c, d); … … 3031 3031 { 3032 3032 HDWP yyrc; 3033 USHORT sel = GetFS();3033 USHORT sel = RestoreOS2FS(); 3034 3034 3035 3035 yyrc = _O32_DeferWindowPos(a, b, c, d, e, f, g, h); … … 3042 3042 { 3043 3043 LRESULT yyrc; 3044 USHORT sel = GetFS();3044 USHORT sel = RestoreOS2FS(); 3045 3045 3046 3046 yyrc = _O32_DefFrameProc(a, b, c, d, e); … … 3053 3053 { 3054 3054 LRESULT yyrc; 3055 USHORT sel = GetFS();3055 USHORT sel = RestoreOS2FS(); 3056 3056 3057 3057 yyrc = _O32_DefMDIChildProc(a, b, c, d); … … 3064 3064 { 3065 3065 LRESULT yyrc; 3066 USHORT sel = GetFS();3066 USHORT sel = RestoreOS2FS(); 3067 3067 3068 3068 yyrc = _O32_DefWindowProc(a, b, c, d); … … 3075 3075 { 3076 3076 ATOM yyrc; 3077 USHORT sel = GetFS();3077 USHORT sel = RestoreOS2FS(); 3078 3078 3079 3079 yyrc = _O32_DeleteAtom(a); … … 3085 3085 inline VOID O32_DeleteCriticalSection(CRITICAL_SECTION *a) 3086 3086 { 3087 USHORT sel = GetFS();3087 USHORT sel = RestoreOS2FS(); 3088 3088 3089 3089 _O32_DeleteCriticalSection(a); … … 3094 3094 { 3095 3095 BOOL yyrc; 3096 USHORT sel = GetFS();3096 USHORT sel = RestoreOS2FS(); 3097 3097 3098 3098 yyrc = _O32_DeleteDC(a); … … 3105 3105 { 3106 3106 BOOL yyrc; 3107 USHORT sel = GetFS();3107 USHORT sel = RestoreOS2FS(); 3108 3108 3109 3109 yyrc = _O32_DeleteEnhMetaFile(a); … … 3116 3116 { 3117 3117 BOOL yyrc; 3118 USHORT sel = GetFS();3118 USHORT sel = RestoreOS2FS(); 3119 3119 3120 3120 yyrc = _O32_DeleteFile(a); … … 3127 3127 { 3128 3128 BOOL yyrc; 3129 USHORT sel = GetFS();3129 USHORT sel = RestoreOS2FS(); 3130 3130 3131 3131 yyrc = _O32_DeleteMenu(a, b, c); … … 3138 3138 { 3139 3139 BOOL yyrc; 3140 USHORT sel = GetFS();3140 USHORT sel = RestoreOS2FS(); 3141 3141 3142 3142 yyrc = _O32_DeleteMetaFile(a); … … 3149 3149 { 3150 3150 BOOL yyrc; 3151 USHORT sel = GetFS();3151 USHORT sel = RestoreOS2FS(); 3152 3152 3153 3153 yyrc = _O32_DeleteObject(a); … … 3160 3160 { 3161 3161 BOOL yyrc; 3162 USHORT sel = GetFS();3162 USHORT sel = RestoreOS2FS(); 3163 3163 3164 3164 yyrc = _O32_DestroyAcceleratorTable(a); … … 3171 3171 { 3172 3172 BOOL yyrc; 3173 USHORT sel = GetFS();3173 USHORT sel = RestoreOS2FS(); 3174 3174 3175 3175 yyrc = _O32_DestroyCaret(); … … 3182 3182 { 3183 3183 BOOL yyrc; 3184 USHORT sel = GetFS();3184 USHORT sel = RestoreOS2FS(); 3185 3185 3186 3186 yyrc = _O32_DestroyCursor(a); … … 3193 3193 { 3194 3194 BOOL yyrc; 3195 USHORT sel = GetFS();3195 USHORT sel = RestoreOS2FS(); 3196 3196 3197 3197 yyrc = _O32_DestroyIcon(a); … … 3204 3204 { 3205 3205 BOOL yyrc; 3206 USHORT sel = GetFS();3206 USHORT sel = RestoreOS2FS(); 3207 3207 3208 3208 yyrc = _O32_DestroyMenu(a); … … 3215 3215 { 3216 3216 BOOL yyrc; 3217 USHORT sel = GetFS();3217 USHORT sel = RestoreOS2FS(); 3218 3218 3219 3219 yyrc = _O32_DestroyWindow(a); … … 3226 3226 { 3227 3227 DWORD yyrc; 3228 USHORT sel = GetFS();3228 USHORT sel = RestoreOS2FS(); 3229 3229 3230 3230 yyrc = _O32_DeviceCapabilities(a, b, c, d, e); … … 3237 3237 { 3238 3238 int yyrc; 3239 USHORT sel = GetFS();3239 USHORT sel = RestoreOS2FS(); 3240 3240 3241 3241 yyrc = _O32_DialogBox(a, b, c, d); … … 3248 3248 { 3249 3249 int yyrc; 3250 USHORT sel = GetFS();3250 USHORT sel = RestoreOS2FS(); 3251 3251 3252 3252 yyrc = _O32_DialogBoxParam(a, b, c, d, e); … … 3259 3259 { 3260 3260 BOOL yyrc; 3261 USHORT sel = GetFS();3261 USHORT sel = RestoreOS2FS(); 3262 3262 3263 3263 yyrc = _O32_DialogBoxIndirect(a, b, c, d); … … 3270 3270 { 3271 3271 BOOL yyrc; 3272 USHORT sel = GetFS();3272 USHORT sel = RestoreOS2FS(); 3273 3273 3274 3274 yyrc = _O32_DialogBoxIndirectParam(a, b, c, d, e); … … 3281 3281 { 3282 3282 LONG yyrc; 3283 USHORT sel = GetFS();3283 USHORT sel = RestoreOS2FS(); 3284 3284 3285 3285 yyrc = _O32_DispatchMessage(a); … … 3292 3292 { 3293 3293 int yyrc; 3294 USHORT sel = GetFS();3294 USHORT sel = RestoreOS2FS(); 3295 3295 3296 3296 yyrc = _O32_DlgDirList(a, b, c, d, e); … … 3303 3303 { 3304 3304 int yyrc; 3305 USHORT sel = GetFS();3305 USHORT sel = RestoreOS2FS(); 3306 3306 3307 3307 yyrc = _O32_DlgDirListComboBox(a, b, c, d, e); … … 3314 3314 { 3315 3315 BOOL yyrc; 3316 USHORT sel = GetFS();3316 USHORT sel = RestoreOS2FS(); 3317 3317 3318 3318 yyrc = _O32_DlgDirSelectEx(a, b, c, d); … … 3325 3325 { 3326 3326 BOOL yyrc; 3327 USHORT sel = GetFS();3327 USHORT sel = RestoreOS2FS(); 3328 3328 3329 3329 yyrc = _O32_DlgDirSelectComboBoxEx(a, b, c, d); … … 3336 3336 { 3337 3337 BOOL yyrc; 3338 USHORT sel = GetFS();3338 USHORT sel = RestoreOS2FS(); 3339 3339 3340 3340 yyrc = _O32_DllEntryPoint(a, b, c); … … 3347 3347 { 3348 3348 BOOL yyrc; 3349 USHORT sel = GetFS();3349 USHORT sel = RestoreOS2FS(); 3350 3350 3351 3351 yyrc = _O32_DosDateTimeToFileTime(a, b, c); … … 3357 3357 inline VOID O32_DragAcceptFiles(HWND a, BOOL b) 3358 3358 { 3359 USHORT sel = GetFS();3359 USHORT sel = RestoreOS2FS(); 3360 3360 3361 3361 _O32_DragAcceptFiles(a, b); … … 3365 3365 inline VOID O32_DragFinish(HDROP a) 3366 3366 { 3367 USHORT sel = GetFS();3367 USHORT sel = RestoreOS2FS(); 3368 3368 3369 3369 _O32_DragFinish(a); … … 3374 3374 { 3375 3375 UINT yyrc; 3376 USHORT sel = GetFS();3376 USHORT sel = RestoreOS2FS(); 3377 3377 3378 3378 yyrc = _O32_DragQueryFile(a, b, c, d); … … 3385 3385 { 3386 3386 BOOL yyrc; 3387 USHORT sel = GetFS();3387 USHORT sel = RestoreOS2FS(); 3388 3388 3389 3389 yyrc = _O32_DragQueryPoint(a, b); … … 3396 3396 { 3397 3397 BOOL yyrc; 3398 USHORT sel = GetFS();3398 USHORT sel = RestoreOS2FS(); 3399 3399 3400 3400 yyrc = _O32_DrawFocusRect(a, b); … … 3407 3407 { 3408 3408 BOOL yyrc; 3409 USHORT sel = GetFS();3409 USHORT sel = RestoreOS2FS(); 3410 3410 3411 3411 yyrc = _O32_DrawIcon(a, b, c, d); … … 3418 3418 { 3419 3419 BOOL yyrc; 3420 USHORT sel = GetFS();3420 USHORT sel = RestoreOS2FS(); 3421 3421 3422 3422 yyrc = _O32_DrawMenuBar(a); … … 3429 3429 { 3430 3430 int yyrc; 3431 USHORT sel = GetFS();3431 USHORT sel = RestoreOS2FS(); 3432 3432 3433 3433 yyrc = _O32_DrawText(a, b, c, d, e); … … 3440 3440 { 3441 3441 BOOL yyrc; 3442 USHORT sel = GetFS();3442 USHORT sel = RestoreOS2FS(); 3443 3443 3444 3444 yyrc = _O32_DuplicateHandle(a, b, c, d, e, f, g); … … 3451 3451 { 3452 3452 BOOL yyrc; 3453 USHORT sel = GetFS();3453 USHORT sel = RestoreOS2FS(); 3454 3454 3455 3455 yyrc = _O32_Ellipse(a, b, c, d, e); … … 3462 3462 { 3463 3463 BOOL yyrc; 3464 USHORT sel = GetFS();3464 USHORT sel = RestoreOS2FS(); 3465 3465 3466 3466 yyrc = _O32_EmptyClipboard(); … … 3473 3473 { 3474 3474 BOOL yyrc; 3475 USHORT sel = GetFS();3475 USHORT sel = RestoreOS2FS(); 3476 3476 3477 3477 yyrc = _O32_EnableMenuItem(a, b, c); … … 3484 3484 { 3485 3485 BOOL yyrc; 3486 USHORT sel = GetFS();3486 USHORT sel = RestoreOS2FS(); 3487 3487 3488 3488 yyrc = _O32_EnableScrollBar(a, b, c); … … 3495 3495 { 3496 3496 BOOL yyrc; 3497 USHORT sel = GetFS();3497 USHORT sel = RestoreOS2FS(); 3498 3498 3499 3499 yyrc = _O32_EnableWindow(a, b); … … 3506 3506 { 3507 3507 BOOL yyrc; 3508 USHORT sel = GetFS();3508 USHORT sel = RestoreOS2FS(); 3509 3509 3510 3510 yyrc = _O32_EndDeferWindowPos(a); … … 3517 3517 { 3518 3518 BOOL yyrc; 3519 USHORT sel = GetFS();3519 USHORT sel = RestoreOS2FS(); 3520 3520 3521 3521 yyrc = _O32_EndDialog(a, b); … … 3528 3528 { 3529 3529 int yyrc; 3530 USHORT sel = GetFS();3530 USHORT sel = RestoreOS2FS(); 3531 3531 3532 3532 yyrc = _O32_EndDoc(a); … … 3539 3539 { 3540 3540 int yyrc; 3541 USHORT sel = GetFS();3541 USHORT sel = RestoreOS2FS(); 3542 3542 3543 3543 yyrc = _O32_EndPage(a); … … 3550 3550 { 3551 3551 BOOL yyrc; 3552 USHORT sel = GetFS();3552 USHORT sel = RestoreOS2FS(); 3553 3553 3554 3554 yyrc = _O32_EndPath(a); … … 3561 3561 { 3562 3562 BOOL yyrc; 3563 USHORT sel = GetFS();3563 USHORT sel = RestoreOS2FS(); 3564 3564 3565 3565 yyrc = _O32_EndPaint(a, b); … … 3571 3571 inline VOID O32_EnterCriticalSection(CRITICAL_SECTION *a) 3572 3572 { 3573 USHORT sel = GetFS();3573 USHORT sel = RestoreOS2FS(); 3574 3574 3575 3575 _O32_EnterCriticalSection(a); … … 3580 3580 { 3581 3581 BOOL yyrc; 3582 USHORT sel = GetFS();3582 USHORT sel = RestoreOS2FS(); 3583 3583 3584 3584 yyrc = _O32_EnumChildWindows(a, b, c); … … 3591 3591 { 3592 3592 UINT yyrc; 3593 USHORT sel = GetFS();3593 USHORT sel = RestoreOS2FS(); 3594 3594 3595 3595 yyrc = _O32_EnumClipboardFormats(a); … … 3602 3602 { 3603 3603 BOOL yyrc; 3604 USHORT sel = GetFS();3604 USHORT sel = RestoreOS2FS(); 3605 3605 3606 3606 yyrc = _O32_EnumEnhMetaFile(a, b, c, d, e); … … 3613 3613 { 3614 3614 int yyrc; 3615 USHORT sel = GetFS();3615 USHORT sel = RestoreOS2FS(); 3616 3616 3617 3617 yyrc = _O32_EnumFonts(a, b, c, d); … … 3624 3624 { 3625 3625 int yyrc; 3626 USHORT sel = GetFS();3626 USHORT sel = RestoreOS2FS(); 3627 3627 3628 3628 yyrc = _O32_EnumFontFamilies(a, b, c, d); … … 3635 3635 { 3636 3636 BOOL yyrc; 3637 USHORT sel = GetFS();3637 USHORT sel = RestoreOS2FS(); 3638 3638 3639 3639 yyrc = _O32_EnumMetaFile(a, b, c, d); … … 3646 3646 { 3647 3647 int yyrc; 3648 USHORT sel = GetFS();3648 USHORT sel = RestoreOS2FS(); 3649 3649 3650 3650 yyrc = _O32_EnumObjects(a, b, c, d); … … 3657 3657 { 3658 3658 BOOL yyrc; 3659 USHORT sel = GetFS();3659 USHORT sel = RestoreOS2FS(); 3660 3660 3661 3661 yyrc = _O32_EnumPrinters(a, b, c, d, e, f, g); … … 3668 3668 { 3669 3669 int yyrc; 3670 USHORT sel = GetFS();3670 USHORT sel = RestoreOS2FS(); 3671 3671 3672 3672 yyrc = _O32_EnumProps(a, b); … … 3679 3679 { 3680 3680 int yyrc; 3681 USHORT sel = GetFS();3681 USHORT sel = RestoreOS2FS(); 3682 3682 3683 3683 yyrc = _O32_EnumPropsEx(a, b, c); … … 3690 3690 { 3691 3691 BOOL yyrc; 3692 USHORT sel = GetFS();3692 USHORT sel = RestoreOS2FS(); 3693 3693 3694 3694 yyrc = _O32_EnumThreadWindows(a, b, c); … … 3701 3701 { 3702 3702 BOOL yyrc; 3703 USHORT sel = GetFS();3703 USHORT sel = RestoreOS2FS(); 3704 3704 3705 3705 yyrc = _O32_EnumWindows(a, b); … … 3712 3712 { 3713 3713 BOOL yyrc; 3714 USHORT sel = GetFS();3714 USHORT sel = RestoreOS2FS(); 3715 3715 3716 3716 yyrc = _O32_EqualRect(a, b); … … 3723 3723 { 3724 3724 BOOL yyrc; 3725 USHORT sel = GetFS();3725 USHORT sel = RestoreOS2FS(); 3726 3726 3727 3727 yyrc = _O32_EqualRgn(a, b); … … 3734 3734 { 3735 3735 int yyrc; 3736 USHORT sel = GetFS();3736 USHORT sel = RestoreOS2FS(); 3737 3737 3738 3738 yyrc = _O32_Escape(a, b, c, d, e); … … 3745 3745 { 3746 3746 int yyrc; 3747 USHORT sel = GetFS();3747 USHORT sel = RestoreOS2FS(); 3748 3748 3749 3749 yyrc = _O32_ExcludeClipRect(a, b, c, d, e); … … 3756 3756 { 3757 3757 BOOL yyrc; 3758 USHORT sel = GetFS();3758 USHORT sel = RestoreOS2FS(); 3759 3759 3760 3760 yyrc = _O32_ExcludeUpdateRgn(a, b); … … 3766 3766 inline VOID O32_ExitProcess(UINT a) 3767 3767 { 3768 USHORT sel = GetFS();3768 USHORT sel = RestoreOS2FS(); 3769 3769 3770 3770 _O32_ExitProcess(a); … … 3774 3774 inline VOID O32_ExitThread(DWORD a) 3775 3775 { 3776 USHORT sel = GetFS();3776 USHORT sel = RestoreOS2FS(); 3777 3777 3778 3778 _O32_ExitThread(a); … … 3783 3783 { 3784 3784 BOOL yyrc; 3785 USHORT sel = GetFS();3785 USHORT sel = RestoreOS2FS(); 3786 3786 3787 3787 yyrc = _O32_ExitWindows(a, b); … … 3794 3794 { 3795 3795 BOOL yyrc; 3796 USHORT sel = GetFS();3796 USHORT sel = RestoreOS2FS(); 3797 3797 3798 3798 yyrc = _O32_ExitWindowsEx(a, b); … … 3805 3805 { 3806 3806 HPEN yyrc; 3807 USHORT sel = GetFS();3807 USHORT sel = RestoreOS2FS(); 3808 3808 3809 3809 yyrc = _O32_ExtCreatePen(a, b, c, d, e); … … 3816 3816 { 3817 3817 HRGN yyrc; 3818 USHORT sel = GetFS();3818 USHORT sel = RestoreOS2FS(); 3819 3819 3820 3820 yyrc = _O32_ExtCreateRegion(a, b, c); … … 3827 3827 { 3828 3828 BOOL yyrc; 3829 USHORT sel = GetFS();3829 USHORT sel = RestoreOS2FS(); 3830 3830 3831 3831 yyrc = _O32_ExtFloodFill(a, b, c, d, e); … … 3838 3838 { 3839 3839 int yyrc; 3840 USHORT sel = GetFS();3840 USHORT sel = RestoreOS2FS(); 3841 3841 3842 3842 yyrc = _O32_ExtSelectClipRgn(a, b, c); … … 3849 3849 { 3850 3850 BOOL yyrc; 3851 USHORT sel = GetFS();3851 USHORT sel = RestoreOS2FS(); 3852 3852 3853 3853 yyrc = _O32_ExtTextOut(a, b, c, d, e, f, g, h); … … 3859 3859 inline VOID O32_FatalAppExit(UINT a, LPCSTR b) 3860 3860 { 3861 USHORT sel = GetFS();3861 USHORT sel = RestoreOS2FS(); 3862 3862 3863 3863 _O32_FatalAppExit(a, b); … … 3867 3867 inline VOID O32_FatalExit(UINT a) 3868 3868 { 3869 USHORT sel = GetFS();3869 USHORT sel = RestoreOS2FS(); 3870 3870 3871 3871 _O32_FatalExit(a); … … 3876 3876 { 3877 3877 BOOL yyrc; 3878 USHORT sel = GetFS();3878 USHORT sel = RestoreOS2FS(); 3879 3879 3880 3880 yyrc = _O32_FileTimeToDosDateTime(a, b, c); … … 3887 3887 { 3888 3888 BOOL yyrc; 3889 USHORT sel = GetFS();3889 USHORT sel = RestoreOS2FS(); 3890 3890 3891 3891 yyrc = _O32_FileTimeToLocalFileTime(a, b); … … 3898 3898 { 3899 3899 BOOL yyrc; 3900 USHORT sel = GetFS();3900 USHORT sel = RestoreOS2FS(); 3901 3901 3902 3902 yyrc = _O32_FileTimeToSystemTime(a, b); … … 3909 3909 { 3910 3910 BOOL yyrc; 3911 USHORT sel = GetFS();3911 USHORT sel = RestoreOS2FS(); 3912 3912 3913 3913 yyrc = _O32_FillPath(a); … … 3920 3920 { 3921 3921 int yyrc; 3922 USHORT sel = GetFS();3922 USHORT sel = RestoreOS2FS(); 3923 3923 3924 3924 yyrc = _O32_FillRect(a, b, c); … … 3931 3931 { 3932 3932 BOOL yyrc; 3933 USHORT sel = GetFS();3933 USHORT sel = RestoreOS2FS(); 3934 3934 3935 3935 yyrc = _O32_FillRgn(a, b, c); … … 3942 3942 { 3943 3943 ATOM yyrc; 3944 USHORT sel = GetFS();3944 USHORT sel = RestoreOS2FS(); 3945 3945 3946 3946 yyrc = _O32_FindAtom(a); … … 3953 3953 { 3954 3954 BOOL yyrc; 3955 USHORT sel = GetFS();3955 USHORT sel = RestoreOS2FS(); 3956 3956 3957 3957 yyrc = _O32_FindClose(a); … … 3964 3964 { 3965 3965 HANDLE yyrc; 3966 USHORT sel = GetFS();3966 USHORT sel = RestoreOS2FS(); 3967 3967 3968 3968 yyrc = _O32_FindFirstFile(a, b); … … 3975 3975 { 3976 3976 BOOL yyrc; 3977 USHORT sel = GetFS();3977 USHORT sel = RestoreOS2FS(); 3978 3978 3979 3979 yyrc = _O32_FindNextFile(a, b); … … 3986 3986 { 3987 3987 HRSRC yyrc; 3988 USHORT sel = GetFS();3988 USHORT sel = RestoreOS2FS(); 3989 3989 3990 3990 yyrc = _O32_FindResource(a, b, c); … … 3997 3997 { 3998 3998 HWND yyrc; 3999 USHORT sel = GetFS();3999 USHORT sel = RestoreOS2FS(); 4000 4000 4001 4001 yyrc = _O32_FindText(a); … … 4008 4008 { 4009 4009 HWND yyrc; 4010 USHORT sel = GetFS();4010 USHORT sel = RestoreOS2FS(); 4011 4011 4012 4012 yyrc = _O32_FindWindow(a, b); … … 4019 4019 { 4020 4020 BOOL yyrc; 4021 USHORT sel = GetFS();4021 USHORT sel = RestoreOS2FS(); 4022 4022 4023 4023 yyrc = _O32_FlashWindow(a, b); … … 4030 4030 { 4031 4031 BOOL yyrc; 4032 USHORT sel = GetFS();4032 USHORT sel = RestoreOS2FS(); 4033 4033 4034 4034 yyrc = _O32_FlattenPath(a); … … 4041 4041 { 4042 4042 BOOL yyrc; 4043 USHORT sel = GetFS();4043 USHORT sel = RestoreOS2FS(); 4044 4044 4045 4045 yyrc = _O32_FlushFileBuffers(a); … … 4052 4052 { 4053 4053 int yyrc; 4054 USHORT sel = GetFS();4054 USHORT sel = RestoreOS2FS(); 4055 4055 4056 4056 yyrc = _O32_FrameRect(a, b, c); … … 4063 4063 { 4064 4064 BOOL yyrc; 4065 USHORT sel = GetFS();4065 USHORT sel = RestoreOS2FS(); 4066 4066 4067 4067 yyrc = _O32_FrameRgn(a, b, c, d, e); … … 4074 4074 { 4075 4075 BOOL yyrc; 4076 USHORT sel = GetFS();4076 USHORT sel = RestoreOS2FS(); 4077 4077 4078 4078 yyrc = _O32_FreeDDElParam(a, b); … … 4085 4085 { 4086 4086 BOOL yyrc; 4087 USHORT sel = GetFS();4087 USHORT sel = RestoreOS2FS(); 4088 4088 4089 4089 yyrc = _O32_FreeLibrary(a); … … 4096 4096 { 4097 4097 UINT yyrc; 4098 USHORT sel = GetFS();4098 USHORT sel = RestoreOS2FS(); 4099 4099 4100 4100 yyrc = _O32_GetACP(); … … 4107 4107 { 4108 4108 HWND yyrc; 4109 USHORT sel = GetFS();4109 USHORT sel = RestoreOS2FS(); 4110 4110 4111 4111 yyrc = _O32_GetActiveWindow(); … … 4118 4118 { 4119 4119 int yyrc; 4120 USHORT sel = GetFS();4120 USHORT sel = RestoreOS2FS(); 4121 4121 4122 4122 yyrc = _O32_GetArcDirection(a); … … 4129 4129 { 4130 4130 BOOL yyrc; 4131 USHORT sel = GetFS();4131 USHORT sel = RestoreOS2FS(); 4132 4132 4133 4133 yyrc = _O32_GetAspectRatioFilterEx(a, b); … … 4140 4140 { 4141 4141 UINT yyrc; 4142 USHORT sel = GetFS();4142 USHORT sel = RestoreOS2FS(); 4143 4143 4144 4144 yyrc = _O32_GetAtomName(a, b, c); … … 4151 4151 { 4152 4152 LONG yyrc; 4153 USHORT sel = GetFS();4153 USHORT sel = RestoreOS2FS(); 4154 4154 4155 4155 yyrc = _O32_GetBitmapBits(a, b, c); … … 4162 4162 { 4163 4163 BOOL yyrc; 4164 USHORT sel = GetFS();4164 USHORT sel = RestoreOS2FS(); 4165 4165 4166 4166 yyrc = _O32_GetBitmapDimensionEx(a, b); … … 4173 4173 { 4174 4174 COLORREF yyrc; 4175 USHORT sel = GetFS();4175 USHORT sel = RestoreOS2FS(); 4176 4176 4177 4177 yyrc = _O32_GetBkColor(a); … … 4184 4184 { 4185 4185 int yyrc; 4186 USHORT sel = GetFS();4186 USHORT sel = RestoreOS2FS(); 4187 4187 4188 4188 yyrc = _O32_GetBkMode(a); … … 4195 4195 { 4196 4196 UINT yyrc; 4197 USHORT sel = GetFS();4197 USHORT sel = RestoreOS2FS(); 4198 4198 4199 4199 yyrc = _O32_GetBoundsRect(a, b, c); … … 4206 4206 { 4207 4207 BOOL yyrc; 4208 USHORT sel = GetFS();4208 USHORT sel = RestoreOS2FS(); 4209 4209 4210 4210 yyrc = _O32_GetBrushOrgEx(a, b); … … 4217 4217 { 4218 4218 HWND yyrc; 4219 USHORT sel = GetFS();4219 USHORT sel = RestoreOS2FS(); 4220 4220 4221 4221 yyrc = _O32_GetCapture(); … … 4228 4228 { 4229 4229 UINT yyrc; 4230 USHORT sel = GetFS();4230 USHORT sel = RestoreOS2FS(); 4231 4231 4232 4232 yyrc = _O32_GetCaretBlinkTime(); … … 4239 4239 { 4240 4240 BOOL yyrc; 4241 USHORT sel = GetFS();4241 USHORT sel = RestoreOS2FS(); 4242 4242 4243 4243 yyrc = _O32_GetCaretPos(a); … … 4250 4250 { 4251 4251 BOOL yyrc; 4252 USHORT sel = GetFS();4252 USHORT sel = RestoreOS2FS(); 4253 4253 4254 4254 yyrc = _O32_GetCharABCWidths(a, b, c, d); … … 4261 4261 { 4262 4262 BOOL yyrc; 4263 USHORT sel = GetFS();4263 USHORT sel = RestoreOS2FS(); 4264 4264 4265 4265 yyrc = _O32_GetCharWidth(a, b, c, d); … … 4272 4272 { 4273 4273 BOOL yyrc; 4274 USHORT sel = GetFS();4274 USHORT sel = RestoreOS2FS(); 4275 4275 4276 4276 yyrc = _O32_GetClassInfo(a, b, c); … … 4283 4283 { 4284 4284 DWORD yyrc; 4285 USHORT sel = GetFS();4285 USHORT sel = RestoreOS2FS(); 4286 4286 4287 4287 yyrc = _O32_GetClassLong(a, b); … … 4294 4294 { 4295 4295 int yyrc; 4296 USHORT sel = GetFS();4296 USHORT sel = RestoreOS2FS(); 4297 4297 4298 4298 yyrc = _O32_GetClassName(a, b, c); … … 4305 4305 { 4306 4306 WORD yyrc; 4307 USHORT sel = GetFS();4307 USHORT sel = RestoreOS2FS(); 4308 4308 4309 4309 yyrc = _O32_GetClassWord(a, b); … … 4316 4316 { 4317 4317 BOOL yyrc; 4318 USHORT sel = GetFS();4318 USHORT sel = RestoreOS2FS(); 4319 4319 4320 4320 yyrc = _O32_GetClientRect(a, b); … … 4327 4327 { 4328 4328 HANDLE yyrc; 4329 USHORT sel = GetFS();4329 USHORT sel = RestoreOS2FS(); 4330 4330 4331 4331 yyrc = _O32_GetClipboardData(a); … … 4338 4338 { 4339 4339 int yyrc; 4340 USHORT sel = GetFS();4340 USHORT sel = RestoreOS2FS(); 4341 4341 4342 4342 yyrc = _O32_GetClipboardFormatName(a, b, c); … … 4349 4349 { 4350 4350 HWND yyrc; 4351 USHORT sel = GetFS();4351 USHORT sel = RestoreOS2FS(); 4352 4352 4353 4353 yyrc = _O32_GetClipboardOwner(); … … 4360 4360 { 4361 4361 HWND yyrc; 4362 USHORT sel = GetFS();4362 USHORT sel = RestoreOS2FS(); 4363 4363 4364 4364 yyrc = _O32_GetClipboardViewer(); … … 4371 4371 { 4372 4372 int yyrc; 4373 USHORT sel = GetFS();4373 USHORT sel = RestoreOS2FS(); 4374 4374 4375 4375 yyrc = _O32_GetClipBox(a, b); … … 4382 4382 { 4383 4383 BOOL yyrc; 4384 USHORT sel = GetFS();4384 USHORT sel = RestoreOS2FS(); 4385 4385 4386 4386 yyrc = _O32_GetClipCursor(a); … … 4393 4393 { 4394 4394 int yyrc; 4395 USHORT sel = GetFS();4395 USHORT sel = RestoreOS2FS(); 4396 4396 4397 4397 yyrc = _O32_GetClipRgn(a, b); … … 4404 4404 { 4405 4405 LPSTR yyrc; 4406 USHORT sel = GetFS();4406 USHORT sel = RestoreOS2FS(); 4407 4407 4408 4408 yyrc = _O32_GetCommandLine(); … … 4415 4415 { 4416 4416 int yyrc; 4417 USHORT sel = GetFS();4417 USHORT sel = RestoreOS2FS(); 4418 4418 4419 4419 yyrc = _O32_GetCurrentDirectory(a, b); … … 4426 4426 { 4427 4427 HGDIOBJ yyrc; 4428 USHORT sel = GetFS();4428 USHORT sel = RestoreOS2FS(); 4429 4429 4430 4430 yyrc = _O32_GetCurrentObject(a, b); … … 4437 4437 { 4438 4438 BOOL yyrc; 4439 USHORT sel = GetFS();4439 USHORT sel = RestoreOS2FS(); 4440 4440 4441 4441 yyrc = _O32_GetCurrentPositionEx(a, b); … … 4448 4448 { 4449 4449 HANDLE yyrc; 4450 USHORT sel = GetFS();4450 USHORT sel = RestoreOS2FS(); 4451 4451 4452 4452 yyrc = _O32_GetCurrentProcess(); … … 4459 4459 { 4460 4460 DWORD yyrc; 4461 USHORT sel = GetFS();4461 USHORT sel = RestoreOS2FS(); 4462 4462 4463 4463 yyrc = _O32_GetCurrentProcessId(); … … 4470 4470 { 4471 4471 HANDLE yyrc; 4472 USHORT sel = GetFS();4472 USHORT sel = RestoreOS2FS(); 4473 4473 4474 4474 yyrc = _O32_GetCurrentThread(); … … 4481 4481 { 4482 4482 DWORD yyrc; 4483 USHORT sel = GetFS();4483 USHORT sel = RestoreOS2FS(); 4484 4484 4485 4485 yyrc = _O32_GetCurrentThreadId(); … … 4492 4492 { 4493 4493 DWORD yyrc; 4494 USHORT sel = GetFS();4494 USHORT sel = RestoreOS2FS(); 4495 4495 4496 4496 yyrc = _O32_GetCurrentTime(); … … 4503 4503 { 4504 4504 HCURSOR yyrc; 4505 USHORT sel = GetFS();4505 USHORT sel = RestoreOS2FS(); 4506 4506 4507 4507 yyrc = _O32_GetCursor(); … … 4514 4514 { 4515 4515 BOOL yyrc; 4516 USHORT sel = GetFS();4516 USHORT sel = RestoreOS2FS(); 4517 4517 4518 4518 yyrc = _O32_GetCursorPos(a); … … 4525 4525 { 4526 4526 HDC yyrc; 4527 USHORT sel = GetFS();4527 USHORT sel = RestoreOS2FS(); 4528 4528 4529 4529 yyrc = _O32_GetDC(a); … … 4536 4536 { 4537 4537 HDC yyrc; 4538 USHORT sel = GetFS();4538 USHORT sel = RestoreOS2FS(); 4539 4539 4540 4540 yyrc = _O32_GetDCEx(a, b, c); … … 4547 4547 { 4548 4548 BOOL yyrc; 4549 USHORT sel = GetFS();4549 USHORT sel = RestoreOS2FS(); 4550 4550 4551 4551 yyrc = _O32_GetDCOrgEx(a, b); … … 4558 4558 { 4559 4559 int yyrc; 4560 USHORT sel = GetFS();4560 USHORT sel = RestoreOS2FS(); 4561 4561 4562 4562 yyrc = _O32_GetDIBits(a, b, c, d, e, f, g); … … 4569 4569 { 4570 4570 int yyrc; 4571 USHORT sel = GetFS();4571 USHORT sel = RestoreOS2FS(); 4572 4572 4573 4573 yyrc = _O32_GetDeviceCaps(a, b); … … 4580 4580 { 4581 4581 LONG yyrc; 4582 USHORT sel = GetFS();4582 USHORT sel = RestoreOS2FS(); 4583 4583 4584 4584 yyrc = _O32_GetDialogBaseUnits(); … … 4591 4591 { 4592 4592 BOOL yyrc; 4593 USHORT sel = GetFS();4593 USHORT sel = RestoreOS2FS(); 4594 4594 4595 4595 yyrc = _O32_GetDiskFreeSpace(a, b, c, d, e); … … 4602 4602 { 4603 4603 int yyrc; 4604 USHORT sel = GetFS();4604 USHORT sel = RestoreOS2FS(); 4605 4605 4606 4606 yyrc = _O32_GetDlgCtrlID(a); … … 4613 4613 { 4614 4614 HWND yyrc; 4615 USHORT sel = GetFS();4615 USHORT sel = RestoreOS2FS(); 4616 4616 4617 4617 yyrc = _O32_GetDlgItem(a, b); … … 4624 4624 { 4625 4625 UINT yyrc; 4626 USHORT sel = GetFS();4626 USHORT sel = RestoreOS2FS(); 4627 4627 4628 4628 yyrc = _O32_GetDlgItemInt(a, b, c, d); … … 4635 4635 { 4636 4636 UINT yyrc; 4637 USHORT sel = GetFS();4637 USHORT sel = RestoreOS2FS(); 4638 4638 4639 4639 yyrc = _O32_GetDlgItemText(a, b, c, d); … … 4646 4646 { 4647 4647 UINT yyrc; 4648 USHORT sel = GetFS();4648 USHORT sel = RestoreOS2FS(); 4649 4649 4650 4650 yyrc = _O32_GetDoubleClickTime(); … … 4657 4657 { 4658 4658 UINT yyrc; 4659 USHORT sel = GetFS();4659 USHORT sel = RestoreOS2FS(); 4660 4660 4661 4661 yyrc = _O32_GetDriveType(a); … … 4668 4668 { 4669 4669 HENHMETAFILE yyrc; 4670 USHORT sel = GetFS();4670 USHORT sel = RestoreOS2FS(); 4671 4671 4672 4672 yyrc = _O32_GetEnhMetaFile(a); … … 4679 4679 { 4680 4680 UINT yyrc; 4681 USHORT sel = GetFS();4681 USHORT sel = RestoreOS2FS(); 4682 4682 4683 4683 yyrc = _O32_GetEnhMetaFileBits(a, b, c); … … 4690 4690 { 4691 4691 UINT yyrc; 4692 USHORT sel = GetFS();4692 USHORT sel = RestoreOS2FS(); 4693 4693 4694 4694 yyrc = _O32_GetEnhMetaFileHeader(a, b, c); … … 4701 4701 { 4702 4702 UINT yyrc; 4703 USHORT sel = GetFS();4703 USHORT sel = RestoreOS2FS(); 4704 4704 4705 4705 yyrc = _O32_GetEnhMetaFilePaletteEntries(a, b, c); … … 4712 4712 { 4713 4713 PVOID yyrc; 4714 USHORT sel = GetFS();4714 USHORT sel = RestoreOS2FS(); 4715 4715 4716 4716 yyrc = _O32_GetEnvironmentStrings(); … … 4723 4723 { 4724 4724 DWORD yyrc; 4725 USHORT sel = GetFS();4725 USHORT sel = RestoreOS2FS(); 4726 4726 4727 4727 yyrc = _O32_GetEnvironmentVariable(a, b, c); … … 4734 4734 { 4735 4735 BOOL yyrc; 4736 USHORT sel = GetFS();4736 USHORT sel = RestoreOS2FS(); 4737 4737 4738 4738 yyrc = _O32_GetExitCodeProcess(a, b); … … 4745 4745 { 4746 4746 BOOL yyrc; 4747 USHORT sel = GetFS();4747 USHORT sel = RestoreOS2FS(); 4748 4748 4749 4749 yyrc = _O32_GetExitCodeThread(a, b); … … 4756 4756 { 4757 4757 DWORD yyrc; 4758 USHORT sel = GetFS();4758 USHORT sel = RestoreOS2FS(); 4759 4759 4760 4760 yyrc = _O32_GetFileAttributes(a); … … 4767 4767 { 4768 4768 DWORD yyrc; 4769 USHORT sel = GetFS();4769 USHORT sel = RestoreOS2FS(); 4770 4770 4771 4771 yyrc = _O32_GetFileInformationByHandle(a, b); … … 4778 4778 { 4779 4779 DWORD yyrc; 4780 USHORT sel = GetFS();4780 USHORT sel = RestoreOS2FS(); 4781 4781 4782 4782 yyrc = _O32_GetFileSize(a, b); … … 4789 4789 { 4790 4790 BOOL yyrc; 4791 USHORT sel = GetFS();4791 USHORT sel = RestoreOS2FS(); 4792 4792 4793 4793 yyrc = _O32_GetFileTime(a, b, c, d); … … 4800 4800 { 4801 4801 short yyrc; 4802 USHORT sel = GetFS();4802 USHORT sel = RestoreOS2FS(); 4803 4803 4804 4804 yyrc = _O32_GetFileTitle(a, b, c); … … 4811 4811 { 4812 4812 DWORD yyrc; 4813 USHORT sel = GetFS();4813 USHORT sel = RestoreOS2FS(); 4814 4814 4815 4815 yyrc = _O32_GetFileType(a); … … 4822 4822 { 4823 4823 HWND yyrc; 4824 USHORT sel = GetFS();4824 USHORT sel = RestoreOS2FS(); 4825 4825 4826 4826 yyrc = _O32_GetFocus(); … … 4833 4833 { 4834 4834 HWND yyrc; 4835 USHORT sel = GetFS();4835 USHORT sel = RestoreOS2FS(); 4836 4836 4837 4837 yyrc = _O32_GetForegroundWindow(); … … 4844 4844 { 4845 4845 DWORD yyrc; 4846 USHORT sel = GetFS();4846 USHORT sel = RestoreOS2FS(); 4847 4847 4848 4848 yyrc = _O32_GetFullPathName(a, b, c, d); … … 4855 4855 { 4856 4856 int yyrc; 4857 USHORT sel = GetFS();4857 USHORT sel = RestoreOS2FS(); 4858 4858 4859 4859 yyrc = _O32_GetGraphicsMode(a); … … 4866 4866 { 4867 4867 BOOL yyrc; 4868 USHORT sel = GetFS();4868 USHORT sel = RestoreOS2FS(); 4869 4869 4870 4870 yyrc = _O32_GetIconInfo(a, b); … … 4877 4877 { 4878 4878 DWORD yyrc; 4879 USHORT sel = GetFS();4879 USHORT sel = RestoreOS2FS(); 4880 4880 4881 4881 yyrc = _O32_GetKerningPairs(a, b, c); … … 4888 4888 { 4889 4889 int yyrc; 4890 USHORT sel = GetFS();4890 USHORT sel = RestoreOS2FS(); 4891 4891 4892 4892 yyrc = _O32_GetKeyboardType(a); … … 4899 4899 { 4900 4900 int yyrc; 4901 USHORT sel = GetFS();4901 USHORT sel = RestoreOS2FS(); 4902 4902 4903 4903 yyrc = _O32_GetKeyNameText(a, b, c); … … 4910 4910 { 4911 4911 SHORT yyrc; 4912 USHORT sel = GetFS();4912 USHORT sel = RestoreOS2FS(); 4913 4913 4914 4914 yyrc = _O32_GetKeyState(a); … … 4921 4921 { 4922 4922 HWND yyrc; 4923 USHORT sel = GetFS();4923 USHORT sel = RestoreOS2FS(); 4924 4924 4925 4925 yyrc = _O32_GetLastActivePopup(a); … … 4932 4932 { 4933 4933 DWORD yyrc; 4934 USHORT sel = GetFS();4934 USHORT sel = RestoreOS2FS(); 4935 4935 4936 4936 yyrc = _O32_GetLastError(); … … 4942 4942 inline VOID O32_GetLocalTime(LPSYSTEMTIME a) 4943 4943 { 4944 USHORT sel = GetFS();4944 USHORT sel = RestoreOS2FS(); 4945 4945 4946 4946 _O32_GetLocalTime(a); … … 4951 4951 { 4952 4952 DWORD yyrc; 4953 USHORT sel = GetFS();4953 USHORT sel = RestoreOS2FS(); 4954 4954 4955 4955 yyrc = _O32_GetLogicalDriveStrings(a, b); … … 4962 4962 { 4963 4963 DWORD yyrc; 4964 USHORT sel = GetFS();4964 USHORT sel = RestoreOS2FS(); 4965 4965 4966 4966 yyrc = _O32_GetLogicalDrives(); … … 4973 4973 { 4974 4974 int yyrc; 4975 USHORT sel = GetFS();4975 USHORT sel = RestoreOS2FS(); 4976 4976 4977 4977 yyrc = _O32_GetMapMode(a); … … 4984 4984 { 4985 4985 HMENU yyrc; 4986 USHORT sel = GetFS();4986 USHORT sel = RestoreOS2FS(); 4987 4987 4988 4988 yyrc = _O32_GetMenu(a); … … 4995 4995 { 4996 4996 LONG yyrc; 4997 USHORT sel = GetFS();4997 USHORT sel = RestoreOS2FS(); 4998 4998 4999 4999 yyrc = _O32_GetMenuCheckMarkDimensions(); … … 5006 5006 { 5007 5007 int yyrc; 5008 USHORT sel = GetFS();5008 USHORT sel = RestoreOS2FS(); 5009 5009 5010 5010 yyrc = _O32_GetMenuItemCount(a); … … 5017 5017 { 5018 5018 UINT yyrc; 5019 USHORT sel = GetFS();5019 USHORT sel = RestoreOS2FS(); 5020 5020 5021 5021 yyrc = _O32_GetMenuItemID(a, b); … … 5028 5028 { 5029 5029 UINT yyrc; 5030 USHORT sel = GetFS();5030 USHORT sel = RestoreOS2FS(); 5031 5031 5032 5032 yyrc = _O32_GetMenuState(a, b, c); … … 5039 5039 { 5040 5040 int yyrc; 5041 USHORT sel = GetFS();5041 USHORT sel = RestoreOS2FS(); 5042 5042 5043 5043 yyrc = _O32_GetMenuString(a, b, c, d, e); … … 5050 5050 { 5051 5051 BOOL yyrc; 5052 USHORT sel = GetFS();5052 USHORT sel = RestoreOS2FS(); 5053 5053 5054 5054 yyrc = _O32_GetMessage(a, b, c, d); … … 5061 5061 { 5062 5062 LONG yyrc; 5063 USHORT sel = GetFS();5063 USHORT sel = RestoreOS2FS(); 5064 5064 5065 5065 yyrc = _O32_GetMessageExtraInfo(); … … 5072 5072 { 5073 5073 DWORD yyrc; 5074 USHORT sel = GetFS();5074 USHORT sel = RestoreOS2FS(); 5075 5075 5076 5076 yyrc = _O32_GetMessagePos(); … … 5083 5083 { 5084 5084 LONG yyrc; 5085 USHORT sel = GetFS();5085 USHORT sel = RestoreOS2FS(); 5086 5086 5087 5087 yyrc = _O32_GetMessageTime(); … … 5094 5094 { 5095 5095 HMETAFILE yyrc; 5096 USHORT sel = GetFS();5096 USHORT sel = RestoreOS2FS(); 5097 5097 5098 5098 yyrc = _O32_GetMetaFile(a); … … 5105 5105 { 5106 5106 UINT yyrc; 5107 USHORT sel = GetFS();5107 USHORT sel = RestoreOS2FS(); 5108 5108 5109 5109 yyrc = _O32_GetMetaFileBitsEx(a, b, c); … … 5116 5116 { 5117 5117 BOOL yyrc; 5118 USHORT sel = GetFS();5118 USHORT sel = RestoreOS2FS(); 5119 5119 5120 5120 yyrc = _O32_GetMiterLimit(a, b); … … 5127 5127 { 5128 5128 DWORD yyrc; 5129 USHORT sel = GetFS();5129 USHORT sel = RestoreOS2FS(); 5130 5130 5131 5131 yyrc = _O32_GetModuleFileName(a, b, c); … … 5138 5138 { 5139 5139 HMODULE yyrc; 5140 USHORT sel = GetFS();5140 USHORT sel = RestoreOS2FS(); 5141 5141 5142 5142 yyrc = _O32_GetModuleHandle(a); … … 5149 5149 { 5150 5150 COLORREF yyrc; 5151 USHORT sel = GetFS();5151 USHORT sel = RestoreOS2FS(); 5152 5152 5153 5153 yyrc = _O32_GetNearestColor(a, b); … … 5160 5160 { 5161 5161 UINT yyrc; 5162 USHORT sel = GetFS();5162 USHORT sel = RestoreOS2FS(); 5163 5163 5164 5164 yyrc = _O32_GetNearestPaletteIndex(a, b); … … 5171 5171 { 5172 5172 HWND yyrc; 5173 USHORT sel = GetFS();5173 USHORT sel = RestoreOS2FS(); 5174 5174 5175 5175 yyrc = _O32_GetNextDlgGroupItem(a, b, c); … … 5182 5182 { 5183 5183 HWND yyrc; 5184 USHORT sel = GetFS();5184 USHORT sel = RestoreOS2FS(); 5185 5185 5186 5186 yyrc = _O32_GetNextDlgTabItem(a, b, c); … … 5193 5193 { 5194 5194 HWND yyrc; 5195 USHORT sel = GetFS();5195 USHORT sel = RestoreOS2FS(); 5196 5196 5197 5197 yyrc = _O32_GetNextWindow(a, b); … … 5204 5204 { 5205 5205 int yyrc; 5206 USHORT sel = GetFS();5206 USHORT sel = RestoreOS2FS(); 5207 5207 5208 5208 yyrc = _O32_GetOEMCP(); … … 5215 5215 { 5216 5216 int yyrc; 5217 USHORT sel = GetFS();5217 USHORT sel = RestoreOS2FS(); 5218 5218 5219 5219 yyrc = _O32_GetObject(a, b, c); … … 5226 5226 { 5227 5227 DWORD yyrc; 5228 USHORT sel = GetFS();5228 USHORT sel = RestoreOS2FS(); 5229 5229 5230 5230 yyrc = _O32_GetObjectType(a); … … 5237 5237 { 5238 5238 HWND yyrc; 5239 USHORT sel = GetFS();5239 USHORT sel = RestoreOS2FS(); 5240 5240 5241 5241 yyrc = _O32_GetOpenClipboardWindow(); … … 5248 5248 { 5249 5249 BOOL yyrc; 5250 USHORT sel = GetFS();5250 USHORT sel = RestoreOS2FS(); 5251 5251 5252 5252 yyrc = _O32_GetOpenFileName(a); … … 5259 5259 { 5260 5260 UINT yyrc; 5261 USHORT sel = GetFS();5261 USHORT sel = RestoreOS2FS(); 5262 5262 5263 5263 yyrc = _O32_GetOutlineTextMetrics(a, b, c); … … 5270 5270 { 5271 5271 BOOL yyrc; 5272 USHORT sel = GetFS();5272 USHORT sel = RestoreOS2FS(); 5273 5273 5274 5274 yyrc = _O32_GetOverlappedResult(a, b, c, d); … … 5281 5281 { 5282 5282 UINT yyrc; 5283 USHORT sel = GetFS();5283 USHORT sel = RestoreOS2FS(); 5284 5284 5285 5285 yyrc = _O32_GetPaletteEntries(a, b, c, d); … … 5292 5292 { 5293 5293 HWND yyrc; 5294 USHORT sel = GetFS();5294 USHORT sel = RestoreOS2FS(); 5295 5295 5296 5296 yyrc = _O32_GetParent(a); … … 5303 5303 { 5304 5304 UINT yyrc; 5305 USHORT sel = GetFS();5305 USHORT sel = RestoreOS2FS(); 5306 5306 5307 5307 yyrc = _O32_GetPath(a, b, c, d); … … 5314 5314 { 5315 5315 COLORREF yyrc; 5316 USHORT sel = GetFS();5316 USHORT sel = RestoreOS2FS(); 5317 5317 5318 5318 yyrc = _O32_GetPixel(a, b, c); … … 5325 5325 { 5326 5326 int yyrc; 5327 USHORT sel = GetFS();5327 USHORT sel = RestoreOS2FS(); 5328 5328 5329 5329 yyrc = _O32_GetPolyFillMode(a); … … 5336 5336 { 5337 5337 DWORD yyrc; 5338 USHORT sel = GetFS();5338 USHORT sel = RestoreOS2FS(); 5339 5339 5340 5340 yyrc = _O32_GetPriorityClass(a); … … 5347 5347 { 5348 5348 int yyrc; 5349 USHORT sel = GetFS();5349 USHORT sel = RestoreOS2FS(); 5350 5350 5351 5351 yyrc = _O32_GetPriorityClipboardFormat(a, b); … … 5358 5358 { 5359 5359 UINT yyrc; 5360 USHORT sel = GetFS();5360 USHORT sel = RestoreOS2FS(); 5361 5361 5362 5362 yyrc = _O32_GetPrivateProfileInt(a, b, c, d); … … 5369 5369 { 5370 5370 DWORD yyrc; 5371 USHORT sel = GetFS();5371 USHORT sel = RestoreOS2FS(); 5372 5372 5373 5373 yyrc = _O32_GetPrivateProfileString(a, b, c, d, e, f); … … 5380 5380 { 5381 5381 FARPROC yyrc; 5382 USHORT sel = GetFS();5382 USHORT sel = RestoreOS2FS(); 5383 5383 5384 5384 yyrc = _O32_GetProcAddress(a, b); … … 5391 5391 { 5392 5392 UINT yyrc; 5393 USHORT sel = GetFS();5393 USHORT sel = RestoreOS2FS(); 5394 5394 5395 5395 yyrc = _O32_GetProfileInt(a, b, c); … … 5402 5402 { 5403 5403 DWORD yyrc; 5404 USHORT sel = GetFS();5404 USHORT sel = RestoreOS2FS(); 5405 5405 5406 5406 yyrc = _O32_GetProfileString(a, b, c, d, e); … … 5413 5413 { 5414 5414 HANDLE yyrc; 5415 USHORT sel = GetFS();5415 USHORT sel = RestoreOS2FS(); 5416 5416 5417 5417 yyrc = _O32_GetProp(a, b); … … 5424 5424 { 5425 5425 DWORD yyrc; 5426 USHORT sel = GetFS();5426 USHORT sel = RestoreOS2FS(); 5427 5427 5428 5428 yyrc = _O32_GetQueueStatus(a); … … 5435 5435 { 5436 5436 int yyrc; 5437 USHORT sel = GetFS();5437 USHORT sel = RestoreOS2FS(); 5438 5438 5439 5439 yyrc = _O32_GetROP2(a); … … 5446 5446 { 5447 5447 BOOL yyrc; 5448 USHORT sel = GetFS();5448 USHORT sel = RestoreOS2FS(); 5449 5449 5450 5450 yyrc = _O32_GetRasterizerCaps(a, b); … … 5457 5457 { 5458 5458 int yyrc; 5459 USHORT sel = GetFS();5459 USHORT sel = RestoreOS2FS(); 5460 5460 5461 5461 yyrc = _O32_GetRgnBox(a, b); … … 5468 5468 { 5469 5469 DWORD yyrc; 5470 USHORT sel = GetFS();5470 USHORT sel = RestoreOS2FS(); 5471 5471 5472 5472 yyrc = _O32_GetRegionData(a, b, c); … … 5479 5479 { 5480 5480 BOOL yyrc; 5481 USHORT sel = GetFS();5481 USHORT sel = RestoreOS2FS(); 5482 5482 5483 5483 yyrc = _O32_GetSaveFileName(a); … … 5490 5490 { 5491 5491 int yyrc; 5492 USHORT sel = GetFS();5492 USHORT sel = RestoreOS2FS(); 5493 5493 5494 5494 yyrc = _O32_GetScrollPos(a, b); … … 5501 5501 { 5502 5502 BOOL yyrc; 5503 USHORT sel = GetFS();5503 USHORT sel = RestoreOS2FS(); 5504 5504 5505 5505 yyrc = _O32_GetScrollRange(a, b, c, d); … … 5512 5512 { 5513 5513 HANDLE yyrc; 5514 USHORT sel = GetFS();5514 USHORT sel = RestoreOS2FS(); 5515 5515 5516 5516 yyrc = _O32_GetStdHandle(a); … … 5523 5523 { 5524 5524 HGDIOBJ yyrc; 5525 USHORT sel = GetFS();5525 USHORT sel = RestoreOS2FS(); 5526 5526 5527 5527 yyrc = _O32_GetStockObject(a); … … 5534 5534 { 5535 5535 int yyrc; 5536 USHORT sel = GetFS();5536 USHORT sel = RestoreOS2FS(); 5537 5537 5538 5538 yyrc = _O32_GetStretchBltMode(a); … … 5545 5545 { 5546 5546 HMENU yyrc; 5547 USHORT sel = GetFS();5547 USHORT sel = RestoreOS2FS(); 5548 5548 5549 5549 yyrc = _O32_GetSubMenu(a, b); … … 5556 5556 { 5557 5557 DWORD yyrc; 5558 USHORT sel = GetFS();5558 USHORT sel = RestoreOS2FS(); 5559 5559 5560 5560 yyrc = _O32_GetSysColor(a); … … 5567 5567 { 5568 5568 UINT yyrc; 5569 USHORT sel = GetFS();5569 USHORT sel = RestoreOS2FS(); 5570 5570 5571 5571 yyrc = _O32_GetSystemDirectory(a, b); … … 5578 5578 { 5579 5579 HMENU yyrc; 5580 USHORT sel = GetFS();5580 USHORT sel = RestoreOS2FS(); 5581 5581 5582 5582 yyrc = _O32_GetSystemMenu(a, b); … … 5589 5589 { 5590 5590 int yyrc; 5591 USHORT sel = GetFS();5591 USHORT sel = RestoreOS2FS(); 5592 5592 5593 5593 yyrc = _O32_GetSystemMetrics(a); … … 5600 5600 { 5601 5601 UINT yyrc; 5602 USHORT sel = GetFS();5602 USHORT sel = RestoreOS2FS(); 5603 5603 5604 5604 yyrc = _O32_GetSystemPaletteEntries(a, b, c, d); … … 5610 5610 inline void O32_GetSystemTime(LPSYSTEMTIME a) 5611 5611 { 5612 USHORT sel = GetFS();5612 USHORT sel = RestoreOS2FS(); 5613 5613 5614 5614 _O32_GetSystemTime(a); … … 5619 5619 { 5620 5620 DWORD yyrc; 5621 USHORT sel = GetFS();5621 USHORT sel = RestoreOS2FS(); 5622 5622 5623 5623 yyrc = _O32_GetTabbedTextExtent(a, b, c, d, e); … … 5630 5630 { 5631 5631 UINT yyrc; 5632 USHORT sel = GetFS();5632 USHORT sel = RestoreOS2FS(); 5633 5633 5634 5634 yyrc = _O32_GetTempFileName(a, b, c, d); … … 5641 5641 { 5642 5642 DWORD yyrc; 5643 USHORT sel = GetFS();5643 USHORT sel = RestoreOS2FS(); 5644 5644 5645 5645 yyrc = _O32_GetTempPath(a, b); … … 5652 5652 { 5653 5653 UINT yyrc; 5654 USHORT sel = GetFS();5654 USHORT sel = RestoreOS2FS(); 5655 5655 5656 5656 yyrc = _O32_GetTextAlign(a); … … 5663 5663 { 5664 5664 int yyrc; 5665 USHORT sel = GetFS();5665 USHORT sel = RestoreOS2FS(); 5666 5666 5667 5667 yyrc = _O32_GetTextCharacterExtra(a); … … 5674 5674 { 5675 5675 COLORREF yyrc; 5676 USHORT sel = GetFS();5676 USHORT sel = RestoreOS2FS(); 5677 5677 5678 5678 yyrc = _O32_GetTextColor(a); … … 5685 5685 { 5686 5686 BOOL yyrc; 5687 USHORT sel = GetFS();5687 USHORT sel = RestoreOS2FS(); 5688 5688 5689 5689 yyrc = _O32_GetTextExtentPoint(a, b, c, d); … … 5696 5696 { 5697 5697 BOOL yyrc; 5698 USHORT sel = GetFS();5698 USHORT sel = RestoreOS2FS(); 5699 5699 5700 5700 yyrc = _O32_GetTextExtentPoint32(a, b, c, d); … … 5707 5707 { 5708 5708 int yyrc; 5709 USHORT sel = GetFS();5709 USHORT sel = RestoreOS2FS(); 5710 5710 5711 5711 yyrc = _O32_GetTextFace(a, b, c); … … 5718 5718 { 5719 5719 BOOL yyrc; 5720 USHORT sel = GetFS();5720 USHORT sel = RestoreOS2FS(); 5721 5721 5722 5722 yyrc = _O32_GetTextMetrics(a, b); … … 5729 5729 { 5730 5730 DWORD yyrc; 5731 USHORT sel = GetFS();5731 USHORT sel = RestoreOS2FS(); 5732 5732 5733 5733 yyrc = _O32_GetThreadPriority(a); … … 5740 5740 { 5741 5741 DWORD yyrc; 5742 USHORT sel = GetFS();5742 USHORT sel = RestoreOS2FS(); 5743 5743 5744 5744 yyrc = _O32_GetTickCount(); … … 5751 5751 { 5752 5752 DWORD yyrc; 5753 USHORT sel = GetFS();5753 USHORT sel = RestoreOS2FS(); 5754 5754 5755 5755 yyrc = _O32_GetTimeZoneInformation(a); … … 5762 5762 { 5763 5763 HWND yyrc; 5764 USHORT sel = GetFS();5764 USHORT sel = RestoreOS2FS(); 5765 5765 5766 5766 yyrc = _O32_GetTopWindow(a); … … 5773 5773 { 5774 5774 BOOL yyrc; 5775 USHORT sel = GetFS();5775 USHORT sel = RestoreOS2FS(); 5776 5776 5777 5777 yyrc = _O32_GetUpdateRect(a, b, c); … … 5784 5784 { 5785 5785 int yyrc; 5786 USHORT sel = GetFS();5786 USHORT sel = RestoreOS2FS(); 5787 5787 5788 5788 yyrc = _O32_GetUpdateRgn(a, b, c); … … 5795 5795 { 5796 5796 BOOL yyrc; 5797 USHORT sel = GetFS();5797 USHORT sel = RestoreOS2FS(); 5798 5798 5799 5799 yyrc = _O32_GetViewportExtEx(a, b); … … 5806 5806 { 5807 5807 BOOL yyrc; 5808 USHORT sel = GetFS();5808 USHORT sel = RestoreOS2FS(); 5809 5809 5810 5810 yyrc = _O32_GetViewportOrgEx(a, b); … … 5817 5817 { 5818 5818 DWORD yyrc; 5819 USHORT sel = GetFS();5819 USHORT sel = RestoreOS2FS(); 5820 5820 5821 5821 yyrc = _O32_GetVolumeInformation(a, b, c, d, e, f, g, h); … … 5828 5828 { 5829 5829 UINT yyrc; 5830 USHORT sel = GetFS();5830 USHORT sel = RestoreOS2FS(); 5831 5831 5832 5832 yyrc = _O32_GetWinMetaFileBits(a, b, c, d, e); … … 5839 5839 { 5840 5840 HWND yyrc; 5841 USHORT sel = GetFS();5841 USHORT sel = RestoreOS2FS(); 5842 5842 5843 5843 yyrc = _O32_GetWindow(a, b); … … 5850 5850 { 5851 5851 HDC yyrc; 5852 USHORT sel = GetFS();5852 USHORT sel = RestoreOS2FS(); 5853 5853 5854 5854 yyrc = _O32_GetWindowDC(a); … … 5861 5861 { 5862 5862 BOOL yyrc; 5863 USHORT sel = GetFS();5863 USHORT sel = RestoreOS2FS(); 5864 5864 5865 5865 yyrc = _O32_GetWindowExtEx(a, b); … … 5872 5872 { 5873 5873 LONG yyrc; 5874 USHORT sel = GetFS();5874 USHORT sel = RestoreOS2FS(); 5875 5875 5876 5876 yyrc = _O32_GetWindowLong(a, b); … … 5883 5883 { 5884 5884 BOOL yyrc; 5885 USHORT sel = GetFS();5885 USHORT sel = RestoreOS2FS(); 5886 5886 5887 5887 yyrc = _O32_GetWindowOrgEx(a, b); … … 5894 5894 { 5895 5895 BOOL yyrc; 5896 USHORT sel = GetFS();5896 USHORT sel = RestoreOS2FS(); 5897 5897 5898 5898 yyrc = _O32_GetWindowPlacement(a, b); … … 5905 5905 { 5906 5906 BOOL yyrc; 5907 USHORT sel = GetFS();5907 USHORT sel = RestoreOS2FS(); 5908 5908 5909 5909 yyrc = _O32_GetWindowRect(a, b); … … 5916 5916 { 5917 5917 UINT yyrc; 5918 USHORT sel = GetFS();5918 USHORT sel = RestoreOS2FS(); 5919 5919 5920 5920 yyrc = _O32_GetWindowsDirectory(a, b); … … 5927 5927 { 5928 5928 int yyrc; 5929 USHORT sel = GetFS();5929 USHORT sel = RestoreOS2FS(); 5930 5930 5931 5931 yyrc = _O32_GetWindowText(a, b, c); … … 5938 5938 { 5939 5939 int yyrc; 5940 USHORT sel = GetFS();5940 USHORT sel = RestoreOS2FS(); 5941 5941 5942 5942 yyrc = _O32_GetWindowTextLength(a); … … 5949 5949 { 5950 5950 DWORD yyrc; 5951 USHORT sel = GetFS();5951 USHORT sel = RestoreOS2FS(); 5952 5952 5953 5953 yyrc = _O32_GetWindowThreadProcessId(a, b); … … 5960 5960 { 5961 5961 WORD yyrc; 5962 USHORT sel = GetFS();5962 USHORT sel = RestoreOS2FS(); 5963 5963 5964 5964 yyrc = _O32_GetWindowWord(a, b); … … 5971 5971 { 5972 5972 BOOL yyrc; 5973 USHORT sel = GetFS();5973 USHORT sel = RestoreOS2FS(); 5974 5974 5975 5975 yyrc = _O32_GetWorldTransform(a, b); … … 5982 5982 { 5983 5983 ATOM yyrc; 5984 USHORT sel = GetFS();5984 USHORT sel = RestoreOS2FS(); 5985 5985 5986 5986 yyrc = _O32_GlobalAddAtom(a); … … 5993 5993 { 5994 5994 HGLOBAL yyrc; 5995 USHORT sel = GetFS();5995 USHORT sel = RestoreOS2FS(); 5996 5996 5997 5997 yyrc = _O32_GlobalAlloc(a, b); … … 6004 6004 { 6005 6005 ATOM yyrc; 6006 USHORT sel = GetFS();6006 USHORT sel = RestoreOS2FS(); 6007 6007 6008 6008 yyrc = _O32_GlobalDeleteAtom(a); … … 6015 6015 { 6016 6016 HGLOBAL yyrc; 6017 USHORT sel = GetFS();6017 USHORT sel = RestoreOS2FS(); 6018 6018 6019 6019 yyrc = _O32_GlobalDiscard(a); … … 6026 6026 { 6027 6027 ATOM yyrc; 6028 USHORT sel = GetFS();6028 USHORT sel = RestoreOS2FS(); 6029 6029 6030 6030 yyrc = _O32_GlobalFindAtom(a); … … 6037 6037 { 6038 6038 UINT yyrc; 6039 USHORT sel = GetFS();6039 USHORT sel = RestoreOS2FS(); 6040 6040 6041 6041 yyrc = _O32_GlobalFlags(a); … … 6048 6048 { 6049 6049 HGLOBAL yyrc; 6050 USHORT sel = GetFS();6050 USHORT sel = RestoreOS2FS(); 6051 6051 6052 6052 yyrc = _O32_GlobalFree(a); … … 6059 6059 { 6060 6060 UINT yyrc; 6061 USHORT sel = GetFS();6061 USHORT sel = RestoreOS2FS(); 6062 6062 6063 6063 yyrc = _O32_GlobalGetAtomName(a, b, c); … … 6070 6070 { 6071 6071 HGLOBAL yyrc; 6072 USHORT sel = GetFS();6072 USHORT sel = RestoreOS2FS(); 6073 6073 6074 6074 yyrc = _O32_GlobalHandle(a); … … 6081 6081 { 6082 6082 PVOID yyrc; 6083 USHORT sel = GetFS();6083 USHORT sel = RestoreOS2FS(); 6084 6084 6085 6085 yyrc = _O32_GlobalLock(a); … … 6091 6091 inline VOID O32_GlobalMemoryStatus(LPMEMORYSTATUS a) 6092 6092 { 6093 USHORT sel = GetFS();6093 USHORT sel = RestoreOS2FS(); 6094 6094 6095 6095 _O32_GlobalMemoryStatus(a); … … 6100 6100 { 6101 6101 HGLOBAL yyrc; 6102 USHORT sel = GetFS();6102 USHORT sel = RestoreOS2FS(); 6103 6103 6104 6104 yyrc = _O32_GlobalReAlloc(a, b, c); … … 6111 6111 { 6112 6112 DWORD yyrc; 6113 USHORT sel = GetFS();6113 USHORT sel = RestoreOS2FS(); 6114 6114 6115 6115 yyrc = _O32_GlobalSize(a); … … 6122 6122 { 6123 6123 BOOL yyrc; 6124 USHORT sel = GetFS();6124 USHORT sel = RestoreOS2FS(); 6125 6125 6126 6126 yyrc = _O32_GlobalUnlock(a); … … 6133 6133 { 6134 6134 PVOID yyrc; 6135 USHORT sel = GetFS();6135 USHORT sel = RestoreOS2FS(); 6136 6136 6137 6137 yyrc = _O32_HeapAlloc(a, b, c); … … 6144 6144 { 6145 6145 HANDLE yyrc; 6146 USHORT sel = GetFS();6146 USHORT sel = RestoreOS2FS(); 6147 6147 6148 6148 yyrc = _O32_HeapCreate(a, b, c); … … 6155 6155 { 6156 6156 BOOL yyrc; 6157 USHORT sel = GetFS();6157 USHORT sel = RestoreOS2FS(); 6158 6158 6159 6159 yyrc = _O32_HeapDestroy(a); … … 6166 6166 { 6167 6167 BOOL yyrc; 6168 USHORT sel = GetFS();6168 USHORT sel = RestoreOS2FS(); 6169 6169 6170 6170 yyrc = _O32_HeapFree(a, b, c); … … 6177 6177 { 6178 6178 PVOID yyrc; 6179 USHORT sel = GetFS();6179 USHORT sel = RestoreOS2FS(); 6180 6180 6181 6181 yyrc = _O32_HeapReAlloc(a, b, c, d); … … 6188 6188 { 6189 6189 DWORD yyrc; 6190 USHORT sel = GetFS();6190 USHORT sel = RestoreOS2FS(); 6191 6191 6192 6192 yyrc = _O32_HeapSize(a, b, c); … … 6199 6199 { 6200 6200 BOOL yyrc; 6201 USHORT sel = GetFS();6201 USHORT sel = RestoreOS2FS(); 6202 6202 6203 6203 yyrc = _O32_HideCaret(a); … … 6210 6210 { 6211 6211 BOOL yyrc; 6212 USHORT sel = GetFS();6212 USHORT sel = RestoreOS2FS(); 6213 6213 6214 6214 yyrc = _O32_HiliteMenuItem(a, b, c, d); … … 6221 6221 { 6222 6222 BOOL yyrc; 6223 USHORT sel = GetFS();6223 USHORT sel = RestoreOS2FS(); 6224 6224 6225 6225 yyrc = _O32_InflateRect(a, b, c); … … 6232 6232 { 6233 6233 BOOL yyrc; 6234 USHORT sel = GetFS();6234 USHORT sel = RestoreOS2FS(); 6235 6235 6236 6236 yyrc = _O32_InSendMessage(); … … 6243 6243 { 6244 6244 BOOL yyrc; 6245 USHORT sel = GetFS();6245 USHORT sel = RestoreOS2FS(); 6246 6246 6247 6247 yyrc = _O32_InitAtomTable(a); … … 6253 6253 inline VOID O32_InitializeCriticalSection(CRITICAL_SECTION *a) 6254 6254 { 6255 USHORT sel = GetFS();6255 USHORT sel = RestoreOS2FS(); 6256 6256 6257 6257 _O32_InitializeCriticalSection(a); … … 6262 6262 { 6263 6263 BOOL yyrc; 6264 USHORT sel = GetFS();6264 USHORT sel = RestoreOS2FS(); 6265 6265 6266 6266 yyrc = _O32_InsertMenu(a, b, c, d, e); … … 6273 6273 { 6274 6274 LONG yyrc; 6275 USHORT sel = GetFS();6275 USHORT sel = RestoreOS2FS(); 6276 6276 6277 6277 yyrc = _O32_InterlockedDecrement(a); … … 6284 6284 { 6285 6285 LONG yyrc; 6286 USHORT sel = GetFS();6286 USHORT sel = RestoreOS2FS(); 6287 6287 6288 6288 yyrc = _O32_InterlockedExchange(a, b); … … 6295 6295 { 6296 6296 LONG yyrc; 6297 USHORT sel = GetFS();6297 USHORT sel = RestoreOS2FS(); 6298 6298 6299 6299 yyrc = _O32_InterlockedIncrement(a); … … 6306 6306 { 6307 6307 int yyrc; 6308 USHORT sel = GetFS();6308 USHORT sel = RestoreOS2FS(); 6309 6309 6310 6310 yyrc = _O32_IntersectClipRect(a, b, c, d, e); … … 6317 6317 { 6318 6318 BOOL yyrc; 6319 USHORT sel = GetFS();6319 USHORT sel = RestoreOS2FS(); 6320 6320 6321 6321 yyrc = _O32_IntersectRect(a, b, c); … … 6328 6328 { 6329 6329 BOOL yyrc; 6330 USHORT sel = GetFS();6330 USHORT sel = RestoreOS2FS(); 6331 6331 6332 6332 yyrc = _O32_InvalidateRect(a, b, c); … … 6339 6339 { 6340 6340 BOOL yyrc; 6341 USHORT sel = GetFS();6341 USHORT sel = RestoreOS2FS(); 6342 6342 6343 6343 yyrc = _O32_InvalidateRgn(a, b, c); … … 6350 6350 { 6351 6351 BOOL yyrc; 6352 USHORT sel = GetFS();6352 USHORT sel = RestoreOS2FS(); 6353 6353 6354 6354 yyrc = _O32_InvertRect(a, b); … … 6361 6361 { 6362 6362 BOOL yyrc; 6363 USHORT sel = GetFS();6363 USHORT sel = RestoreOS2FS(); 6364 6364 6365 6365 yyrc = _O32_InvertRgn(a, b); … … 6372 6372 { 6373 6373 BOOL yyrc; 6374 USHORT sel = GetFS();6374 USHORT sel = RestoreOS2FS(); 6375 6375 6376 6376 yyrc = _O32_IsBadCodePtr(a); … … 6383 6383 { 6384 6384 BOOL yyrc; 6385 USHORT sel = GetFS();6385 USHORT sel = RestoreOS2FS(); 6386 6386 6387 6387 yyrc = _O32_IsBadReadPtr(a, b); … … 6394 6394 { 6395 6395 BOOL yyrc; 6396 USHORT sel = GetFS();6396 USHORT sel = RestoreOS2FS(); 6397 6397 6398 6398 yyrc = _O32_IsBadStringPtr(a, b); … … 6405 6405 { 6406 6406 BOOL yyrc; 6407 USHORT sel = GetFS();6407 USHORT sel = RestoreOS2FS(); 6408 6408 6409 6409 yyrc = _O32_IsBadWritePtr(a, b); … … 6416 6416 { 6417 6417 BOOL yyrc; 6418 USHORT sel = GetFS();6418 USHORT sel = RestoreOS2FS(); 6419 6419 6420 6420 yyrc = _O32_IsChild(a, b); … … 6427 6427 { 6428 6428 BOOL yyrc; 6429 USHORT sel = GetFS();6429 USHORT sel = RestoreOS2FS(); 6430 6430 6431 6431 yyrc = _O32_IsClipboardFormatAvailable(a); … … 6438 6438 { 6439 6439 BOOL yyrc; 6440 USHORT sel = GetFS();6440 USHORT sel = RestoreOS2FS(); 6441 6441 6442 6442 yyrc = _O32_IsDBCSLeadByte(a); … … 6449 6449 { 6450 6450 BOOL yyrc; 6451 USHORT sel = GetFS();6451 USHORT sel = RestoreOS2FS(); 6452 6452 6453 6453 yyrc = _O32_IsDialogMessage(a, b); … … 6460 6460 { 6461 6461 BOOL yyrc; 6462 USHORT sel = GetFS();6462 USHORT sel = RestoreOS2FS(); 6463 6463 6464 6464 yyrc = _O32_IsDlgButtonChecked(a, b); … … 6471 6471 { 6472 6472 BOOL yyrc; 6473 USHORT sel = GetFS();6473 USHORT sel = RestoreOS2FS(); 6474 6474 6475 6475 yyrc = _O32_IsIconic(a); … … 6482 6482 { 6483 6483 BOOL yyrc; 6484 USHORT sel = GetFS();6484 USHORT sel = RestoreOS2FS(); 6485 6485 6486 6486 yyrc = _O32_IsMenu(a); … … 6493 6493 { 6494 6494 BOOL yyrc; 6495 USHORT sel = GetFS();6495 USHORT sel = RestoreOS2FS(); 6496 6496 6497 6497 yyrc = _O32_IsRectEmpty(a); … … 6504 6504 { 6505 6505 BOOL yyrc; 6506 USHORT sel = GetFS();6506 USHORT sel = RestoreOS2FS(); 6507 6507 6508 6508 yyrc = _O32_IsWindow(a); … … 6515 6515 { 6516 6516 BOOL yyrc; 6517 USHORT sel = GetFS();6517 USHORT sel = RestoreOS2FS(); 6518 6518 6519 6519 yyrc = _O32_IsWindowEnabled(a); … … 6526 6526 { 6527 6527 BOOL yyrc; 6528 USHORT sel = GetFS();6528 USHORT sel = RestoreOS2FS(); 6529 6529 6530 6530 yyrc = _O32_IsWindowVisible(a); … … 6537 6537 { 6538 6538 BOOL yyrc; 6539 USHORT sel = GetFS();6539 USHORT sel = RestoreOS2FS(); 6540 6540 6541 6541 yyrc = _O32_IsZoomed(a); … … 6548 6548 { 6549 6549 BOOL yyrc; 6550 USHORT sel = GetFS();6550 USHORT sel = RestoreOS2FS(); 6551 6551 6552 6552 yyrc = _O32_KillTimer(a, b); … … 6559 6559 { 6560 6560 BOOL yyrc; 6561 USHORT sel = GetFS();6561 USHORT sel = RestoreOS2FS(); 6562 6562 6563 6563 yyrc = _O32_LPtoDP(a, b, c); … … 6569 6569 inline VOID O32_LeaveCriticalSection(CRITICAL_SECTION *a) 6570 6570 { 6571 USHORT sel = GetFS();6571 USHORT sel = RestoreOS2FS(); 6572 6572 6573 6573 _O32_LeaveCriticalSection(a); … … 6578 6578 { 6579 6579 BOOL yyrc; 6580 USHORT sel = GetFS();6580 USHORT sel = RestoreOS2FS(); 6581 6581 6582 6582 yyrc = _O32_LineDDA(a, b, c, d, e, f); … … 6589 6589 { 6590 6590 BOOL yyrc; 6591 USHORT sel = GetFS();6591 USHORT sel = RestoreOS2FS(); 6592 6592 6593 6593 yyrc = _O32_LineTo(a, b, c); … … 6600 6600 { 6601 6601 HACCEL yyrc; 6602 USHORT sel = GetFS();6602 USHORT sel = RestoreOS2FS(); 6603 6603 6604 6604 yyrc = _O32_LoadAccelerators(a, b); … … 6611 6611 { 6612 6612 HBITMAP yyrc; 6613 USHORT sel = GetFS();6613 USHORT sel = RestoreOS2FS(); 6614 6614 6615 6615 yyrc = _O32_LoadBitmap(a, b); … … 6622 6622 { 6623 6623 HCURSOR yyrc; 6624 USHORT sel = GetFS();6624 USHORT sel = RestoreOS2FS(); 6625 6625 6626 6626 yyrc = _O32_LoadCursor(a, b); … … 6633 6633 { 6634 6634 HICON yyrc; 6635 USHORT sel = GetFS();6635 USHORT sel = RestoreOS2FS(); 6636 6636 6637 6637 yyrc = _O32_LoadIcon(a, b); … … 6644 6644 { 6645 6645 HINSTANCE yyrc; 6646 USHORT sel = GetFS();6646 USHORT sel = RestoreOS2FS(); 6647 6647 6648 6648 yyrc = _O32_LoadLibrary(a); … … 6655 6655 { 6656 6656 HMENU yyrc; 6657 USHORT sel = GetFS();6657 USHORT sel = RestoreOS2FS(); 6658 6658 6659 6659 yyrc = _O32_LoadMenu(a, b); … … 6666 6666 { 6667 6667 HMENU yyrc; 6668 USHORT sel = GetFS();6668 USHORT sel = RestoreOS2FS(); 6669 6669 6670 6670 yyrc = _O32_LoadMenuIndirect(a); … … 6677 6677 { 6678 6678 DWORD yyrc; 6679 USHORT sel = GetFS();6679 USHORT sel = RestoreOS2FS(); 6680 6680 6681 6681 yyrc = _O32_LoadModule(a, b); … … 6688 6688 { 6689 6689 HGLOBAL yyrc; 6690 USHORT sel = GetFS();6690 USHORT sel = RestoreOS2FS(); 6691 6691 6692 6692 yyrc = _O32_LoadResource(a, b); … … 6699 6699 { 6700 6700 PVOID yyrc; 6701 USHORT sel = GetFS();6701 USHORT sel = RestoreOS2FS(); 6702 6702 6703 6703 yyrc = _O32_LockResource(a); … … 6710 6710 { 6711 6711 int yyrc; 6712 USHORT sel = GetFS();6712 USHORT sel = RestoreOS2FS(); 6713 6713 6714 6714 yyrc = _O32_LoadString(a, b, c, d); … … 6721 6721 { 6722 6722 HLOCAL yyrc; 6723 USHORT sel = GetFS();6723 USHORT sel = RestoreOS2FS(); 6724 6724 6725 6725 yyrc = _O32_LocalAlloc(a, b); … … 6732 6732 { 6733 6733 HLOCAL yyrc; 6734 USHORT sel = GetFS();6734 USHORT sel = RestoreOS2FS(); 6735 6735 6736 6736 yyrc = _O32_LocalDiscard(a); … … 6743 6743 { 6744 6744 UINT yyrc; 6745 USHORT sel = GetFS();6745 USHORT sel = RestoreOS2FS(); 6746 6746 6747 6747 yyrc = _O32_LocalFlags(a); … … 6754 6754 { 6755 6755 BOOL yyrc; 6756 USHORT sel = GetFS();6756 USHORT sel = RestoreOS2FS(); 6757 6757 6758 6758 yyrc = _O32_LocalFileTimeToFileTime(a, b); … … 6765 6765 { 6766 6766 HLOCAL yyrc; 6767 USHORT sel = GetFS();6767 USHORT sel = RestoreOS2FS(); 6768 6768 6769 6769 yyrc = _O32_LocalFree(a); … … 6776 6776 { 6777 6777 HLOCAL yyrc; 6778 USHORT sel = GetFS();6778 USHORT sel = RestoreOS2FS(); 6779 6779 6780 6780 yyrc = _O32_LocalHandle(a); … … 6787 6787 { 6788 6788 BOOL yyrc; 6789 USHORT sel = GetFS();6789 USHORT sel = RestoreOS2FS(); 6790 6790 6791 6791 yyrc = _O32_LocalUnlock(a); … … 6798 6798 { 6799 6799 HLOCAL yyrc; 6800 USHORT sel = GetFS();6800 USHORT sel = RestoreOS2FS(); 6801 6801 6802 6802 yyrc = _O32_LocalReAlloc(a, b, c); … … 6809 6809 { 6810 6810 UINT yyrc; 6811 USHORT sel = GetFS();6811 USHORT sel = RestoreOS2FS(); 6812 6812 6813 6813 yyrc = _O32_LocalSize(a); … … 6820 6820 { 6821 6821 PVOID yyrc; 6822 USHORT sel = GetFS();6822 USHORT sel = RestoreOS2FS(); 6823 6823 6824 6824 yyrc = _O32_LocalLock(a); … … 6831 6831 { 6832 6832 BOOL yyrc; 6833 USHORT sel = GetFS();6833 USHORT sel = RestoreOS2FS(); 6834 6834 6835 6835 yyrc = _O32_LockFile(a, b, c, d, e); … … 6842 6842 { 6843 6843 BOOL yyrc; 6844 USHORT sel = GetFS();6844 USHORT sel = RestoreOS2FS(); 6845 6845 6846 6846 yyrc = _O32_LockWindowUpdate(a); … … 6853 6853 { 6854 6854 BOOL yyrc; 6855 USHORT sel = GetFS();6855 USHORT sel = RestoreOS2FS(); 6856 6856 6857 6857 yyrc = _O32_MapDialogRect(a, b); … … 6864 6864 { 6865 6865 UINT yyrc; 6866 USHORT sel = GetFS();6866 USHORT sel = RestoreOS2FS(); 6867 6867 6868 6868 yyrc = _O32_MapVirtualKey(a, b); … … 6875 6875 { 6876 6876 int yyrc; 6877 USHORT sel = GetFS();6877 USHORT sel = RestoreOS2FS(); 6878 6878 6879 6879 yyrc = _O32_MapWindowPoints(a, b, c, d); … … 6886 6886 { 6887 6887 BOOL yyrc; 6888 USHORT sel = GetFS();6888 USHORT sel = RestoreOS2FS(); 6889 6889 6890 6890 yyrc = _O32_MaskBlt(a, b, c, d, e, f, g, h, i, j, k, l); … … 6897 6897 { 6898 6898 int yyrc; 6899 USHORT sel = GetFS();6899 USHORT sel = RestoreOS2FS(); 6900 6900 6901 6901 yyrc = _O32_MessageBox(a, b, c, d); … … 6908 6908 { 6909 6909 BOOL yyrc; 6910 USHORT sel = GetFS();6910 USHORT sel = RestoreOS2FS(); 6911 6911 6912 6912 yyrc = _O32_MessageBeep(a); … … 6919 6919 { 6920 6920 DWORD yyrc; 6921 USHORT sel = GetFS();6921 USHORT sel = RestoreOS2FS(); 6922 6922 6923 6923 yyrc = _O32_MsgWaitForMultipleObjects(a, b, c, d, e); … … 6930 6930 { 6931 6931 BOOL yyrc; 6932 USHORT sel = GetFS();6932 USHORT sel = RestoreOS2FS(); 6933 6933 6934 6934 yyrc = _O32_ModifyMenu(a, b, c, d, e); … … 6941 6941 { 6942 6942 BOOL yyrc; 6943 USHORT sel = GetFS();6943 USHORT sel = RestoreOS2FS(); 6944 6944 6945 6945 yyrc = _O32_ModifyWorldTransform(a, b, c); … … 6952 6952 { 6953 6953 BOOL yyrc; 6954 USHORT sel = GetFS();6954 USHORT sel = RestoreOS2FS(); 6955 6955 6956 6956 yyrc = _O32_MoveFile(a, b); … … 6963 6963 { 6964 6964 BOOL yyrc; 6965 USHORT sel = GetFS();6965 USHORT sel = RestoreOS2FS(); 6966 6966 6967 6967 yyrc = _O32_MoveToEx(a, b, c, d); … … 6974 6974 { 6975 6975 BOOL yyrc; 6976 USHORT sel = GetFS();6976 USHORT sel = RestoreOS2FS(); 6977 6977 6978 6978 yyrc = _O32_MoveWindow(a, b, c, d, e, f); … … 6985 6985 { 6986 6986 int yyrc; 6987 USHORT sel = GetFS();6987 USHORT sel = RestoreOS2FS(); 6988 6988 6989 6989 yyrc = _O32_MulDiv(a, b, c); … … 6996 6996 { 6997 6997 int yyrc; 6998 USHORT sel = GetFS();6998 USHORT sel = RestoreOS2FS(); 6999 6999 7000 7000 yyrc = _O32_OffsetClipRgn(a, b, c); … … 7007 7007 { 7008 7008 BOOL yyrc; 7009 USHORT sel = GetFS();7009 USHORT sel = RestoreOS2FS(); 7010 7010 7011 7011 yyrc = _O32_OffsetRect(a, b, c); … … 7018 7018 { 7019 7019 int yyrc; 7020 USHORT sel = GetFS();7020 USHORT sel = RestoreOS2FS(); 7021 7021 7022 7022 yyrc = _O32_OffsetRgn(a, b, c); … … 7029 7029 { 7030 7030 BOOL yyrc; 7031 USHORT sel = GetFS();7031 USHORT sel = RestoreOS2FS(); 7032 7032 7033 7033 yyrc = _O32_OffsetViewportOrgEx(a, b, c, d); … … 7040 7040 { 7041 7041 BOOL yyrc; 7042 USHORT sel = GetFS();7042 USHORT sel = RestoreOS2FS(); 7043 7043 7044 7044 yyrc = _O32_OffsetWindowOrgEx(a, b, c, d); … … 7051 7051 { 7052 7052 BOOL yyrc; 7053 USHORT sel = GetFS();7053 USHORT sel = RestoreOS2FS(); 7054 7054 7055 7055 yyrc = _O32_OpenClipboard(a); … … 7062 7062 { 7063 7063 HANDLE yyrc; 7064 USHORT sel = GetFS();7064 USHORT sel = RestoreOS2FS(); 7065 7065 7066 7066 yyrc = _O32_OpenEvent(a, b, c); … … 7073 7073 { 7074 7074 HFILE yyrc; 7075 USHORT sel = GetFS();7075 USHORT sel = RestoreOS2FS(); 7076 7076 7077 7077 yyrc = _O32_OpenFile(a, b, c); … … 7084 7084 { 7085 7085 HANDLE yyrc; 7086 USHORT sel = GetFS();7086 USHORT sel = RestoreOS2FS(); 7087 7087 7088 7088 yyrc = _O32_OpenMutex(a, b, c); … … 7095 7095 { 7096 7096 HANDLE yyrc; 7097 USHORT sel = GetFS();7097 USHORT sel = RestoreOS2FS(); 7098 7098 7099 7099 yyrc = _O32_OpenProcess(a, b, c); … … 7106 7106 { 7107 7107 HANDLE yyrc; 7108 USHORT sel = GetFS();7108 USHORT sel = RestoreOS2FS(); 7109 7109 7110 7110 yyrc = _O32_OpenSemaphore(a, b, c); … … 7116 7116 inline VOID O32_OutputDebugString(LPCSTR a) 7117 7117 { 7118 USHORT sel = GetFS();7118 USHORT sel = RestoreOS2FS(); 7119 7119 7120 7120 _O32_OutputDebugString(a); … … 7125 7125 { 7126 7126 LONG yyrc; 7127 USHORT sel = GetFS();7127 USHORT sel = RestoreOS2FS(); 7128 7128 7129 7129 yyrc = _O32_PackDDElParam(a, b, c); … … 7136 7136 { 7137 7137 BOOL yyrc; 7138 USHORT sel = GetFS();7138 USHORT sel = RestoreOS2FS(); 7139 7139 7140 7140 yyrc = _O32_PaintRgn(a, b); … … 7147 7147 { 7148 7148 BOOL yyrc; 7149 USHORT sel = GetFS();7149 USHORT sel = RestoreOS2FS(); 7150 7150 7151 7151 yyrc = _O32_PatBlt(a, b, c, d, e, f); … … 7158 7158 { 7159 7159 HRGN yyrc; 7160 USHORT sel = GetFS();7160 USHORT sel = RestoreOS2FS(); 7161 7161 7162 7162 yyrc = _O32_PathToRegion(a); … … 7169 7169 { 7170 7170 BOOL yyrc; 7171 USHORT sel = GetFS();7171 USHORT sel = RestoreOS2FS(); 7172 7172 7173 7173 yyrc = _O32_PeekMessage(a, b, c, d, e); … … 7180 7180 { 7181 7181 BOOL yyrc; 7182 USHORT sel = GetFS();7182 USHORT sel = RestoreOS2FS(); 7183 7183 7184 7184 yyrc = _O32_Pie(a, b, c, d, e, f, g, h, i); … … 7191 7191 { 7192 7192 BOOL yyrc; 7193 USHORT sel = GetFS();7193 USHORT sel = RestoreOS2FS(); 7194 7194 7195 7195 yyrc = _O32_PlayEnhMetaFile(a, b, c); … … 7202 7202 { 7203 7203 BOOL yyrc; 7204 USHORT sel = GetFS();7204 USHORT sel = RestoreOS2FS(); 7205 7205 7206 7206 yyrc = _O32_PlayMetaFile(a, b); … … 7213 7213 { 7214 7214 BOOL yyrc; 7215 USHORT sel = GetFS();7215 USHORT sel = RestoreOS2FS(); 7216 7216 7217 7217 yyrc = _O32_PlayMetaFileRecord(a, b, c, d); … … 7224 7224 { 7225 7225 BOOL yyrc; 7226 USHORT sel = GetFS();7226 USHORT sel = RestoreOS2FS(); 7227 7227 7228 7228 yyrc = _O32_PolyBezier(a, b, c); … … 7235 7235 { 7236 7236 BOOL yyrc; 7237 USHORT sel = GetFS();7237 USHORT sel = RestoreOS2FS(); 7238 7238 7239 7239 yyrc = _O32_PolyBezierTo(a, b, c); … … 7246 7246 { 7247 7247 BOOL yyrc; 7248 USHORT sel = GetFS();7248 USHORT sel = RestoreOS2FS(); 7249 7249 7250 7250 yyrc = _O32_PolyDraw(a, b, c, d); … … 7257 7257 { 7258 7258 BOOL yyrc; 7259 USHORT sel = GetFS();7259 USHORT sel = RestoreOS2FS(); 7260 7260 7261 7261 yyrc = _O32_Polygon(a, b, c); … … 7268 7268 { 7269 7269 BOOL yyrc; 7270 USHORT sel = GetFS();7270 USHORT sel = RestoreOS2FS(); 7271 7271 7272 7272 yyrc = _O32_Polyline(a, b, c); … … 7279 7279 { 7280 7280 BOOL yyrc; 7281 USHORT sel = GetFS();7281 USHORT sel = RestoreOS2FS(); 7282 7282 7283 7283 yyrc = _O32_PolylineTo(a, b, c); … … 7290 7290 { 7291 7291 BOOL yyrc; 7292 USHORT sel = GetFS();7292 USHORT sel = RestoreOS2FS(); 7293 7293 7294 7294 yyrc = _O32_PolyPolygon(a, b, c, d); … … 7301 7301 { 7302 7302 BOOL yyrc; 7303 USHORT sel = GetFS();7303 USHORT sel = RestoreOS2FS(); 7304 7304 7305 7305 yyrc = _O32_PolyPolyline(a, b, c, d); … … 7311 7311 inline VOID O32_PostQuitMessage(int a) 7312 7312 { 7313 USHORT sel = GetFS();7313 USHORT sel = RestoreOS2FS(); 7314 7314 7315 7315 _O32_PostQuitMessage(a); … … 7320 7320 { 7321 7321 BOOL yyrc; 7322 USHORT sel = GetFS();7322 USHORT sel = RestoreOS2FS(); 7323 7323 7324 7324 yyrc = _O32_PostMessage(a, b, c, d); … … 7331 7331 { 7332 7332 BOOL yyrc; 7333 USHORT sel = GetFS();7333 USHORT sel = RestoreOS2FS(); 7334 7334 7335 7335 yyrc = _O32_PostThreadMessage(a, b, c, d); … … 7342 7342 { 7343 7343 BOOL yyrc; 7344 USHORT sel = GetFS();7344 USHORT sel = RestoreOS2FS(); 7345 7345 7346 7346 yyrc = _O32_PtInRect(a, b); … … 7353 7353 { 7354 7354 BOOL yyrc; 7355 USHORT sel = GetFS();7355 USHORT sel = RestoreOS2FS(); 7356 7356 7357 7357 yyrc = _O32_PtInRegion(a, b, c); … … 7364 7364 { 7365 7365 BOOL yyrc; 7366 USHORT sel = GetFS();7366 USHORT sel = RestoreOS2FS(); 7367 7367 7368 7368 yyrc = _O32_PtVisible(a, b, c); … … 7375 7375 { 7376 7376 BOOL yyrc; 7377 USHORT sel = GetFS();7377 USHORT sel = RestoreOS2FS(); 7378 7378 7379 7379 yyrc = _O32_PrintDlg(a); … … 7386 7386 { 7387 7387 BOOL yyrc; 7388 USHORT sel = GetFS();7388 USHORT sel = RestoreOS2FS(); 7389 7389 7390 7390 yyrc = _O32_PulseEvent(a); … … 7397 7397 { 7398 7398 BOOL yyrc; 7399 USHORT sel = GetFS();7399 USHORT sel = RestoreOS2FS(); 7400 7400 7401 7401 yyrc = _O32_ReadFile(a, b, c, d, e); … … 7408 7408 { 7409 7409 UINT yyrc; 7410 USHORT sel = GetFS();7410 USHORT sel = RestoreOS2FS(); 7411 7411 7412 7412 yyrc = _O32_RealizePalette(a); … … 7419 7419 { 7420 7420 BOOL yyrc; 7421 USHORT sel = GetFS();7421 USHORT sel = RestoreOS2FS(); 7422 7422 7423 7423 yyrc = _O32_RectInRegion(a, b); … … 7430 7430 { 7431 7431 BOOL yyrc; 7432 USHORT sel = GetFS();7432 USHORT sel = RestoreOS2FS(); 7433 7433 7434 7434 yyrc = _O32_RectVisible(a, b); … … 7441 7441 { 7442 7442 BOOL yyrc; 7443 USHORT sel = GetFS();7443 USHORT sel = RestoreOS2FS(); 7444 7444 7445 7445 yyrc = _O32_Rectangle(a, b, c, d, e); … … 7452 7452 { 7453 7453 BOOL yyrc; 7454 USHORT sel = GetFS();7454 USHORT sel = RestoreOS2FS(); 7455 7455 7456 7456 yyrc = _O32_RedrawWindow(a, b, c, d); … … 7463 7463 { 7464 7464 LONG yyrc; 7465 USHORT sel = GetFS();7465 USHORT sel = RestoreOS2FS(); 7466 7466 7467 7467 yyrc = _O32_RegCloseKey(a); … … 7474 7474 { 7475 7475 LONG yyrc; 7476 USHORT sel = GetFS();7476 USHORT sel = RestoreOS2FS(); 7477 7477 7478 7478 yyrc = _O32_RegCreateKey(a, b, c); … … 7485 7485 { 7486 7486 LONG yyrc; 7487 USHORT sel = GetFS();7487 USHORT sel = RestoreOS2FS(); 7488 7488 7489 7489 yyrc = _O32_RegCreateKeyEx(a, b, c, d, e, f, g, h, i); … … 7496 7496 { 7497 7497 LONG yyrc; 7498 USHORT sel = GetFS();7498 USHORT sel = RestoreOS2FS(); 7499 7499 7500 7500 yyrc = _O32_RegDeleteKey(a, b); … … 7507 7507 { 7508 7508 LONG yyrc; 7509 USHORT sel = GetFS();7509 USHORT sel = RestoreOS2FS(); 7510 7510 7511 7511 yyrc = _O32_RegDeleteValue(a, b); … … 7518 7518 { 7519 7519 LONG yyrc; 7520 USHORT sel = GetFS();7520 USHORT sel = RestoreOS2FS(); 7521 7521 7522 7522 yyrc = _O32_RegEnumKey(a, b, c, d); … … 7529 7529 { 7530 7530 LONG yyrc; 7531 USHORT sel = GetFS();7531 USHORT sel = RestoreOS2FS(); 7532 7532 7533 7533 yyrc = _O32_RegEnumKeyEx(a, b, c, d, e, f, g, h); … … 7540 7540 { 7541 7541 LONG yyrc; 7542 USHORT sel = GetFS();7542 USHORT sel = RestoreOS2FS(); 7543 7543 7544 7544 yyrc = _O32_RegEnumValue(a, b, c, d, e, f, g, h); … … 7551 7551 { 7552 7552 LONG yyrc; 7553 USHORT sel = GetFS();7553 USHORT sel = RestoreOS2FS(); 7554 7554 7555 7555 yyrc = _O32_RegOpenKey(a, b, c); … … 7562 7562 { 7563 7563 LONG yyrc; 7564 USHORT sel = GetFS();7564 USHORT sel = RestoreOS2FS(); 7565 7565 7566 7566 yyrc = _O32_RegOpenKeyEx(a, b, c, d, e); … … 7573 7573 { 7574 7574 LONG yyrc; 7575 USHORT sel = GetFS();7575 USHORT sel = RestoreOS2FS(); 7576 7576 7577 7577 yyrc = _O32_RegQueryInfoKey(a, b, c, d, e, f, g, h, i, j, k, l); … … 7584 7584 { 7585 7585 LONG yyrc; 7586 USHORT sel = GetFS();7586 USHORT sel = RestoreOS2FS(); 7587 7587 7588 7588 yyrc = _O32_RegQueryValue(a, b, c, d); … … 7595 7595 { 7596 7596 LONG yyrc; 7597 USHORT sel = GetFS();7597 USHORT sel = RestoreOS2FS(); 7598 7598 7599 7599 yyrc = _O32_RegQueryValueEx(a, b, c, d, e, f); … … 7606 7606 { 7607 7607 LONG yyrc; 7608 USHORT sel = GetFS();7608 USHORT sel = RestoreOS2FS(); 7609 7609 7610 7610 yyrc = _O32_RegSetValue(a, b, c, d, e); … … 7617 7617 { 7618 7618 LONG yyrc; 7619 USHORT sel = GetFS();7619 USHORT sel = RestoreOS2FS(); 7620 7620 7621 7621 yyrc = _O32_RegSetValueEx(a, b, c, d, e, f); … … 7628 7628 { 7629 7629 WORD yyrc; 7630 USHORT sel = GetFS();7630 USHORT sel = RestoreOS2FS(); 7631 7631 7632 7632 yyrc = _O32_RegisterClass(a); … … 7639 7639 { 7640 7640 UINT yyrc; 7641 USHORT sel = GetFS();7641 USHORT sel = RestoreOS2FS(); 7642 7642 7643 7643 yyrc = _O32_RegisterClipboardFormat(a); … … 7650 7650 { 7651 7651 UINT yyrc; 7652 USHORT sel = GetFS();7652 USHORT sel = RestoreOS2FS(); 7653 7653 7654 7654 yyrc = _O32_RegisterWindowMessage(a); … … 7661 7661 { 7662 7662 BOOL yyrc; 7663 USHORT sel = GetFS();7663 USHORT sel = RestoreOS2FS(); 7664 7664 7665 7665 yyrc = _O32_ReleaseCapture(); … … 7672 7672 { 7673 7673 int yyrc; 7674 USHORT sel = GetFS();7674 USHORT sel = RestoreOS2FS(); 7675 7675 7676 7676 yyrc = _O32_ReleaseDC(a, b); … … 7683 7683 { 7684 7684 BOOL yyrc; 7685 USHORT sel = GetFS();7685 USHORT sel = RestoreOS2FS(); 7686 7686 7687 7687 yyrc = _O32_ReleaseMutex(a); … … 7694 7694 { 7695 7695 BOOL yyrc; 7696 USHORT sel = GetFS();7696 USHORT sel = RestoreOS2FS(); 7697 7697 7698 7698 yyrc = _O32_ReleaseSemaphore(a, b, c); … … 7705 7705 { 7706 7706 BOOL yyrc; 7707 USHORT sel = GetFS();7707 USHORT sel = RestoreOS2FS(); 7708 7708 7709 7709 yyrc = _O32_RemoveDirectory(a); … … 7716 7716 { 7717 7717 BOOL yyrc; 7718 USHORT sel = GetFS();7718 USHORT sel = RestoreOS2FS(); 7719 7719 7720 7720 yyrc = _O32_RemoveFontResource(a); … … 7727 7727 { 7728 7728 BOOL yyrc; 7729 USHORT sel = GetFS();7729 USHORT sel = RestoreOS2FS(); 7730 7730 7731 7731 yyrc = _O32_RemoveMenu(a, b, c); … … 7738 7738 { 7739 7739 HANDLE yyrc; 7740 USHORT sel = GetFS();7740 USHORT sel = RestoreOS2FS(); 7741 7741 7742 7742 yyrc = _O32_RemoveProp(a, b); … … 7749 7749 { 7750 7750 HWND yyrc; 7751 USHORT sel = GetFS();7751 USHORT sel = RestoreOS2FS(); 7752 7752 7753 7753 yyrc = _O32_ReplaceText(a); … … 7760 7760 { 7761 7761 BOOL yyrc; 7762 USHORT sel = GetFS();7762 USHORT sel = RestoreOS2FS(); 7763 7763 7764 7764 yyrc = _O32_ReplyMessage(a); … … 7771 7771 { 7772 7772 BOOL yyrc; 7773 USHORT sel = GetFS();7773 USHORT sel = RestoreOS2FS(); 7774 7774 7775 7775 yyrc = _O32_ResetDC(a, b); … … 7782 7782 { 7783 7783 BOOL yyrc; 7784 USHORT sel = GetFS();7784 USHORT sel = RestoreOS2FS(); 7785 7785 7786 7786 yyrc = _O32_ResetEvent(a); … … 7793 7793 { 7794 7794 BOOL yyrc; 7795 USHORT sel = GetFS();7795 USHORT sel = RestoreOS2FS(); 7796 7796 7797 7797 yyrc = _O32_ResizePalette(a, b); … … 7804 7804 { 7805 7805 BOOL yyrc; 7806 USHORT sel = GetFS();7806 USHORT sel = RestoreOS2FS(); 7807 7807 7808 7808 yyrc = _O32_RestoreDC(a, b); … … 7815 7815 { 7816 7816 DWORD yyrc; 7817 USHORT sel = GetFS();7817 USHORT sel = RestoreOS2FS(); 7818 7818 7819 7819 yyrc = _O32_ResumeThread(a); … … 7826 7826 { 7827 7827 LONG yyrc; 7828 USHORT sel = GetFS();7828 USHORT sel = RestoreOS2FS(); 7829 7829 7830 7830 yyrc = _O32_ReuseDDElParam(a, b, c, d, e); … … 7837 7837 { 7838 7838 BOOL yyrc; 7839 USHORT sel = GetFS();7839 USHORT sel = RestoreOS2FS(); 7840 7840 7841 7841 yyrc = _O32_RoundRect(a, b, c, d, e, f, g); … … 7848 7848 { 7849 7849 int yyrc; 7850 USHORT sel = GetFS();7850 USHORT sel = RestoreOS2FS(); 7851 7851 7852 7852 yyrc = _O32_SaveDC(a); … … 7859 7859 { 7860 7860 BOOL yyrc; 7861 USHORT sel = GetFS();7861 USHORT sel = RestoreOS2FS(); 7862 7862 7863 7863 yyrc = _O32_ScaleViewportExtEx(a, b, c, d, e, f); … … 7870 7870 { 7871 7871 BOOL yyrc; 7872 USHORT sel = GetFS();7872 USHORT sel = RestoreOS2FS(); 7873 7873 7874 7874 yyrc = _O32_ScaleWindowExtEx(a, b, c, d, e, f); … … 7881 7881 { 7882 7882 BOOL yyrc; 7883 USHORT sel = GetFS();7883 USHORT sel = RestoreOS2FS(); 7884 7884 7885 7885 yyrc = _O32_ScreenToClient(a, b); … … 7892 7892 { 7893 7893 BOOL yyrc; 7894 USHORT sel = GetFS();7894 USHORT sel = RestoreOS2FS(); 7895 7895 7896 7896 yyrc = _O32_ScrollDC(a, b, c, d, e, f, g); … … 7903 7903 { 7904 7904 BOOL yyrc; 7905 USHORT sel = GetFS();7905 USHORT sel = RestoreOS2FS(); 7906 7906 7907 7907 yyrc = _O32_ScrollWindow(a, b, c, d, e); … … 7914 7914 { 7915 7915 BOOL yyrc; 7916 USHORT sel = GetFS();7916 USHORT sel = RestoreOS2FS(); 7917 7917 7918 7918 yyrc = _O32_ScrollWindowEx(a, b, c, d, e, f, g, h); … … 7925 7925 { 7926 7926 DWORD yyrc; 7927 USHORT sel = GetFS();7927 USHORT sel = RestoreOS2FS(); 7928 7928 7929 7929 yyrc = _O32_SearchPath(a, b, c, d, e, f); … … 7936 7936 { 7937 7937 int yyrc; 7938 USHORT sel = GetFS();7938 USHORT sel = RestoreOS2FS(); 7939 7939 7940 7940 yyrc = _O32_SelectClipRgn(a, b); … … 7947 7947 { 7948 7948 HGDIOBJ yyrc; 7949 USHORT sel = GetFS();7949 USHORT sel = RestoreOS2FS(); 7950 7950 7951 7951 yyrc = _O32_SelectObject(a, b); … … 7958 7958 { 7959 7959 HPALETTE yyrc; 7960 USHORT sel = GetFS();7960 USHORT sel = RestoreOS2FS(); 7961 7961 7962 7962 yyrc = _O32_SelectPalette(a, b, c); … … 7969 7969 { 7970 7970 LONG yyrc; 7971 USHORT sel = GetFS();7971 USHORT sel = RestoreOS2FS(); 7972 7972 7973 7973 yyrc = _O32_SendDlgItemMessage(a, b, c, d, e); … … 7980 7980 { 7981 7981 LRESULT yyrc; 7982 USHORT sel = GetFS();7982 USHORT sel = RestoreOS2FS(); 7983 7983 7984 7984 yyrc = _O32_SendMessage(a, b, c, d); … … 7991 7991 { 7992 7992 HWND yyrc; 7993 USHORT sel = GetFS();7993 USHORT sel = RestoreOS2FS(); 7994 7994 7995 7995 yyrc = _O32_SetActiveWindow(a); … … 8002 8002 { 8003 8003 int yyrc; 8004 USHORT sel = GetFS();8004 USHORT sel = RestoreOS2FS(); 8005 8005 8006 8006 yyrc = _O32_SetArcDirection(a, b); … … 8013 8013 { 8014 8014 LONG yyrc; 8015 USHORT sel = GetFS();8015 USHORT sel = RestoreOS2FS(); 8016 8016 8017 8017 yyrc = _O32_SetBitmapBits(a, b, c); … … 8024 8024 { 8025 8025 BOOL yyrc; 8026 USHORT sel = GetFS();8026 USHORT sel = RestoreOS2FS(); 8027 8027 8028 8028 yyrc = _O32_SetBitmapDimensionEx(a, b, c, d); … … 8035 8035 { 8036 8036 COLORREF yyrc; 8037 USHORT sel = GetFS();8037 USHORT sel = RestoreOS2FS(); 8038 8038 8039 8039 yyrc = _O32_SetBkColor(a, b); … … 8046 8046 { 8047 8047 int yyrc; 8048 USHORT sel = GetFS();8048 USHORT sel = RestoreOS2FS(); 8049 8049 8050 8050 yyrc = _O32_SetBkMode(a, b); … … 8057 8057 { 8058 8058 LONG yyrc; 8059 USHORT sel = GetFS();8059 USHORT sel = RestoreOS2FS(); 8060 8060 8061 8061 yyrc = _O32_SetBoundsRect(a, b, c); … … 8068 8068 { 8069 8069 BOOL yyrc; 8070 USHORT sel = GetFS();8070 USHORT sel = RestoreOS2FS(); 8071 8071 8072 8072 yyrc = _O32_SetBrushOrgEx(a, b, c, d); … … 8079 8079 { 8080 8080 HWND yyrc; 8081 USHORT sel = GetFS();8081 USHORT sel = RestoreOS2FS(); 8082 8082 8083 8083 yyrc = _O32_SetCapture(a); … … 8090 8090 { 8091 8091 BOOL yyrc; 8092 USHORT sel = GetFS();8092 USHORT sel = RestoreOS2FS(); 8093 8093 8094 8094 yyrc = _O32_SetCaretBlinkTime(a); … … 8101 8101 { 8102 8102 BOOL yyrc; 8103 USHORT sel = GetFS();8103 USHORT sel = RestoreOS2FS(); 8104 8104 8105 8105 yyrc = _O32_SetCaretPos(a, b); … … 8112 8112 { 8113 8113 DWORD yyrc; 8114 USHORT sel = GetFS();8114 USHORT sel = RestoreOS2FS(); 8115 8115 8116 8116 yyrc = _O32_SetClassLong(a, b, c); … … 8123 8123 { 8124 8124 WORD yyrc; 8125 USHORT sel = GetFS();8125 USHORT sel = RestoreOS2FS(); 8126 8126 8127 8127 yyrc = _O32_SetClassWord(a, b, c); … … 8134 8134 { 8135 8135 HANDLE yyrc; 8136 USHORT sel = GetFS();8136 USHORT sel = RestoreOS2FS(); 8137 8137 8138 8138 yyrc = _O32_SetClipboardData(a, b); … … 8145 8145 { 8146 8146 HWND yyrc; 8147 USHORT sel = GetFS();8147 USHORT sel = RestoreOS2FS(); 8148 8148 8149 8149 yyrc = _O32_SetClipboardViewer(a); … … 8156 8156 { 8157 8157 BOOL yyrc; 8158 USHORT sel = GetFS();8158 USHORT sel = RestoreOS2FS(); 8159 8159 8160 8160 yyrc = _O32_SetCurrentDirectory(a); … … 8167 8167 { 8168 8168 HCURSOR yyrc; 8169 USHORT sel = GetFS();8169 USHORT sel = RestoreOS2FS(); 8170 8170 8171 8171 yyrc = _O32_SetCursor(a); … … 8178 8178 { 8179 8179 BOOL yyrc; 8180 USHORT sel = GetFS();8180 USHORT sel = RestoreOS2FS(); 8181 8181 8182 8182 yyrc = _O32_SetCursorPos(a, b); … … 8189 8189 { 8190 8190 int yyrc; 8191 USHORT sel = GetFS();8191 USHORT sel = RestoreOS2FS(); 8192 8192 8193 8193 yyrc = _O32_SetDIBits(a, b, c, d, e, f, g); … … 8200 8200 { 8201 8201 int yyrc; 8202 USHORT sel = GetFS();8202 USHORT sel = RestoreOS2FS(); 8203 8203 8204 8204 yyrc = _O32_SetDIBitsToDevice(a, b, c, d, e, f, g, h, i, j, k, l); … … 8211 8211 { 8212 8212 BOOL yyrc; 8213 USHORT sel = GetFS();8213 USHORT sel = RestoreOS2FS(); 8214 8214 8215 8215 yyrc = _O32_SetDlgItemInt(a, b, c, d); … … 8222 8222 { 8223 8223 BOOL yyrc; 8224 USHORT sel = GetFS();8224 USHORT sel = RestoreOS2FS(); 8225 8225 8226 8226 yyrc = _O32_SetDlgItemText(a, b, c); … … 8233 8233 { 8234 8234 BOOL yyrc; 8235 USHORT sel = GetFS();8235 USHORT sel = RestoreOS2FS(); 8236 8236 8237 8237 yyrc = _O32_SetDoubleClickTime(a); … … 8244 8244 { 8245 8245 BOOL yyrc; 8246 USHORT sel = GetFS();8246 USHORT sel = RestoreOS2FS(); 8247 8247 8248 8248 yyrc = _O32_SetEndOfFile(a); … … 8255 8255 { 8256 8256 HENHMETAFILE yyrc; 8257 USHORT sel = GetFS();8257 USHORT sel = RestoreOS2FS(); 8258 8258 8259 8259 yyrc = _O32_SetEnhMetaFileBits(a, b); … … 8266 8266 { 8267 8267 BOOL yyrc; 8268 USHORT sel = GetFS();8268 USHORT sel = RestoreOS2FS(); 8269 8269 8270 8270 yyrc = _O32_SetEnvironmentVariable(a, b); … … 8277 8277 { 8278 8278 BOOL yyrc; 8279 USHORT sel = GetFS();8279 USHORT sel = RestoreOS2FS(); 8280 8280 8281 8281 yyrc = _O32_SetEvent(a); … … 8288 8288 { 8289 8289 BOOL yyrc; 8290 USHORT sel = GetFS();8290 USHORT sel = RestoreOS2FS(); 8291 8291 8292 8292 yyrc = _O32_SetFileAttributes(a, b); … … 8299 8299 { 8300 8300 DWORD yyrc; 8301 USHORT sel = GetFS();8301 USHORT sel = RestoreOS2FS(); 8302 8302 8303 8303 yyrc = _O32_SetFilePointer(a, b, c, d); … … 8310 8310 { 8311 8311 BOOL yyrc; 8312 USHORT sel = GetFS();8312 USHORT sel = RestoreOS2FS(); 8313 8313 8314 8314 yyrc = _O32_SetFileTime(a, b, c, d); … … 8321 8321 { 8322 8322 HWND yyrc; 8323 USHORT sel = GetFS();8323 USHORT sel = RestoreOS2FS(); 8324 8324 8325 8325 yyrc = _O32_SetFocus(a); … … 8332 8332 { 8333 8333 BOOL yyrc; 8334 USHORT sel = GetFS();8334 USHORT sel = RestoreOS2FS(); 8335 8335 8336 8336 yyrc = _O32_SetForegroundWindow(a); … … 8343 8343 { 8344 8344 int yyrc; 8345 USHORT sel = GetFS();8345 USHORT sel = RestoreOS2FS(); 8346 8346 8347 8347 yyrc = _O32_SetGraphicsMode(a, b); … … 8354 8354 { 8355 8355 UINT yyrc; 8356 USHORT sel = GetFS();8356 USHORT sel = RestoreOS2FS(); 8357 8357 8358 8358 yyrc = _O32_SetHandleCount(a); … … 8364 8364 inline VOID O32_SetLastError(DWORD a) 8365 8365 { 8366 USHORT sel = GetFS();8366 USHORT sel = RestoreOS2FS(); 8367 8367 8368 8368 _O32_SetLastError(a); … … 8373 8373 { 8374 8374 BOOL yyrc; 8375 USHORT sel = GetFS();8375 USHORT sel = RestoreOS2FS(); 8376 8376 8377 8377 yyrc = _O32_SetLocalTime(a); … … 8384 8384 { 8385 8385 int yyrc; 8386 USHORT sel = GetFS();8386 USHORT sel = RestoreOS2FS(); 8387 8387 8388 8388 yyrc = _O32_SetMapMode(a, b); … … 8395 8395 { 8396 8396 DWORD yyrc; 8397 USHORT sel = GetFS();8397 USHORT sel = RestoreOS2FS(); 8398 8398 8399 8399 yyrc = _O32_SetMapperFlags(a, b); … … 8406 8406 { 8407 8407 BOOL yyrc; 8408 USHORT sel = GetFS();8408 USHORT sel = RestoreOS2FS(); 8409 8409 8410 8410 yyrc = _O32_SetMenu(a, b); … … 8417 8417 { 8418 8418 BOOL yyrc; 8419 USHORT sel = GetFS();8419 USHORT sel = RestoreOS2FS(); 8420 8420 8421 8421 yyrc = _O32_SetMenuItemBitmaps(a, b, c, d, e); … … 8428 8428 { 8429 8429 HMETAFILE yyrc; 8430 USHORT sel = GetFS();8430 USHORT sel = RestoreOS2FS(); 8431 8431 8432 8432 yyrc = _O32_SetMetaFileBitsEx(a, b); … … 8439 8439 { 8440 8440 BOOL yyrc; 8441 USHORT sel = GetFS();8441 USHORT sel = RestoreOS2FS(); 8442 8442 8443 8443 yyrc = _O32_SetMiterLimit(a, b, c); … … 8450 8450 { 8451 8451 UINT yyrc; 8452 USHORT sel = GetFS();8452 USHORT sel = RestoreOS2FS(); 8453 8453 8454 8454 yyrc = _O32_SetPaletteEntries(a, b, c, d); … … 8461 8461 { 8462 8462 HWND yyrc; 8463 USHORT sel = GetFS();8463 USHORT sel = RestoreOS2FS(); 8464 8464 8465 8465 yyrc = _O32_SetParent(a, b); … … 8472 8472 { 8473 8473 COLORREF yyrc; 8474 USHORT sel = GetFS();8474 USHORT sel = RestoreOS2FS(); 8475 8475 8476 8476 yyrc = _O32_SetPixel(a, b, c, d); … … 8483 8483 { 8484 8484 int yyrc; 8485 USHORT sel = GetFS();8485 USHORT sel = RestoreOS2FS(); 8486 8486 8487 8487 yyrc = _O32_SetPolyFillMode(a, b); … … 8494 8494 { 8495 8495 BOOL yyrc; 8496 USHORT sel = GetFS();8496 USHORT sel = RestoreOS2FS(); 8497 8497 8498 8498 yyrc = _O32_SetPriorityClass(a, b); … … 8505 8505 { 8506 8506 BOOL yyrc; 8507 USHORT sel = GetFS();8507 USHORT sel = RestoreOS2FS(); 8508 8508 8509 8509 yyrc = _O32_SetProp(a, b, c); … … 8516 8516 { 8517 8517 BOOL yyrc; 8518 USHORT sel = GetFS();8518 USHORT sel = RestoreOS2FS(); 8519 8519 8520 8520 yyrc = _O32_SetRect(a, b, c, d, e); … … 8527 8527 { 8528 8528 BOOL yyrc; 8529 USHORT sel = GetFS();8529 USHORT sel = RestoreOS2FS(); 8530 8530 8531 8531 yyrc = _O32_SetRectEmpty(a); … … 8538 8538 { 8539 8539 BOOL yyrc; 8540 USHORT sel = GetFS();8540 USHORT sel = RestoreOS2FS(); 8541 8541 8542 8542 yyrc = _O32_SetRectRgn(a, b, c, d, e); … … 8549 8549 { 8550 8550 int yyrc; 8551 USHORT sel = GetFS();8551 USHORT sel = RestoreOS2FS(); 8552 8552 8553 8553 yyrc = _O32_SetROP2(a, b); … … 8560 8560 { 8561 8561 int yyrc; 8562 USHORT sel = GetFS();8562 USHORT sel = RestoreOS2FS(); 8563 8563 8564 8564 yyrc = _O32_SetScrollPos(a, b, c, d); … … 8571 8571 { 8572 8572 BOOL yyrc; 8573 USHORT sel = GetFS();8573 USHORT sel = RestoreOS2FS(); 8574 8574 8575 8575 yyrc = _O32_SetScrollRange(a, b, c, d, e); … … 8582 8582 { 8583 8583 BOOL yyrc; 8584 USHORT sel = GetFS();8584 USHORT sel = RestoreOS2FS(); 8585 8585 8586 8586 yyrc = _O32_SetStdHandle(a, b); … … 8593 8593 { 8594 8594 int yyrc; 8595 USHORT sel = GetFS();8595 USHORT sel = RestoreOS2FS(); 8596 8596 8597 8597 yyrc = _O32_SetStretchBltMode(a, b); … … 8604 8604 { 8605 8605 UINT yyrc; 8606 USHORT sel = GetFS();8606 USHORT sel = RestoreOS2FS(); 8607 8607 8608 8608 yyrc = _O32_SetSysColors(a, b, c); … … 8615 8615 { 8616 8616 BOOL yyrc; 8617 USHORT sel = GetFS();8617 USHORT sel = RestoreOS2FS(); 8618 8618 8619 8619 yyrc = _O32_SetSystemTime(a); … … 8626 8626 { 8627 8627 BOOL yyrc; 8628 USHORT sel = GetFS();8628 USHORT sel = RestoreOS2FS(); 8629 8629 8630 8630 yyrc = _O32_SetTimeZoneInformation(a); … … 8637 8637 { 8638 8638 UINT yyrc; 8639 USHORT sel = GetFS();8639 USHORT sel = RestoreOS2FS(); 8640 8640 8641 8641 yyrc = _O32_SetTextAlign(a, b); … … 8648 8648 { 8649 8649 int yyrc; 8650 USHORT sel = GetFS();8650 USHORT sel = RestoreOS2FS(); 8651 8651 8652 8652 yyrc = _O32_SetTextCharacterExtra(a, b); … … 8659 8659 { 8660 8660 COLORREF yyrc; 8661 USHORT sel = GetFS();8661 USHORT sel = RestoreOS2FS(); 8662 8662 8663 8663 yyrc = _O32_SetTextColor(a, b); … … 8670 8670 { 8671 8671 BOOL yyrc; 8672 USHORT sel = GetFS();8672 USHORT sel = RestoreOS2FS(); 8673 8673 8674 8674 yyrc = _O32_SetTextJustification(a, b, c); … … 8681 8681 { 8682 8682 BOOL yyrc; 8683 USHORT sel = GetFS();8683 USHORT sel = RestoreOS2FS(); 8684 8684 8685 8685 yyrc = _O32_SetThreadPriority(a, b); … … 8692 8692 { 8693 8693 UINT yyrc; 8694 USHORT sel = GetFS();8694 USHORT sel = RestoreOS2FS(); 8695 8695 8696 8696 yyrc = _O32_SetTimer(a, b, c, d); … … 8703 8703 { 8704 8704 BOOL yyrc; 8705 USHORT sel = GetFS();8705 USHORT sel = RestoreOS2FS(); 8706 8706 8707 8707 yyrc = _O32_SetViewportExtEx(a, b, c, d); … … 8714 8714 { 8715 8715 BOOL yyrc; 8716 USHORT sel = GetFS();8716 USHORT sel = RestoreOS2FS(); 8717 8717 8718 8718 yyrc = _O32_SetViewportOrgEx(a, b, c, d); … … 8725 8725 { 8726 8726 BOOL yyrc; 8727 USHORT sel = GetFS();8727 USHORT sel = RestoreOS2FS(); 8728 8728 8729 8729 yyrc = _O32_SetVolumeLabel(a, b); … … 8736 8736 { 8737 8737 BOOL yyrc; 8738 USHORT sel = GetFS();8738 USHORT sel = RestoreOS2FS(); 8739 8739 8740 8740 yyrc = _O32_SetWindowExtEx(a, b, c, d); … … 8747 8747 { 8748 8748 LONG yyrc; 8749 USHORT sel = GetFS();8749 USHORT sel = RestoreOS2FS(); 8750 8750 8751 8751 yyrc = _O32_SetWindowLong(a, b, c); … … 8758 8758 { 8759 8759 BOOL yyrc; 8760 USHORT sel = GetFS();8760 USHORT sel = RestoreOS2FS(); 8761 8761 8762 8762 yyrc = _O32_SetWindowOrgEx(a, b, c, d); … … 8769 8769 { 8770 8770 BOOL yyrc; 8771 USHORT sel = GetFS();8771 USHORT sel = RestoreOS2FS(); 8772 8772 8773 8773 yyrc = _O32_SetWindowPlacement(a, b); … … 8780 8780 { 8781 8781 BOOL yyrc; 8782 USHORT sel = GetFS();8782 USHORT sel = RestoreOS2FS(); 8783 8783 8784 8784 yyrc = _O32_SetWindowPos(a, b, c, d, e, f, g); … … 8791 8791 { 8792 8792 HHOOK yyrc; 8793 USHORT sel = GetFS();8793 USHORT sel = RestoreOS2FS(); 8794 8794 8795 8795 yyrc = _O32_SetWindowsHookEx(a, b, c, d); … … 8802 8802 { 8803 8803 BOOL yyrc; 8804 USHORT sel = GetFS();8804 USHORT sel = RestoreOS2FS(); 8805 8805 8806 8806 yyrc = _O32_SetWindowText(a, b); … … 8813 8813 { 8814 8814 WORD yyrc; 8815 USHORT sel = GetFS();8815 USHORT sel = RestoreOS2FS(); 8816 8816 8817 8817 yyrc = _O32_SetWindowWord(a, b, c); … … 8824 8824 { 8825 8825 HENHMETAFILE yyrc; 8826 USHORT sel = GetFS();8826 USHORT sel = RestoreOS2FS(); 8827 8827 8828 8828 yyrc = _O32_SetWinMetaFileBits(a, b, c, d); … … 8835 8835 { 8836 8836 BOOL yyrc; 8837 USHORT sel = GetFS();8837 USHORT sel = RestoreOS2FS(); 8838 8838 8839 8839 yyrc = _O32_SetWorldTransform(a, b); … … 8846 8846 { 8847 8847 BOOL yyrc; 8848 USHORT sel = GetFS();8848 USHORT sel = RestoreOS2FS(); 8849 8849 8850 8850 yyrc = _O32_ShowCaret(a); … … 8857 8857 { 8858 8858 int yyrc; 8859 USHORT sel = GetFS();8859 USHORT sel = RestoreOS2FS(); 8860 8860 8861 8861 yyrc = _O32_ShowCursor(a); … … 8868 8868 { 8869 8869 BOOL yyrc; 8870 USHORT sel = GetFS();8870 USHORT sel = RestoreOS2FS(); 8871 8871 8872 8872 yyrc = _O32_ShowOwnedPopups(a, b); … … 8879 8879 { 8880 8880 BOOL yyrc; 8881 USHORT sel = GetFS();8881 USHORT sel = RestoreOS2FS(); 8882 8882 8883 8883 yyrc = _O32_ShowScrollBar(a, b, c); … … 8890 8890 { 8891 8891 BOOL yyrc; 8892 USHORT sel = GetFS();8892 USHORT sel = RestoreOS2FS(); 8893 8893 8894 8894 yyrc = _O32_ShowWindow(a, b); … … 8901 8901 { 8902 8902 DWORD yyrc; 8903 USHORT sel = GetFS();8903 USHORT sel = RestoreOS2FS(); 8904 8904 8905 8905 yyrc = _O32_SizeofResource(a, b); … … 8911 8911 inline VOID O32_Sleep(DWORD a) 8912 8912 { 8913 USHORT sel = GetFS();8913 USHORT sel = RestoreOS2FS(); 8914 8914 8915 8915 _O32_Sleep(a); … … 8920 8920 { 8921 8921 int yyrc; 8922 USHORT sel = GetFS();8922 USHORT sel = RestoreOS2FS(); 8923 8923 8924 8924 yyrc = _O32_StartDoc(a, b); … … 8931 8931 { 8932 8932 int yyrc; 8933 USHORT sel = GetFS();8933 USHORT sel = RestoreOS2FS(); 8934 8934 8935 8935 yyrc = _O32_StartPage(a); … … 8942 8942 { 8943 8943 int yyrc; 8944 USHORT sel = GetFS();8944 USHORT sel = RestoreOS2FS(); 8945 8945 8946 8946 yyrc = _O32_StretchDIBits(a, b, c, d, e, f, g, h, i, j, k, l, m); … … 8953 8953 { 8954 8954 BOOL yyrc; 8955 USHORT sel = GetFS();8955 USHORT sel = RestoreOS2FS(); 8956 8956 8957 8957 yyrc = _O32_StretchBlt(a, b, c, d, e, f, g, h, i, j, k); … … 8964 8964 { 8965 8965 BOOL yyrc; 8966 USHORT sel = GetFS();8966 USHORT sel = RestoreOS2FS(); 8967 8967 8968 8968 yyrc = _O32_StrokeAndFillPath(a); … … 8975 8975 { 8976 8976 BOOL yyrc; 8977 USHORT sel = GetFS();8977 USHORT sel = RestoreOS2FS(); 8978 8978 8979 8979 yyrc = _O32_StrokePath(a); … … 8986 8986 { 8987 8987 BOOL yyrc; 8988 USHORT sel = GetFS();8988 USHORT sel = RestoreOS2FS(); 8989 8989 8990 8990 yyrc = _O32_SubtractRect(a, b, c); … … 8997 8997 { 8998 8998 DWORD yyrc; 8999 USHORT sel = GetFS();8999 USHORT sel = RestoreOS2FS(); 9000 9000 9001 9001 yyrc = _O32_SuspendThread(a); … … 9008 9008 { 9009 9009 BOOL yyrc; 9010 USHORT sel = GetFS();9010 USHORT sel = RestoreOS2FS(); 9011 9011 9012 9012 yyrc = _O32_SwapMouseButton(a); … … 9019 9019 { 9020 9020 UINT yyrc; 9021 USHORT sel = GetFS();9021 USHORT sel = RestoreOS2FS(); 9022 9022 9023 9023 yyrc = _O32_SystemParametersInfo(a, b, c, d); … … 9030 9030 { 9031 9031 BOOL yyrc; 9032 USHORT sel = GetFS();9032 USHORT sel = RestoreOS2FS(); 9033 9033 9034 9034 yyrc = _O32_SystemTimeToFileTime(a, b); … … 9041 9041 { 9042 9042 BOOL yyrc; 9043 USHORT sel = GetFS();9043 USHORT sel = RestoreOS2FS(); 9044 9044 9045 9045 yyrc = _O32_SystemTimeToTzSpecificLocalTime(a, b, c); … … 9052 9052 { 9053 9053 LONG yyrc; 9054 USHORT sel = GetFS();9054 USHORT sel = RestoreOS2FS(); 9055 9055 9056 9056 yyrc = _O32_TabbedTextOut(a, b, c, d, e, f, g, h); … … 9063 9063 { 9064 9064 BOOL yyrc; 9065 USHORT sel = GetFS();9065 USHORT sel = RestoreOS2FS(); 9066 9066 9067 9067 yyrc = _O32_TerminateProcess(a, b); … … 9074 9074 { 9075 9075 BOOL yyrc; 9076 USHORT sel = GetFS();9076 USHORT sel = RestoreOS2FS(); 9077 9077 9078 9078 yyrc = _O32_TerminateThread(a, b); … … 9085 9085 { 9086 9086 BOOL yyrc; 9087 USHORT sel = GetFS();9087 USHORT sel = RestoreOS2FS(); 9088 9088 9089 9089 yyrc = _O32_TextOut(a, b, c, d, e); … … 9096 9096 { 9097 9097 DWORD yyrc; 9098 USHORT sel = GetFS();9098 USHORT sel = RestoreOS2FS(); 9099 9099 9100 9100 yyrc = _O32_TlsAlloc(); … … 9107 9107 { 9108 9108 BOOL yyrc; 9109 USHORT sel = GetFS();9109 USHORT sel = RestoreOS2FS(); 9110 9110 9111 9111 yyrc = _O32_TlsFree(a); … … 9118 9118 { 9119 9119 PVOID yyrc; 9120 USHORT sel = GetFS();9120 USHORT sel = RestoreOS2FS(); 9121 9121 9122 9122 yyrc = _O32_TlsGetValue(a); … … 9129 9129 { 9130 9130 BOOL yyrc; 9131 USHORT sel = GetFS();9131 USHORT sel = RestoreOS2FS(); 9132 9132 9133 9133 yyrc = _O32_TlsSetValue(a, b); … … 9140 9140 { 9141 9141 BOOL yyrc; 9142 USHORT sel = GetFS();9142 USHORT sel = RestoreOS2FS(); 9143 9143 9144 9144 yyrc = _O32_TrackPopupMenu(a, b, c, d, e, f, g); … … 9151 9151 { 9152 9152 int yyrc; 9153 USHORT sel = GetFS();9153 USHORT sel = RestoreOS2FS(); 9154 9154 9155 9155 yyrc = _O32_TranslateAccelerator(a, b, c); … … 9162 9162 { 9163 9163 BOOL yyrc; 9164 USHORT sel = GetFS();9164 USHORT sel = RestoreOS2FS(); 9165 9165 9166 9166 yyrc = _O32_TranslateMDISysAccel(a, b); … … 9173 9173 { 9174 9174 BOOL yyrc; 9175 USHORT sel = GetFS();9175 USHORT sel = RestoreOS2FS(); 9176 9176 9177 9177 yyrc = _O32_TranslateMessage(a); … … 9184 9184 { 9185 9185 BOOL yyrc; 9186 USHORT sel = GetFS();9186 USHORT sel = RestoreOS2FS(); 9187 9187 9188 9188 yyrc = _O32_UnhookWindowsHookEx(a); … … 9195 9195 { 9196 9196 BOOL yyrc; 9197 USHORT sel = GetFS();9197 USHORT sel = RestoreOS2FS(); 9198 9198 9199 9199 yyrc = _O32_UnionRect(a, b, c); … … 9206 9206 { 9207 9207 BOOL yyrc; 9208 USHORT sel = GetFS();9208 USHORT sel = RestoreOS2FS(); 9209 9209 9210 9210 yyrc = _O32_UnlockFile(a, b, c, d, e); … … 9217 9217 { 9218 9218 BOOL yyrc; 9219 USHORT sel = GetFS();9219 USHORT sel = RestoreOS2FS(); 9220 9220 9221 9221 yyrc = _O32_UnpackDDElParam(a, b, c, d); … … 9228 9228 { 9229 9229 BOOL yyrc; 9230 USHORT sel = GetFS();9230 USHORT sel = RestoreOS2FS(); 9231 9231 9232 9232 yyrc = _O32_UnrealizeObject(a); … … 9239 9239 { 9240 9240 BOOL yyrc; 9241 USHORT sel = GetFS();9241 USHORT sel = RestoreOS2FS(); 9242 9242 9243 9243 yyrc = _O32_UnregisterClass(a, b); … … 9250 9250 { 9251 9251 BOOL yyrc; 9252 USHORT sel = GetFS();9252 USHORT sel = RestoreOS2FS(); 9253 9253 9254 9254 yyrc = _O32_UpdateWindow(a); … … 9261 9261 { 9262 9262 BOOL yyrc; 9263 USHORT sel = GetFS();9263 USHORT sel = RestoreOS2FS(); 9264 9264 9265 9265 yyrc = _O32_ValidateRect(a, b); … … 9272 9272 { 9273 9273 BOOL yyrc; 9274 USHORT sel = GetFS();9274 USHORT sel = RestoreOS2FS(); 9275 9275 9276 9276 yyrc = _O32_ValidateRgn(a, b); … … 9283 9283 { 9284 9284 SHORT yyrc; 9285 USHORT sel = GetFS();9285 USHORT sel = RestoreOS2FS(); 9286 9286 9287 9287 yyrc = _O32_VkKeyScan(a); … … 9294 9294 { 9295 9295 DWORD yyrc; 9296 USHORT sel = GetFS();9296 USHORT sel = RestoreOS2FS(); 9297 9297 9298 9298 yyrc = _O32_WaitForMultipleObjects(a, b, c, d); … … 9305 9305 { 9306 9306 DWORD yyrc; 9307 USHORT sel = GetFS();9307 USHORT sel = RestoreOS2FS(); 9308 9308 9309 9309 yyrc = _O32_WaitForSingleObject(a, b); … … 9316 9316 { 9317 9317 BOOL yyrc; 9318 USHORT sel = GetFS();9318 USHORT sel = RestoreOS2FS(); 9319 9319 9320 9320 yyrc = _O32_WaitMessage(); … … 9327 9327 { 9328 9328 BOOL yyrc; 9329 USHORT sel = GetFS();9329 USHORT sel = RestoreOS2FS(); 9330 9330 9331 9331 yyrc = _O32_WidenPath(a); … … 9338 9338 { 9339 9339 UINT yyrc; 9340 USHORT sel = GetFS();9340 USHORT sel = RestoreOS2FS(); 9341 9341 9342 9342 yyrc = _O32_WinExec(a, b); … … 9349 9349 { 9350 9350 BOOL yyrc; 9351 USHORT sel = GetFS();9351 USHORT sel = RestoreOS2FS(); 9352 9352 9353 9353 yyrc = _O32_WinHelp(a, b, c, d); … … 9360 9360 { 9361 9361 HWND yyrc; 9362 USHORT sel = GetFS();9362 USHORT sel = RestoreOS2FS(); 9363 9363 9364 9364 yyrc = _O32_WindowFromPoint(a); … … 9371 9371 { 9372 9372 HWND yyrc; 9373 USHORT sel = GetFS();9373 USHORT sel = RestoreOS2FS(); 9374 9374 9375 9375 yyrc = _O32_WindowFromDC(a); … … 9382 9382 { 9383 9383 BOOL yyrc; 9384 USHORT sel = GetFS();9384 USHORT sel = RestoreOS2FS(); 9385 9385 9386 9386 yyrc = _O32_WriteFile(a, b, c, d, e); … … 9393 9393 { 9394 9394 BOOL yyrc; 9395 USHORT sel = GetFS();9395 USHORT sel = RestoreOS2FS(); 9396 9396 9397 9397 yyrc = _O32_WritePrivateProfileString(a, b, c, d); … … 9404 9404 { 9405 9405 BOOL yyrc; 9406 USHORT sel = GetFS();9406 USHORT sel = RestoreOS2FS(); 9407 9407 9408 9408 yyrc = _O32_WriteProfileString(a, b, c); … … 9414 9414 inline VOID O32_ZeroMemory(PVOID a, DWORD b) 9415 9415 { 9416 USHORT sel = GetFS();9416 USHORT sel = RestoreOS2FS(); 9417 9417 9418 9418 _O32_ZeroMemory(a, b); … … 9423 9423 { 9424 9424 HFILE yyrc; 9425 USHORT sel = GetFS();9425 USHORT sel = RestoreOS2FS(); 9426 9426 9427 9427 yyrc = _O32__lclose(a); … … 9434 9434 { 9435 9435 HFILE yyrc; 9436 USHORT sel = GetFS();9436 USHORT sel = RestoreOS2FS(); 9437 9437 9438 9438 yyrc = _O32__lcreat(a, b); … … 9445 9445 { 9446 9446 HFILE yyrc; 9447 USHORT sel = GetFS();9447 USHORT sel = RestoreOS2FS(); 9448 9448 9449 9449 yyrc = _O32__lopen(a, b); … … 9456 9456 { 9457 9457 UINT yyrc; 9458 USHORT sel = GetFS();9458 USHORT sel = RestoreOS2FS(); 9459 9459 9460 9460 yyrc = _O32__lread(a, b, c); … … 9467 9467 { 9468 9468 LONG yyrc; 9469 USHORT sel = GetFS();9469 USHORT sel = RestoreOS2FS(); 9470 9470 9471 9471 yyrc = _O32__llseek(a, b, c); … … 9478 9478 { 9479 9479 UINT yyrc; 9480 USHORT sel = GetFS();9480 USHORT sel = RestoreOS2FS(); 9481 9481 9482 9482 yyrc = _O32__lwrite(a, b, c); … … 9489 9489 { 9490 9490 DWORD yyrc; 9491 USHORT sel = GetFS();9491 USHORT sel = RestoreOS2FS(); 9492 9492 9493 9493 yyrc = _O32_timeGetSystemTime(a, b); … … 9500 9500 { 9501 9501 DWORD yyrc; 9502 USHORT sel = GetFS();9502 USHORT sel = RestoreOS2FS(); 9503 9503 9504 9504 yyrc = _O32_timeGetTime(); … … 9511 9511 { 9512 9512 int yyrc; 9513 USHORT sel = GetFS();9513 USHORT sel = RestoreOS2FS(); 9514 9514 9515 9515 yyrc = _O32_wvsprintf(a, b, c); … … 9522 9522 { 9523 9523 LPSTR yyrc; 9524 USHORT sel = GetFS();9524 USHORT sel = RestoreOS2FS(); 9525 9525 9526 9526 yyrc = _O32_CharNext(a); … … 9533 9533 { 9534 9534 LPSTR yyrc; 9535 USHORT sel = GetFS();9535 USHORT sel = RestoreOS2FS(); 9536 9536 9537 9537 yyrc = _O32_CharPrev(a, b); … … 9544 9544 { 9545 9545 HWND yyrc; 9546 USHORT sel = GetFS();9546 USHORT sel = RestoreOS2FS(); 9547 9547 9548 9548 yyrc = _O32_GetDesktopWindow(); … … 9555 9555 { 9556 9556 BOOL yyrc; 9557 USHORT sel = GetFS();9557 USHORT sel = RestoreOS2FS(); 9558 9558 9559 9559 yyrc = _O32_CharToOem(a, b); … … 9566 9566 { 9567 9567 BOOL yyrc; 9568 USHORT sel = GetFS();9568 USHORT sel = RestoreOS2FS(); 9569 9569 9570 9570 yyrc = _O32_OemToChar(a, b); … … 9577 9577 { 9578 9578 BOOL yyrc; 9579 USHORT sel = GetFS();9579 USHORT sel = RestoreOS2FS(); 9580 9580 9581 9581 yyrc = _O32_CharToOemBuff(a, b, c); … … 9588 9588 { 9589 9589 BOOL yyrc; 9590 USHORT sel = GetFS();9590 USHORT sel = RestoreOS2FS(); 9591 9591 9592 9592 yyrc = _O32_OemToCharBuff(a, b, c); … … 9599 9599 { 9600 9600 BOOL yyrc; 9601 USHORT sel = GetFS();9601 USHORT sel = RestoreOS2FS(); 9602 9602 9603 9603 yyrc = _O32_IsBadHugeReadPtr(a, b); … … 9610 9610 { 9611 9611 BOOL yyrc; 9612 USHORT sel = GetFS();9612 USHORT sel = RestoreOS2FS(); 9613 9613 9614 9614 yyrc = _O32_IsBadHugeWritePtr(a, b); … … 9621 9621 { 9622 9622 BOOL yyrc; 9623 USHORT sel = GetFS();9623 USHORT sel = RestoreOS2FS(); 9624 9624 9625 9625 yyrc = _O32_FloodFill(a, b, c, d); … … 9632 9632 { 9633 9633 BOOL yyrc; 9634 USHORT sel = GetFS();9634 USHORT sel = RestoreOS2FS(); 9635 9635 9636 9636 yyrc = _O32_IsCharAlpha(a); … … 9643 9643 { 9644 9644 BOOL yyrc; 9645 USHORT sel = GetFS();9645 USHORT sel = RestoreOS2FS(); 9646 9646 9647 9647 yyrc = _O32_IsCharAlphaNumeric(a); … … 9654 9654 { 9655 9655 BOOL yyrc; 9656 USHORT sel = GetFS();9656 USHORT sel = RestoreOS2FS(); 9657 9657 9658 9658 yyrc = _O32_IsCharLower(a); … … 9665 9665 { 9666 9666 BOOL yyrc; 9667 USHORT sel = GetFS();9667 USHORT sel = RestoreOS2FS(); 9668 9668 9669 9669 yyrc = _O32_IsCharUpper(a); … … 9676 9676 { 9677 9677 LPSTR yyrc; 9678 USHORT sel = GetFS();9678 USHORT sel = RestoreOS2FS(); 9679 9679 9680 9680 yyrc = _O32_lstrcat(a, b); … … 9687 9687 { 9688 9688 int yyrc; 9689 USHORT sel = GetFS();9689 USHORT sel = RestoreOS2FS(); 9690 9690 9691 9691 yyrc = _O32_lstrcmp(a, b); … … 9698 9698 { 9699 9699 int yyrc; 9700 USHORT sel = GetFS();9700 USHORT sel = RestoreOS2FS(); 9701 9701 9702 9702 yyrc = _O32_lstrcmpi(a, b); … … 9709 9709 { 9710 9710 LPSTR yyrc; 9711 USHORT sel = GetFS();9711 USHORT sel = RestoreOS2FS(); 9712 9712 9713 9713 yyrc = _O32_lstrcpy(a, b); … … 9720 9720 { 9721 9721 int yyrc; 9722 USHORT sel = GetFS();9722 USHORT sel = RestoreOS2FS(); 9723 9723 9724 9724 yyrc = _O32_lstrlen(a); … … 9731 9731 { 9732 9732 int yyrc; 9733 USHORT sel = GetFS();9733 USHORT sel = RestoreOS2FS(); 9734 9734 9735 9735 yyrc = _O32_WinCallWinMain(a, b, c, d); … … 9742 9742 { 9743 9743 BOOL yyrc; 9744 USHORT sel = GetFS();9744 USHORT sel = RestoreOS2FS(); 9745 9745 9746 9746 yyrc = _O32_WinTranslateDevicePoints(a, b, c, d, e); … … 9753 9753 { 9754 9754 BOOL yyrc; 9755 USHORT sel = GetFS();9755 USHORT sel = RestoreOS2FS(); 9756 9756 9757 9757 yyrc = _O32_WinTranslateDeviceRects(a, b, c, d, e); … … 9764 9764 { 9765 9765 ULONG yyrc; 9766 USHORT sel = GetFS();9766 USHORT sel = RestoreOS2FS(); 9767 9767 9768 9768 yyrc = _O32_WinTranslateGraphicsObjectHandle(a, b, c); … … 9775 9775 { 9776 9776 ULONG yyrc; 9777 USHORT sel = GetFS();9777 USHORT sel = RestoreOS2FS(); 9778 9778 9779 9779 yyrc = _O32_WinTranslateMnemonicString(a, b, c, d); … … 9786 9786 { 9787 9787 DWORD yyrc; 9788 USHORT sel = GetFS();9788 USHORT sel = RestoreOS2FS(); 9789 9789 9790 9790 yyrc = _O32_WinQueryTranslateMode(); … … 9797 9797 { 9798 9798 BOOL yyrc; 9799 USHORT sel = GetFS();9799 USHORT sel = RestoreOS2FS(); 9800 9800 9801 9801 yyrc = _O32_WinSetTranslateMode(a); -
trunk/include/os2sel.h
r94 r223 1 /* $Id: os2sel.h,v 1. 2 1999-06-10 16:21:48 achimhaExp $ */1 /* $Id: os2sel.h,v 1.3 1999-06-26 18:24:22 sandervl Exp $ */ 2 2 /* 3 3 * … … 9 9 10 10 USHORT _System GetFS(); 11 USHORT _System RestoreOS2FS(); 11 12 void _System SetFS(USHORT selector); 12 13 -
trunk/include/os2wrap.h
r148 r223 1 /* $Id: os2wrap.h,v 1. 5 1999-06-21 18:19:04 phallerExp $ */1 /* $Id: os2wrap.h,v 1.6 1999-06-26 18:24:22 sandervl Exp $ */ 2 2 #ifndef __OS2WRAP_H__ 3 3 #define __OS2WRAP_H__ … … 11 11 { 12 12 ULONG yyrc; 13 USHORT sel = GetFS();13 USHORT sel = RestoreOS2FS(); 14 14 15 15 yyrc = DosAllocMem(a, b, c); … … 25 25 { 26 26 ULONG yyrc; 27 USHORT sel = GetFS();27 USHORT sel = RestoreOS2FS(); 28 28 29 29 yyrc = DosAllocSharedMem(a, b, c, d); … … 39 39 { 40 40 ULONG yyrc; 41 USHORT sel = GetFS();41 USHORT sel = RestoreOS2FS(); 42 42 43 43 yyrc = DosFreeMem(a); … … 53 53 { 54 54 ULONG yyrc; 55 USHORT sel = GetFS();55 USHORT sel = RestoreOS2FS(); 56 56 57 57 yyrc = DosGetNamedSharedMem(a, b, c); … … 67 67 { 68 68 ULONG yyrc; 69 USHORT sel = GetFS();69 USHORT sel = RestoreOS2FS(); 70 70 71 71 yyrc = DosGetSharedMem(a, b); … … 81 81 { 82 82 ULONG yyrc; 83 USHORT sel = GetFS();83 USHORT sel = RestoreOS2FS(); 84 84 85 85 yyrc = DosGiveSharedMem(a, b, c); … … 95 95 { 96 96 ULONG yyrc; 97 USHORT sel = GetFS();97 USHORT sel = RestoreOS2FS(); 98 98 99 99 yyrc = DosQueryMem(a, b, c); … … 109 109 { 110 110 ULONG yyrc; 111 USHORT sel = GetFS();111 USHORT sel = RestoreOS2FS(); 112 112 113 113 yyrc = DosSetMem(a, b, c); … … 123 123 { 124 124 ULONG yyrc; 125 USHORT sel = GetFS();125 USHORT sel = RestoreOS2FS(); 126 126 127 127 yyrc = DosSubAllocMem(a, b, c); … … 137 137 { 138 138 ULONG yyrc; 139 USHORT sel = GetFS();139 USHORT sel = RestoreOS2FS(); 140 140 141 141 yyrc = DosSubFreeMem(a, b, c); … … 151 151 { 152 152 ULONG yyrc; 153 USHORT sel = GetFS();153 USHORT sel = RestoreOS2FS(); 154 154 155 155 yyrc = DosSubSetMem(a, b, c); … … 165 165 { 166 166 ULONG yyrc; 167 USHORT sel = GetFS();167 USHORT sel = RestoreOS2FS(); 168 168 169 169 yyrc = DosSubUnsetMem(a); … … 181 181 { 182 182 ULONG yyrc; 183 USHORT sel = GetFS();183 USHORT sel = RestoreOS2FS(); 184 184 185 185 yyrc = DosCancelLockRequest(a, b); … … 195 195 { 196 196 ULONG yyrc; 197 USHORT sel = GetFS();197 USHORT sel = RestoreOS2FS(); 198 198 199 199 yyrc = DosClose(a); … … 209 209 { 210 210 ULONG yyrc; 211 USHORT sel = GetFS();211 USHORT sel = RestoreOS2FS(); 212 212 213 213 yyrc = DosCopy(a, b, c); … … 223 223 { 224 224 ULONG yyrc; 225 USHORT sel = GetFS();225 USHORT sel = RestoreOS2FS(); 226 226 227 227 yyrc = DosCreateDir(a, b); … … 237 237 { 238 238 ULONG yyrc; 239 USHORT sel = GetFS();239 USHORT sel = RestoreOS2FS(); 240 240 241 241 yyrc = DosDelete(a); … … 251 251 { 252 252 ULONG yyrc; 253 USHORT sel = GetFS();253 USHORT sel = RestoreOS2FS(); 254 254 255 255 yyrc = DosDeleteDir(a); … … 265 265 { 266 266 ULONG yyrc; 267 USHORT sel = GetFS();267 USHORT sel = RestoreOS2FS(); 268 268 269 269 yyrc = DosDupHandle(a, b); … … 279 279 { 280 280 ULONG yyrc; 281 USHORT sel = GetFS();281 USHORT sel = RestoreOS2FS(); 282 282 283 283 yyrc = DosEditName(a, b, c, d, e); … … 293 293 { 294 294 ULONG yyrc; 295 USHORT sel = GetFS();295 USHORT sel = RestoreOS2FS(); 296 296 297 297 yyrc = DosEnumAttribute(a, b, c, d, e, f, g); … … 307 307 { 308 308 ULONG yyrc; 309 USHORT sel = GetFS();309 USHORT sel = RestoreOS2FS(); 310 310 311 311 yyrc = DosFindClose(a); … … 321 321 { 322 322 ULONG yyrc; 323 USHORT sel = GetFS();323 USHORT sel = RestoreOS2FS(); 324 324 325 325 yyrc = DosFindFirst(a, b, c, d, e, f, g); … … 335 335 { 336 336 ULONG yyrc; 337 USHORT sel = GetFS();337 USHORT sel = RestoreOS2FS(); 338 338 339 339 yyrc = DosFindNext(a, b, c, d); … … 349 349 { 350 350 ULONG yyrc; 351 USHORT sel = GetFS();351 USHORT sel = RestoreOS2FS(); 352 352 353 353 yyrc = DosForceDelete(a); … … 363 363 { 364 364 ULONG yyrc; 365 USHORT sel = GetFS();365 USHORT sel = RestoreOS2FS(); 366 366 367 367 yyrc = DosFSAttach(a, b, c, d, e); … … 377 377 { 378 378 ULONG yyrc; 379 USHORT sel = GetFS();379 USHORT sel = RestoreOS2FS(); 380 380 381 381 yyrc = DosFSCtl(a, b, c, d, e, f, g, h, i, j); … … 391 391 { 392 392 ULONG yyrc; 393 USHORT sel = GetFS();393 USHORT sel = RestoreOS2FS(); 394 394 395 395 yyrc = DosMove(a, b); … … 405 405 { 406 406 ULONG yyrc; 407 USHORT sel = GetFS();407 USHORT sel = RestoreOS2FS(); 408 408 409 409 yyrc = DosOpen(a, b, c, d, e, f, g, h); … … 419 419 { 420 420 ULONG yyrc; 421 USHORT sel = GetFS();421 USHORT sel = RestoreOS2FS(); 422 422 423 423 yyrc = DosProtectClose(a, b); … … 433 433 { 434 434 ULONG yyrc; 435 USHORT sel = GetFS();435 USHORT sel = RestoreOS2FS(); 436 436 437 437 yyrc = DosProtectEnumAttribute(a, b, c, d, e, f, g, h); … … 447 447 { 448 448 ULONG yyrc; 449 USHORT sel = GetFS();449 USHORT sel = RestoreOS2FS(); 450 450 451 451 yyrc = DosProtectOpen(a, b, c, d, e, f, g, h, i); … … 461 461 { 462 462 ULONG yyrc; 463 USHORT sel = GetFS();463 USHORT sel = RestoreOS2FS(); 464 464 465 465 yyrc = DosProtectQueryFHState(a, b, c); … … 475 475 { 476 476 ULONG yyrc; 477 USHORT sel = GetFS();477 USHORT sel = RestoreOS2FS(); 478 478 479 479 yyrc = DosProtectQueryFileInfo(a, b, c, d, e); … … 489 489 { 490 490 ULONG yyrc; 491 USHORT sel = GetFS();491 USHORT sel = RestoreOS2FS(); 492 492 493 493 yyrc = DosProtectRead(a, b, c, d, e); … … 503 503 { 504 504 ULONG yyrc; 505 USHORT sel = GetFS();505 USHORT sel = RestoreOS2FS(); 506 506 507 507 yyrc = DosProtectSetFHState(a, b, c); … … 517 517 { 518 518 ULONG yyrc; 519 USHORT sel = GetFS();519 USHORT sel = RestoreOS2FS(); 520 520 521 521 yyrc = DosProtectSetFileInfo(a, b, c, d, e); … … 531 531 { 532 532 ULONG yyrc; 533 USHORT sel = GetFS();533 USHORT sel = RestoreOS2FS(); 534 534 535 535 yyrc = DosProtectSetFileLocks(a, b, c, d, e, f); … … 545 545 { 546 546 ULONG yyrc; 547 USHORT sel = GetFS();547 USHORT sel = RestoreOS2FS(); 548 548 549 549 yyrc = DosProtectSetFilePtr(a, b, c, d, e); … … 559 559 { 560 560 ULONG yyrc; 561 USHORT sel = GetFS();561 USHORT sel = RestoreOS2FS(); 562 562 563 563 yyrc = DosProtectSetFileSize(a, b, c); … … 573 573 { 574 574 ULONG yyrc; 575 USHORT sel = GetFS();575 USHORT sel = RestoreOS2FS(); 576 576 577 577 yyrc = DosProtectWrite(a, b, c, d, e); … … 587 587 { 588 588 ULONG yyrc; 589 USHORT sel = GetFS();589 USHORT sel = RestoreOS2FS(); 590 590 591 591 yyrc = DosQueryCurrentDir(a, b, c); … … 601 601 { 602 602 ULONG yyrc; 603 USHORT sel = GetFS();603 USHORT sel = RestoreOS2FS(); 604 604 605 605 yyrc = DosQueryCurrentDisk(a, b); … … 615 615 { 616 616 ULONG yyrc; 617 USHORT sel = GetFS();617 USHORT sel = RestoreOS2FS(); 618 618 619 619 yyrc = DosQueryFHState(a, b); … … 629 629 { 630 630 ULONG yyrc; 631 USHORT sel = GetFS();631 USHORT sel = RestoreOS2FS(); 632 632 633 633 yyrc = DosQueryFileInfo(a, b, c, d); … … 643 643 { 644 644 ULONG yyrc; 645 USHORT sel = GetFS();645 USHORT sel = RestoreOS2FS(); 646 646 647 647 yyrc = DosQueryFSAttach(a, b, c, d, e); … … 657 657 { 658 658 ULONG yyrc; 659 USHORT sel = GetFS();659 USHORT sel = RestoreOS2FS(); 660 660 661 661 yyrc = DosQueryFSInfo(a, b, c, d); … … 671 671 { 672 672 ULONG yyrc; 673 USHORT sel = GetFS();673 USHORT sel = RestoreOS2FS(); 674 674 675 675 yyrc = DosQueryHType(a, b, c); … … 685 685 { 686 686 ULONG yyrc; 687 USHORT sel = GetFS();687 USHORT sel = RestoreOS2FS(); 688 688 689 689 yyrc = DosQueryPathInfo(a, b, c, d); … … 699 699 { 700 700 ULONG yyrc; 701 USHORT sel = GetFS();701 USHORT sel = RestoreOS2FS(); 702 702 703 703 yyrc = DosQueryVerify(a); … … 713 713 { 714 714 ULONG yyrc; 715 USHORT sel = GetFS();715 USHORT sel = RestoreOS2FS(); 716 716 717 717 yyrc = DosRead(a, b, c, d); … … 727 727 { 728 728 ULONG yyrc; 729 USHORT sel = GetFS();729 USHORT sel = RestoreOS2FS(); 730 730 731 731 yyrc = DosResetBuffer(a); … … 741 741 { 742 742 ULONG yyrc; 743 USHORT sel = GetFS();743 USHORT sel = RestoreOS2FS(); 744 744 745 745 yyrc = DosSetCurrentDir(a); … … 755 755 { 756 756 ULONG yyrc; 757 USHORT sel = GetFS();757 USHORT sel = RestoreOS2FS(); 758 758 759 759 yyrc = DosSetDefaultDisk(a); … … 769 769 { 770 770 ULONG yyrc; 771 USHORT sel = GetFS();771 USHORT sel = RestoreOS2FS(); 772 772 773 773 yyrc = DosSetFHState(a, b); … … 783 783 { 784 784 ULONG yyrc; 785 USHORT sel = GetFS();785 USHORT sel = RestoreOS2FS(); 786 786 787 787 yyrc = DosSetFileInfo(a, b, c, d); … … 797 797 { 798 798 ULONG yyrc; 799 USHORT sel = GetFS();799 USHORT sel = RestoreOS2FS(); 800 800 801 801 yyrc = DosSetFileLocks(a, b, c, d, e); … … 811 811 { 812 812 ULONG yyrc; 813 USHORT sel = GetFS();813 USHORT sel = RestoreOS2FS(); 814 814 815 815 yyrc = DosSetFilePtr(a, b, c, d); … … 825 825 { 826 826 ULONG yyrc; 827 USHORT sel = GetFS();827 USHORT sel = RestoreOS2FS(); 828 828 829 829 yyrc = DosSetFileSize(a, b); … … 839 839 { 840 840 ULONG yyrc; 841 USHORT sel = GetFS();841 USHORT sel = RestoreOS2FS(); 842 842 843 843 yyrc = DosSetFSInfo(a, b, c, d); … … 853 853 { 854 854 ULONG yyrc; 855 USHORT sel = GetFS();855 USHORT sel = RestoreOS2FS(); 856 856 857 857 yyrc = DosSetMaxFH(a); … … 867 867 { 868 868 ULONG yyrc; 869 USHORT sel = GetFS();869 USHORT sel = RestoreOS2FS(); 870 870 871 871 yyrc = DosSetPathInfo(a, b, c, d, e); … … 881 881 { 882 882 ULONG yyrc; 883 USHORT sel = GetFS();883 USHORT sel = RestoreOS2FS(); 884 884 885 885 yyrc = DosSetRelMaxFH(a, b); … … 895 895 { 896 896 ULONG yyrc; 897 USHORT sel = GetFS();897 USHORT sel = RestoreOS2FS(); 898 898 899 899 yyrc = DosSetVerify(a); … … 909 909 { 910 910 ULONG yyrc; 911 USHORT sel = GetFS();911 USHORT sel = RestoreOS2FS(); 912 912 913 913 yyrc = DosShutdown(a); … … 923 923 { 924 924 ULONG yyrc; 925 USHORT sel = GetFS();925 USHORT sel = RestoreOS2FS(); 926 926 927 927 yyrc = DosWrite(a, b, c, d); … … 939 939 { 940 940 ULONG yyrc; 941 USHORT sel = GetFS();941 USHORT sel = RestoreOS2FS(); 942 942 943 943 yyrc = DosSearchPath(a, b, c, d, e); … … 955 955 { 956 956 ULONG yyrc; 957 USHORT sel = GetFS();957 USHORT sel = RestoreOS2FS(); 958 958 959 959 yyrc = DosDevConfig(a, b); … … 969 969 { 970 970 ULONG yyrc; 971 USHORT sel = GetFS();971 USHORT sel = RestoreOS2FS(); 972 972 973 973 yyrc = DosDevIOCtl(a, b, c, d, e, f, g, h, i); … … 983 983 { 984 984 ULONG yyrc; 985 USHORT sel = GetFS();985 USHORT sel = RestoreOS2FS(); 986 986 987 987 yyrc = DosPhysicalDisk(a, b, c, d, e); … … 999 999 { 1000 1000 ULONG yyrc; 1001 USHORT sel = GetFS();1001 USHORT sel = RestoreOS2FS(); 1002 1002 1003 1003 yyrc = DosMapCase(a, b, c); … … 1013 1013 { 1014 1014 ULONG yyrc; 1015 USHORT sel = GetFS();1015 USHORT sel = RestoreOS2FS(); 1016 1016 1017 1017 yyrc = DosQueryCollate(a, b, c, d); … … 1027 1027 { 1028 1028 ULONG yyrc; 1029 USHORT sel = GetFS();1029 USHORT sel = RestoreOS2FS(); 1030 1030 1031 1031 yyrc = DosQueryCp(a, b, c); … … 1041 1041 { 1042 1042 ULONG yyrc; 1043 USHORT sel = GetFS();1043 USHORT sel = RestoreOS2FS(); 1044 1044 1045 1045 yyrc = DosQueryCtryInfo(a, b, c, d); … … 1055 1055 { 1056 1056 ULONG yyrc; 1057 USHORT sel = GetFS();1057 USHORT sel = RestoreOS2FS(); 1058 1058 1059 1059 yyrc = DosQueryDBCSEnv(a, b, c); … … 1069 1069 { 1070 1070 ULONG yyrc; 1071 USHORT sel = GetFS();1071 USHORT sel = RestoreOS2FS(); 1072 1072 1073 1073 yyrc = DosSetProcessCp(a); … … 1085 1085 { 1086 1086 ULONG yyrc; 1087 USHORT sel = GetFS();1087 USHORT sel = RestoreOS2FS(); 1088 1088 1089 1089 yyrc = DosFreeModule(a); … … 1099 1099 { 1100 1100 ULONG yyrc; 1101 USHORT sel = GetFS();1101 USHORT sel = RestoreOS2FS(); 1102 1102 1103 1103 yyrc = DosLoadModule(a, b, c, d); … … 1113 1113 { 1114 1114 ULONG yyrc; 1115 USHORT sel = GetFS();1115 USHORT sel = RestoreOS2FS(); 1116 1116 1117 1117 yyrc = DosQueryModuleHandle(a, b); … … 1127 1127 { 1128 1128 ULONG yyrc; 1129 USHORT sel = GetFS();1129 USHORT sel = RestoreOS2FS(); 1130 1130 1131 1131 yyrc = DosQueryModuleName(a, b, c); … … 1141 1141 { 1142 1142 ULONG yyrc; 1143 USHORT sel = GetFS();1143 USHORT sel = RestoreOS2FS(); 1144 1144 1145 1145 yyrc = DosQueryProcAddr(a, b, c, d); … … 1155 1155 { 1156 1156 ULONG yyrc; 1157 USHORT sel = GetFS();1157 USHORT sel = RestoreOS2FS(); 1158 1158 1159 1159 yyrc = DosQueryProcType(a, b, c, d); … … 1171 1171 { 1172 1172 ULONG yyrc; 1173 USHORT sel = GetFS();1173 USHORT sel = RestoreOS2FS(); 1174 1174 1175 1175 yyrc = DosFreeResource(a); … … 1185 1185 { 1186 1186 ULONG yyrc; 1187 USHORT sel = GetFS();1187 USHORT sel = RestoreOS2FS(); 1188 1188 1189 1189 yyrc = DosGetResource(a, b, c, d); … … 1199 1199 { 1200 1200 ULONG yyrc; 1201 USHORT sel = GetFS();1201 USHORT sel = RestoreOS2FS(); 1202 1202 1203 1203 yyrc = DosQueryResourceSize(a, b, c, d); … … 1215 1215 { 1216 1216 ULONG yyrc; 1217 USHORT sel = GetFS();1217 USHORT sel = RestoreOS2FS(); 1218 1218 1219 1219 yyrc = DosBeep(a, b); … … 1228 1228 inline VOID _DosExit(ULONG a, ULONG b) 1229 1229 { 1230 USHORT sel = GetFS();1230 USHORT sel = RestoreOS2FS(); 1231 1231 1232 1232 DosExit(a, b); … … 1240 1240 { 1241 1241 ULONG yyrc; 1242 USHORT sel = GetFS();1242 USHORT sel = RestoreOS2FS(); 1243 1243 1244 1244 yyrc = DosAllocThreadLocalMemory(a, b); … … 1254 1254 { 1255 1255 ULONG yyrc; 1256 USHORT sel = GetFS();1256 USHORT sel = RestoreOS2FS(); 1257 1257 1258 1258 yyrc = DosCreateThread(a, b, c, d, e); … … 1268 1268 { 1269 1269 ULONG yyrc; 1270 USHORT sel = GetFS();1270 USHORT sel = RestoreOS2FS(); 1271 1271 1272 1272 yyrc = DosEnterCritSec(); … … 1282 1282 { 1283 1283 ULONG yyrc; 1284 USHORT sel = GetFS();1284 USHORT sel = RestoreOS2FS(); 1285 1285 1286 1286 yyrc = DosExecPgm(a, b, c, d, e, f, g); … … 1296 1296 { 1297 1297 ULONG yyrc; 1298 USHORT sel = GetFS();1298 USHORT sel = RestoreOS2FS(); 1299 1299 1300 1300 yyrc = DosExitCritSec(); … … 1310 1310 { 1311 1311 ULONG yyrc; 1312 USHORT sel = GetFS();1312 USHORT sel = RestoreOS2FS(); 1313 1313 1314 1314 yyrc = DosExitList(a, b); … … 1324 1324 { 1325 1325 ULONG yyrc; 1326 USHORT sel = GetFS();1326 USHORT sel = RestoreOS2FS(); 1327 1327 1328 1328 yyrc = DosFreeThreadLocalMemory(a); … … 1338 1338 { 1339 1339 ULONG yyrc; 1340 USHORT sel = GetFS();1340 USHORT sel = RestoreOS2FS(); 1341 1341 1342 1342 yyrc = DosGetInfoBlocks(a, b); … … 1352 1352 { 1353 1353 ULONG yyrc; 1354 USHORT sel = GetFS();1354 USHORT sel = RestoreOS2FS(); 1355 1355 1356 1356 yyrc = DosKillProcess(a, b); … … 1366 1366 { 1367 1367 ULONG yyrc; 1368 USHORT sel = GetFS();1368 USHORT sel = RestoreOS2FS(); 1369 1369 1370 1370 yyrc = DosKillThread(a); … … 1380 1380 { 1381 1381 ULONG yyrc; 1382 USHORT sel = GetFS();1382 USHORT sel = RestoreOS2FS(); 1383 1383 1384 1384 yyrc = DosResumeThread(a); … … 1394 1394 { 1395 1395 ULONG yyrc; 1396 USHORT sel = GetFS();1396 USHORT sel = RestoreOS2FS(); 1397 1397 1398 1398 yyrc = DosSetPriority(a, b, c, d); … … 1408 1408 { 1409 1409 ULONG yyrc; 1410 USHORT sel = GetFS();1410 USHORT sel = RestoreOS2FS(); 1411 1411 1412 1412 yyrc = DosSleep(a); … … 1422 1422 { 1423 1423 ULONG yyrc; 1424 USHORT sel = GetFS();1424 USHORT sel = RestoreOS2FS(); 1425 1425 1426 1426 yyrc = DosSuspendThread(a); … … 1436 1436 { 1437 1437 ULONG yyrc; 1438 USHORT sel = GetFS();1438 USHORT sel = RestoreOS2FS(); 1439 1439 1440 1440 yyrc = DosWaitChild(a, b, c, d, e); … … 1450 1450 { 1451 1451 ULONG yyrc; 1452 USHORT sel = GetFS();1452 USHORT sel = RestoreOS2FS(); 1453 1453 1454 1454 yyrc = DosWaitThread(a, b); … … 1466 1466 { 1467 1467 ULONG yyrc; 1468 USHORT sel = GetFS();1468 USHORT sel = RestoreOS2FS(); 1469 1469 1470 1470 yyrc = DosQueryAppType(a, b); … … 1480 1480 { 1481 1481 ULONG yyrc; 1482 USHORT sel = GetFS();1482 USHORT sel = RestoreOS2FS(); 1483 1483 1484 1484 yyrc = DosSelectSession(a); … … 1494 1494 { 1495 1495 ULONG yyrc; 1496 USHORT sel = GetFS();1496 USHORT sel = RestoreOS2FS(); 1497 1497 1498 1498 yyrc = DosSetSession(a, b); … … 1508 1508 { 1509 1509 ULONG yyrc; 1510 USHORT sel = GetFS();1510 USHORT sel = RestoreOS2FS(); 1511 1511 1512 1512 yyrc = DosStartSession(a, b, c); … … 1522 1522 { 1523 1523 ULONG yyrc; 1524 USHORT sel = GetFS();1524 USHORT sel = RestoreOS2FS(); 1525 1525 1526 1526 yyrc = DosStopSession(a, b); … … 1538 1538 { 1539 1539 ULONG yyrc; 1540 USHORT sel = GetFS();1540 USHORT sel = RestoreOS2FS(); 1541 1541 1542 1542 yyrc = DosCloseEventSem(a); … … 1552 1552 { 1553 1553 ULONG yyrc; 1554 USHORT sel = GetFS();1554 USHORT sel = RestoreOS2FS(); 1555 1555 1556 1556 yyrc = DosCreateEventSem(a, b, c, d); … … 1566 1566 { 1567 1567 ULONG yyrc; 1568 USHORT sel = GetFS();1568 USHORT sel = RestoreOS2FS(); 1569 1569 1570 1570 yyrc = DosOpenEventSem(a, b); … … 1580 1580 { 1581 1581 ULONG yyrc; 1582 USHORT sel = GetFS();1582 USHORT sel = RestoreOS2FS(); 1583 1583 1584 1584 yyrc = DosPostEventSem(a); … … 1594 1594 { 1595 1595 ULONG yyrc; 1596 USHORT sel = GetFS();1596 USHORT sel = RestoreOS2FS(); 1597 1597 1598 1598 yyrc = DosQueryEventSem(a, b); … … 1608 1608 { 1609 1609 ULONG yyrc; 1610 USHORT sel = GetFS();1610 USHORT sel = RestoreOS2FS(); 1611 1611 1612 1612 yyrc = DosResetEventSem(a, b); … … 1622 1622 { 1623 1623 ULONG yyrc; 1624 USHORT sel = GetFS();1624 USHORT sel = RestoreOS2FS(); 1625 1625 1626 1626 yyrc = DosWaitEventSem(a, b); … … 1636 1636 { 1637 1637 ULONG yyrc; 1638 USHORT sel = GetFS();1638 USHORT sel = RestoreOS2FS(); 1639 1639 1640 1640 yyrc = DosCloseMutexSem(a); … … 1650 1650 { 1651 1651 ULONG yyrc; 1652 USHORT sel = GetFS();1652 USHORT sel = RestoreOS2FS(); 1653 1653 1654 1654 yyrc = DosCreateMutexSem(a, b, c, d); … … 1664 1664 { 1665 1665 ULONG yyrc; 1666 USHORT sel = GetFS();1666 USHORT sel = RestoreOS2FS(); 1667 1667 1668 1668 yyrc = DosOpenMutexSem(a, b); … … 1678 1678 { 1679 1679 ULONG yyrc; 1680 USHORT sel = GetFS();1680 USHORT sel = RestoreOS2FS(); 1681 1681 1682 1682 yyrc = DosQueryMutexSem(a, b, c, d); … … 1692 1692 { 1693 1693 ULONG yyrc; 1694 USHORT sel = GetFS();1694 USHORT sel = RestoreOS2FS(); 1695 1695 1696 1696 yyrc = DosReleaseMutexSem(a); … … 1706 1706 { 1707 1707 ULONG yyrc; 1708 USHORT sel = GetFS();1708 USHORT sel = RestoreOS2FS(); 1709 1709 1710 1710 yyrc = DosRequestMutexSem(a, b); … … 1720 1720 { 1721 1721 ULONG yyrc; 1722 USHORT sel = GetFS();1722 USHORT sel = RestoreOS2FS(); 1723 1723 1724 1724 yyrc = DosAddMuxWaitSem(a, b); … … 1734 1734 { 1735 1735 ULONG yyrc; 1736 USHORT sel = GetFS();1736 USHORT sel = RestoreOS2FS(); 1737 1737 1738 1738 yyrc = DosCloseMuxWaitSem(a); … … 1748 1748 { 1749 1749 ULONG yyrc; 1750 USHORT sel = GetFS();1750 USHORT sel = RestoreOS2FS(); 1751 1751 1752 1752 yyrc = DosCreateMuxWaitSem(a, b, c, d, e); … … 1762 1762 { 1763 1763 ULONG yyrc; 1764 USHORT sel = GetFS();1764 USHORT sel = RestoreOS2FS(); 1765 1765 1766 1766 yyrc = DosDeleteMuxWaitSem(a, b); … … 1776 1776 { 1777 1777 ULONG yyrc; 1778 USHORT sel = GetFS();1778 USHORT sel = RestoreOS2FS(); 1779 1779 1780 1780 yyrc = DosOpenMuxWaitSem(a, b); … … 1790 1790 { 1791 1791 ULONG yyrc; 1792 USHORT sel = GetFS();1792 USHORT sel = RestoreOS2FS(); 1793 1793 1794 1794 yyrc = DosQueryMuxWaitSem(a, b, c, d); … … 1804 1804 { 1805 1805 ULONG yyrc; 1806 USHORT sel = GetFS();1806 USHORT sel = RestoreOS2FS(); 1807 1807 1808 1808 yyrc = DosWaitMuxWaitSem(a, b, c); … … 1820 1820 { 1821 1821 ULONG yyrc; 1822 USHORT sel = GetFS();1822 USHORT sel = RestoreOS2FS(); 1823 1823 1824 1824 yyrc = DosCallNPipe(a, b, c, d, e, f, g); … … 1834 1834 { 1835 1835 ULONG yyrc; 1836 USHORT sel = GetFS();1836 USHORT sel = RestoreOS2FS(); 1837 1837 1838 1838 yyrc = DosConnectNPipe(a); … … 1848 1848 { 1849 1849 ULONG yyrc; 1850 USHORT sel = GetFS();1850 USHORT sel = RestoreOS2FS(); 1851 1851 1852 1852 yyrc = DosCreateNPipe(a, b, c, d, e, f, g); … … 1862 1862 { 1863 1863 ULONG yyrc; 1864 USHORT sel = GetFS();1864 USHORT sel = RestoreOS2FS(); 1865 1865 1866 1866 yyrc = DosDisConnectNPipe(a); … … 1876 1876 { 1877 1877 ULONG yyrc; 1878 USHORT sel = GetFS();1878 USHORT sel = RestoreOS2FS(); 1879 1879 1880 1880 yyrc = DosPeekNPipe(a, b, c, d, e, f); … … 1890 1890 { 1891 1891 ULONG yyrc; 1892 USHORT sel = GetFS();1892 USHORT sel = RestoreOS2FS(); 1893 1893 1894 1894 yyrc = DosQueryNPHState(a, b); … … 1904 1904 { 1905 1905 ULONG yyrc; 1906 USHORT sel = GetFS();1906 USHORT sel = RestoreOS2FS(); 1907 1907 1908 1908 yyrc = DosQueryNPipeInfo(a, b, c, d); … … 1918 1918 { 1919 1919 ULONG yyrc; 1920 USHORT sel = GetFS();1920 USHORT sel = RestoreOS2FS(); 1921 1921 1922 1922 yyrc = DosQueryNPipeSemState(a, b, c); … … 1932 1932 { 1933 1933 ULONG yyrc; 1934 USHORT sel = GetFS();1934 USHORT sel = RestoreOS2FS(); 1935 1935 1936 1936 yyrc = DosRawReadNPipe(a, b, c, d); … … 1946 1946 { 1947 1947 ULONG yyrc; 1948 USHORT sel = GetFS();1948 USHORT sel = RestoreOS2FS(); 1949 1949 1950 1950 yyrc = DosRawWriteNPipe(a, b); … … 1960 1960 { 1961 1961 ULONG yyrc; 1962 USHORT sel = GetFS();1962 USHORT sel = RestoreOS2FS(); 1963 1963 1964 1964 yyrc = DosSetNPHState(a, b); … … 1974 1974 { 1975 1975 ULONG yyrc; 1976 USHORT sel = GetFS();1976 USHORT sel = RestoreOS2FS(); 1977 1977 1978 1978 yyrc = DosSetNPipeSem(a, b, c); … … 1988 1988 { 1989 1989 ULONG yyrc; 1990 USHORT sel = GetFS();1990 USHORT sel = RestoreOS2FS(); 1991 1991 1992 1992 yyrc = DosTransactNPipe(a, b, c, d, e, f); … … 2002 2002 { 2003 2003 ULONG yyrc; 2004 USHORT sel = GetFS();2004 USHORT sel = RestoreOS2FS(); 2005 2005 2006 2006 yyrc = DosWaitNPipe(a, b); … … 2016 2016 { 2017 2017 ULONG yyrc; 2018 USHORT sel = GetFS();2018 USHORT sel = RestoreOS2FS(); 2019 2019 2020 2020 yyrc = DosCreatePipe(a, b, c); … … 2032 2032 { 2033 2033 ULONG yyrc; 2034 USHORT sel = GetFS();2034 USHORT sel = RestoreOS2FS(); 2035 2035 2036 2036 yyrc = DosCloseQueue(a); … … 2046 2046 { 2047 2047 ULONG yyrc; 2048 USHORT sel = GetFS();2048 USHORT sel = RestoreOS2FS(); 2049 2049 2050 2050 yyrc = DosCreateQueue(a, b, c); … … 2060 2060 { 2061 2061 ULONG yyrc; 2062 USHORT sel = GetFS();2062 USHORT sel = RestoreOS2FS(); 2063 2063 2064 2064 yyrc = DosOpenQueue(a, b, c); … … 2074 2074 { 2075 2075 ULONG yyrc; 2076 USHORT sel = GetFS();2076 USHORT sel = RestoreOS2FS(); 2077 2077 2078 2078 yyrc = DosPeekQueue(a, b, c, d, e, f, g, h); … … 2088 2088 { 2089 2089 ULONG yyrc; 2090 USHORT sel = GetFS();2090 USHORT sel = RestoreOS2FS(); 2091 2091 2092 2092 yyrc = DosPurgeQueue(a); … … 2102 2102 { 2103 2103 ULONG yyrc; 2104 USHORT sel = GetFS();2104 USHORT sel = RestoreOS2FS(); 2105 2105 2106 2106 yyrc = DosQueryQueue(a, b); … … 2116 2116 { 2117 2117 ULONG yyrc; 2118 USHORT sel = GetFS();2118 USHORT sel = RestoreOS2FS(); 2119 2119 2120 2120 yyrc = DosReadQueue(a, b, c, d, e, f, g, h); … … 2130 2130 { 2131 2131 ULONG yyrc; 2132 USHORT sel = GetFS();2132 USHORT sel = RestoreOS2FS(); 2133 2133 2134 2134 yyrc = DosWriteQueue(a, b, c, d, e); … … 2146 2146 { 2147 2147 ULONG yyrc; 2148 USHORT sel = GetFS();2148 USHORT sel = RestoreOS2FS(); 2149 2149 2150 2150 yyrc = DosAcknowledgeSignalException(a); … … 2160 2160 { 2161 2161 ULONG yyrc; 2162 USHORT sel = GetFS();2162 USHORT sel = RestoreOS2FS(); 2163 2163 2164 2164 yyrc = DosEnterMustComplete(a); … … 2174 2174 { 2175 2175 ULONG yyrc; 2176 USHORT sel = GetFS();2176 USHORT sel = RestoreOS2FS(); 2177 2177 2178 2178 yyrc = DosExitMustComplete(a); … … 2188 2188 { 2189 2189 ULONG yyrc; 2190 USHORT sel = GetFS();2190 USHORT sel = RestoreOS2FS(); 2191 2191 2192 2192 yyrc = DosQueryThreadContext(a, b, c); … … 2202 2202 { 2203 2203 ULONG yyrc; 2204 USHORT sel = GetFS();2204 USHORT sel = RestoreOS2FS(); 2205 2205 2206 2206 yyrc = DosRaiseException(a); … … 2216 2216 { 2217 2217 ULONG yyrc; 2218 USHORT sel = GetFS();2218 USHORT sel = RestoreOS2FS(); 2219 2219 2220 2220 yyrc = DosSendSignalException(a, b); … … 2230 2230 { 2231 2231 ULONG yyrc; 2232 USHORT sel = GetFS();2232 USHORT sel = RestoreOS2FS(); 2233 2233 2234 2234 yyrc = DosSetExceptionHandler(a); … … 2244 2244 { 2245 2245 ULONG yyrc; 2246 USHORT sel = GetFS();2246 USHORT sel = RestoreOS2FS(); 2247 2247 2248 2248 yyrc = DosSetSignalExceptionFocus(a, b); … … 2258 2258 { 2259 2259 ULONG yyrc; 2260 USHORT sel = GetFS();2260 USHORT sel = RestoreOS2FS(); 2261 2261 2262 2262 yyrc = DosUnsetExceptionHandler(a); … … 2272 2272 { 2273 2273 ULONG yyrc; 2274 USHORT sel = GetFS();2274 USHORT sel = RestoreOS2FS(); 2275 2275 2276 2276 yyrc = DosUnwindException(a, b, c); … … 2288 2288 { 2289 2289 ULONG yyrc; 2290 USHORT sel = GetFS();2290 USHORT sel = RestoreOS2FS(); 2291 2291 2292 2292 yyrc = DosQuerySysInfo(a, b, c, d); … … 2302 2302 { 2303 2303 ULONG yyrc; 2304 USHORT sel = GetFS();2304 USHORT sel = RestoreOS2FS(); 2305 2305 2306 2306 yyrc = DosScanEnv(a, b); … … 2316 2316 { 2317 2317 ULONG yyrc; 2318 USHORT sel = GetFS();2318 USHORT sel = RestoreOS2FS(); 2319 2319 2320 2320 yyrc = DosQueryRASInfo(a, b); … … 2332 2332 { 2333 2333 ULONG yyrc; 2334 USHORT sel = GetFS();2334 USHORT sel = RestoreOS2FS(); 2335 2335 2336 2336 yyrc = DosGetDateTime(a); … … 2346 2346 { 2347 2347 ULONG yyrc; 2348 USHORT sel = GetFS();2348 USHORT sel = RestoreOS2FS(); 2349 2349 2350 2350 yyrc = DosSetDateTime(a); … … 2360 2360 { 2361 2361 ULONG yyrc; 2362 USHORT sel = GetFS();2362 USHORT sel = RestoreOS2FS(); 2363 2363 2364 2364 yyrc = DosAsyncTimer(a, b, c); … … 2374 2374 { 2375 2375 ULONG yyrc; 2376 USHORT sel = GetFS();2376 USHORT sel = RestoreOS2FS(); 2377 2377 2378 2378 yyrc = DosStartTimer(a, b, c); … … 2388 2388 { 2389 2389 ULONG yyrc; 2390 USHORT sel = GetFS();2390 USHORT sel = RestoreOS2FS(); 2391 2391 2392 2392 yyrc = DosStopTimer(a); … … 2404 2404 { 2405 2405 ULONG yyrc; 2406 USHORT sel = GetFS();2406 USHORT sel = RestoreOS2FS(); 2407 2407 2408 2408 yyrc = DosTmrQueryFreq(a); … … 2418 2418 { 2419 2419 ULONG yyrc; 2420 USHORT sel = GetFS();2420 USHORT sel = RestoreOS2FS(); 2421 2421 2422 2422 yyrc = DosTmrQueryTime(a); … … 2434 2434 { 2435 2435 ULONG yyrc; 2436 USHORT sel = GetFS();2436 USHORT sel = RestoreOS2FS(); 2437 2437 2438 2438 yyrc = DosCloseVDD(a); … … 2448 2448 { 2449 2449 ULONG yyrc; 2450 USHORT sel = GetFS();2450 USHORT sel = RestoreOS2FS(); 2451 2451 2452 2452 yyrc = DosOpenVDD(a, b); … … 2462 2462 { 2463 2463 ULONG yyrc; 2464 USHORT sel = GetFS();2464 USHORT sel = RestoreOS2FS(); 2465 2465 2466 2466 yyrc = DosQueryDOSProperty(a, b, c, d); … … 2476 2476 { 2477 2477 ULONG yyrc; 2478 USHORT sel = GetFS();2478 USHORT sel = RestoreOS2FS(); 2479 2479 2480 2480 yyrc = DosRequestVDD(a, b, c, d, e, f, g); … … 2490 2490 { 2491 2491 ULONG yyrc; 2492 USHORT sel = GetFS();2492 USHORT sel = RestoreOS2FS(); 2493 2493 2494 2494 yyrc = DosSetDOSProperty(a, b, c, d); … … 2506 2506 { 2507 2507 ULONG yyrc; 2508 USHORT sel = GetFS();2508 USHORT sel = RestoreOS2FS(); 2509 2509 2510 2510 yyrc = DosDebug(a); … … 2522 2522 { 2523 2523 ULONG yyrc; 2524 USHORT sel = GetFS();2524 USHORT sel = RestoreOS2FS(); 2525 2525 2526 2526 yyrc = DosGetMessage(a, b, c, d, e, f, g); … … 2536 2536 { 2537 2537 ULONG yyrc; 2538 USHORT sel = GetFS();2538 USHORT sel = RestoreOS2FS(); 2539 2539 2540 2540 yyrc = DosInsertMessage(a, b, c, d, e, f, g); … … 2550 2550 { 2551 2551 ULONG yyrc; 2552 USHORT sel = GetFS();2552 USHORT sel = RestoreOS2FS(); 2553 2553 2554 2554 yyrc = DosPutMessage(a, b, c); … … 2564 2564 { 2565 2565 ULONG yyrc; 2566 USHORT sel = GetFS();2566 USHORT sel = RestoreOS2FS(); 2567 2567 2568 2568 yyrc = DosQueryMessageCP(a, b, c, d); … … 2580 2580 { 2581 2581 ULONG yyrc; 2582 USHORT sel = GetFS();2582 USHORT sel = RestoreOS2FS(); 2583 2583 2584 2584 yyrc = DosDumpProcess(a, b, c); … … 2594 2594 { 2595 2595 ULONG yyrc; 2596 USHORT sel = GetFS();2596 USHORT sel = RestoreOS2FS(); 2597 2597 2598 2598 yyrc = DosForceSystemDump(a); … … 2608 2608 { 2609 2609 ULONG yyrc; 2610 USHORT sel = GetFS();2610 USHORT sel = RestoreOS2FS(); 2611 2611 2612 2612 yyrc = DosQueryRASInfo(a, b); … … 2622 2622 { 2623 2623 ULONG yyrc; 2624 USHORT sel = GetFS();2624 USHORT sel = RestoreOS2FS(); 2625 2625 2626 2626 yyrc = DosSuppressPopUps(a, b); … … 2638 2638 { 2639 2639 ULONG yyrc; 2640 USHORT sel = GetFS();2640 USHORT sel = RestoreOS2FS(); 2641 2641 2642 2642 yyrc = RexxDeregisterSubcom(a, b); … … 2652 2652 { 2653 2653 ULONG yyrc; 2654 USHORT sel = GetFS();2654 USHORT sel = RestoreOS2FS(); 2655 2655 2656 2656 yyrc = RexxQuerySubcom(a, b, c, d); … … 2666 2666 { 2667 2667 ULONG yyrc; 2668 USHORT sel = GetFS();2668 USHORT sel = RestoreOS2FS(); 2669 2669 2670 2670 yyrc = RexxRegisterSubcomDll(a, b, c, d, e); … … 2680 2680 { 2681 2681 ULONG yyrc; 2682 USHORT sel = GetFS();2682 USHORT sel = RestoreOS2FS(); 2683 2683 2684 2684 yyrc = RexxRegisterSubcomExe(a, b, c); … … 2696 2696 { 2697 2697 ULONG yyrc; 2698 USHORT sel = GetFS();2698 USHORT sel = RestoreOS2FS(); 2699 2699 2700 2700 yyrc = RexxVariablePool(a); … … 2712 2712 { 2713 2713 ULONG yyrc; 2714 USHORT sel = GetFS();2714 USHORT sel = RestoreOS2FS(); 2715 2715 2716 2716 yyrc = RexxDeregisterFunction(a); … … 2726 2726 { 2727 2727 ULONG yyrc; 2728 USHORT sel = GetFS();2728 USHORT sel = RestoreOS2FS(); 2729 2729 2730 2730 yyrc = RexxQueryFunction(a); … … 2740 2740 { 2741 2741 ULONG yyrc; 2742 USHORT sel = GetFS();2742 USHORT sel = RestoreOS2FS(); 2743 2743 2744 2744 yyrc = RexxRegisterFunctionDll(a, b, c); … … 2754 2754 { 2755 2755 ULONG yyrc; 2756 USHORT sel = GetFS();2756 USHORT sel = RestoreOS2FS(); 2757 2757 2758 2758 yyrc = RexxRegisterFunctionExe(a, b); … … 2770 2770 { 2771 2771 ULONG yyrc; 2772 USHORT sel = GetFS();2772 USHORT sel = RestoreOS2FS(); 2773 2773 2774 2774 yyrc = RexxDeregisterExit(a, b); … … 2784 2784 { 2785 2785 ULONG yyrc; 2786 USHORT sel = GetFS();2786 USHORT sel = RestoreOS2FS(); 2787 2787 2788 2788 yyrc = RexxQueryExit(a, b, c, d); … … 2798 2798 { 2799 2799 ULONG yyrc; 2800 USHORT sel = GetFS();2800 USHORT sel = RestoreOS2FS(); 2801 2801 2802 2802 yyrc = RexxRegisterExitDll(a, b, c, d, e); … … 2812 2812 { 2813 2813 ULONG yyrc; 2814 USHORT sel = GetFS();2814 USHORT sel = RestoreOS2FS(); 2815 2815 2816 2816 yyrc = RexxRegisterExitExe(a, b, c); … … 2828 2828 { 2829 2829 ULONG yyrc; 2830 USHORT sel = GetFS();2830 USHORT sel = RestoreOS2FS(); 2831 2831 2832 2832 yyrc = RexxResetTrace(a, b); … … 2842 2842 { 2843 2843 ULONG yyrc; 2844 USHORT sel = GetFS();2844 USHORT sel = RestoreOS2FS(); 2845 2845 2846 2846 yyrc = RexxSetHalt(a, b); … … 2856 2856 { 2857 2857 ULONG yyrc; 2858 USHORT sel = GetFS();2858 USHORT sel = RestoreOS2FS(); 2859 2859 2860 2860 yyrc = RexxSetTrace(a, b); … … 2872 2872 { 2873 2873 ULONG yyrc; 2874 USHORT sel = GetFS();2874 USHORT sel = RestoreOS2FS(); 2875 2875 2876 2876 yyrc = RexxAddMacro(a, b, c); … … 2886 2886 { 2887 2887 ULONG yyrc; 2888 USHORT sel = GetFS();2888 USHORT sel = RestoreOS2FS(); 2889 2889 2890 2890 yyrc = RexxClearMacroSpace(); … … 2900 2900 { 2901 2901 ULONG yyrc; 2902 USHORT sel = GetFS();2902 USHORT sel = RestoreOS2FS(); 2903 2903 2904 2904 yyrc = RexxDropMacro(a); … … 2914 2914 { 2915 2915 ULONG yyrc; 2916 USHORT sel = GetFS();2916 USHORT sel = RestoreOS2FS(); 2917 2917 2918 2918 yyrc = RexxLoadMacroSpace(a, b, c); … … 2928 2928 { 2929 2929 ULONG yyrc; 2930 USHORT sel = GetFS();2930 USHORT sel = RestoreOS2FS(); 2931 2931 2932 2932 yyrc = RexxQueryMacro(a, b); … … 2942 2942 { 2943 2943 ULONG yyrc; 2944 USHORT sel = GetFS();2944 USHORT sel = RestoreOS2FS(); 2945 2945 2946 2946 yyrc = RexxReorderMacro(a, b); … … 2956 2956 { 2957 2957 ULONG yyrc; 2958 USHORT sel = GetFS();2958 USHORT sel = RestoreOS2FS(); 2959 2959 2960 2960 yyrc = RexxSaveMacroSpace(a, b, c); … … 2970 2970 { 2971 2971 LONG yyrc; 2972 USHORT sel = GetFS();2972 USHORT sel = RestoreOS2FS(); 2973 2973 2974 2974 yyrc = RexxStart(a, b, c, d, e, f, g, h, i); … … 2987 2987 { 2988 2988 BOOL yyrc; 2989 USHORT sel = GetFS();2989 USHORT sel = RestoreOS2FS(); 2990 2990 2991 2991 yyrc = WinCancelShutdown(a, b); … … 3001 3001 { 3002 3002 HMQ yyrc; 3003 USHORT sel = GetFS();3003 USHORT sel = RestoreOS2FS(); 3004 3004 3005 3005 yyrc = WinCreateMsgQueue(a, b); … … 3015 3015 { 3016 3016 BOOL yyrc; 3017 USHORT sel = GetFS();3017 USHORT sel = RestoreOS2FS(); 3018 3018 3019 3019 yyrc = WinDestroyMsgQueue(a); … … 3029 3029 { 3030 3030 MRESULT yyrc; 3031 USHORT sel = GetFS();3031 USHORT sel = RestoreOS2FS(); 3032 3032 3033 3033 yyrc = WinDispatchMsg(a, b); … … 3043 3043 { 3044 3044 BOOL yyrc; 3045 USHORT sel = GetFS();3045 USHORT sel = RestoreOS2FS(); 3046 3046 3047 3047 yyrc = WinGetMsg(a, b, c, d, e); … … 3057 3057 { 3058 3058 BOOL yyrc; 3059 USHORT sel = GetFS();3059 USHORT sel = RestoreOS2FS(); 3060 3060 3061 3061 yyrc = WinLockInput(a, b); … … 3071 3071 { 3072 3072 BOOL yyrc; 3073 USHORT sel = GetFS();3073 USHORT sel = RestoreOS2FS(); 3074 3074 3075 3075 yyrc = WinPeekMsg(a, b, c, d, e, f); … … 3085 3085 { 3086 3086 BOOL yyrc; 3087 USHORT sel = GetFS();3087 USHORT sel = RestoreOS2FS(); 3088 3088 3089 3089 yyrc = WinPostMsg(a, b, c, d); … … 3099 3099 { 3100 3100 HMQ yyrc; 3101 USHORT sel = GetFS();3101 USHORT sel = RestoreOS2FS(); 3102 3102 3103 3103 yyrc = WinQueueFromID(a, b, c); … … 3113 3113 { 3114 3114 BOOL yyrc; 3115 USHORT sel = GetFS();3115 USHORT sel = RestoreOS2FS(); 3116 3116 3117 3117 yyrc = WinQueryQueueInfo(a, b, c); … … 3127 3127 { 3128 3128 HMQ yyrc; 3129 USHORT sel = GetFS();3129 USHORT sel = RestoreOS2FS(); 3130 3130 3131 3131 yyrc = WinQuerySendMsg(a, b, c, d); … … 3141 3141 { 3142 3142 BOOL yyrc; 3143 USHORT sel = GetFS();3143 USHORT sel = RestoreOS2FS(); 3144 3144 3145 3145 yyrc = WinRegisterUserDatatype(a, b, c, d); … … 3155 3155 { 3156 3156 BOOL yyrc; 3157 USHORT sel = GetFS();3157 USHORT sel = RestoreOS2FS(); 3158 3158 3159 3159 yyrc = WinRegisterUserMsg(a, b, c, d, e, f, g); … … 3169 3169 { 3170 3170 BOOL yyrc; 3171 USHORT sel = GetFS();3171 USHORT sel = RestoreOS2FS(); 3172 3172 3173 3173 yyrc = WinReplyMsg(a, b, c, d); … … 3183 3183 { 3184 3184 MRESULT yyrc; 3185 USHORT sel = GetFS();3185 USHORT sel = RestoreOS2FS(); 3186 3186 3187 3187 yyrc = WinSendMsg(a, b, c, d); … … 3197 3197 { 3198 3198 BOOL yyrc; 3199 USHORT sel = GetFS();3199 USHORT sel = RestoreOS2FS(); 3200 3200 3201 3201 yyrc = WinSetMsgMode(a, b, c); … … 3211 3211 { 3212 3212 BOOL yyrc; 3213 USHORT sel = GetFS();3213 USHORT sel = RestoreOS2FS(); 3214 3214 3215 3215 yyrc = WinSetSynchroMode(a, b); … … 3225 3225 { 3226 3226 BOOL yyrc; 3227 USHORT sel = GetFS();3227 USHORT sel = RestoreOS2FS(); 3228 3228 3229 3229 yyrc = WinThreadAssocQueue(a, b); … … 3239 3239 { 3240 3240 BOOL yyrc; 3241 USHORT sel = GetFS();3241 USHORT sel = RestoreOS2FS(); 3242 3242 3243 3243 yyrc = WinWakeThread(a); … … 3254 3254 { 3255 3255 HWND yyrc; 3256 USHORT sel = GetFS();3256 USHORT sel = RestoreOS2FS(); 3257 3257 3258 3258 yyrc = WinCreateWindow(a, b, c, d, e, f, g, h, i, j, k, l, m); … … 3268 3268 { 3269 3269 BOOL yyrc; 3270 USHORT sel = GetFS();3270 USHORT sel = RestoreOS2FS(); 3271 3271 3272 3272 yyrc = WinDrawBitmap(a, b, c, d, e, f, g); … … 3282 3282 { 3283 3283 BOOL yyrc; 3284 USHORT sel = GetFS();3284 USHORT sel = RestoreOS2FS(); 3285 3285 3286 3286 yyrc = WinDrawBorder(a, b, c, d, e, f, g); … … 3296 3296 { 3297 3297 LONG yyrc; 3298 USHORT sel = GetFS();3298 USHORT sel = RestoreOS2FS(); 3299 3299 3300 3300 yyrc = WinDrawText(a, b, c, d, e, f, g); … … 3310 3310 { 3311 3311 BOOL yyrc; 3312 USHORT sel = GetFS();3312 USHORT sel = RestoreOS2FS(); 3313 3313 3314 3314 yyrc = WinEnableWindow(a, b); … … 3324 3324 { 3325 3325 BOOL yyrc; 3326 USHORT sel = GetFS();3326 USHORT sel = RestoreOS2FS(); 3327 3327 3328 3328 yyrc = WinEnableWindowUpdate(a, b); … … 3338 3338 { 3339 3339 BOOL yyrc; 3340 USHORT sel = GetFS();3340 USHORT sel = RestoreOS2FS(); 3341 3341 3342 3342 yyrc = WinInvalidateRect(a, b, c); … … 3352 3352 { 3353 3353 BOOL yyrc; 3354 USHORT sel = GetFS();3354 USHORT sel = RestoreOS2FS(); 3355 3355 3356 3356 yyrc = WinInvalidateRegion(a, b, c); … … 3366 3366 { 3367 3367 BOOL yyrc; 3368 USHORT sel = GetFS();3368 USHORT sel = RestoreOS2FS(); 3369 3369 3370 3370 yyrc = WinInvertRect(a, b); … … 3380 3380 { 3381 3381 BOOL yyrc; 3382 USHORT sel = GetFS();3382 USHORT sel = RestoreOS2FS(); 3383 3383 3384 3384 yyrc = WinIsChild(a, b); … … 3394 3394 { 3395 3395 BOOL yyrc; 3396 USHORT sel = GetFS();3396 USHORT sel = RestoreOS2FS(); 3397 3397 3398 3398 yyrc = WinIsWindow(a, b); … … 3408 3408 { 3409 3409 BOOL yyrc; 3410 USHORT sel = GetFS();3410 USHORT sel = RestoreOS2FS(); 3411 3411 3412 3412 yyrc = WinIsWindowEnabled(a); … … 3422 3422 { 3423 3423 BOOL yyrc; 3424 USHORT sel = GetFS();3424 USHORT sel = RestoreOS2FS(); 3425 3425 3426 3426 yyrc = WinIsWindowVisible(a); … … 3436 3436 { 3437 3437 LONG yyrc; 3438 USHORT sel = GetFS();3438 USHORT sel = RestoreOS2FS(); 3439 3439 3440 3440 yyrc = WinLoadMessage(a, b, c, d, e); … … 3450 3450 { 3451 3451 LONG yyrc; 3452 USHORT sel = GetFS();3452 USHORT sel = RestoreOS2FS(); 3453 3453 3454 3454 yyrc = WinLoadString(a, b, c, d, e); … … 3464 3464 { 3465 3465 LONG yyrc; 3466 USHORT sel = GetFS();3466 USHORT sel = RestoreOS2FS(); 3467 3467 3468 3468 yyrc = WinMultWindowFromIDs(a, b, c, d); … … 3478 3478 { 3479 3479 HWND yyrc; 3480 USHORT sel = GetFS();3480 USHORT sel = RestoreOS2FS(); 3481 3481 3482 3482 yyrc = WinQueryDesktopWindow(a, b); … … 3492 3492 { 3493 3493 HWND yyrc; 3494 USHORT sel = GetFS();3494 USHORT sel = RestoreOS2FS(); 3495 3495 3496 3496 yyrc = WinQueryObjectWindow(a); … … 3506 3506 { 3507 3507 HPOINTER yyrc; 3508 USHORT sel = GetFS();3508 USHORT sel = RestoreOS2FS(); 3509 3509 3510 3510 yyrc = WinQueryPointer(a); … … 3520 3520 { 3521 3521 HWND yyrc; 3522 USHORT sel = GetFS();3522 USHORT sel = RestoreOS2FS(); 3523 3523 3524 3524 yyrc = WinQueryWindow(a, b); … … 3534 3534 { 3535 3535 BOOL yyrc; 3536 USHORT sel = GetFS();3536 USHORT sel = RestoreOS2FS(); 3537 3537 3538 3538 yyrc = WinQueryWindowPos(a, b); … … 3548 3548 { 3549 3549 BOOL yyrc; 3550 USHORT sel = GetFS();3550 USHORT sel = RestoreOS2FS(); 3551 3551 3552 3552 yyrc = WinQueryWindowProcess(a, b, c); … … 3562 3562 { 3563 3563 LONG yyrc; 3564 USHORT sel = GetFS();3564 USHORT sel = RestoreOS2FS(); 3565 3565 3566 3566 yyrc = WinQueryWindowText(a, b, c); … … 3576 3576 { 3577 3577 LONG yyrc; 3578 USHORT sel = GetFS();3578 USHORT sel = RestoreOS2FS(); 3579 3579 3580 3580 yyrc = WinQueryWindowTextLength(a); … … 3590 3590 { 3591 3591 BOOL yyrc; 3592 USHORT sel = GetFS();3592 USHORT sel = RestoreOS2FS(); 3593 3593 3594 3594 yyrc = WinSetMultWindowPos(a, b, c); … … 3604 3604 { 3605 3605 BOOL yyrc; 3606 USHORT sel = GetFS();3606 USHORT sel = RestoreOS2FS(); 3607 3607 3608 3608 yyrc = WinSetOwner(a, b); … … 3618 3618 { 3619 3619 BOOL yyrc; 3620 USHORT sel = GetFS();3620 USHORT sel = RestoreOS2FS(); 3621 3621 3622 3622 yyrc = WinSetParent(a, b, c); … … 3632 3632 { 3633 3633 BOOL yyrc; 3634 USHORT sel = GetFS();3634 USHORT sel = RestoreOS2FS(); 3635 3635 3636 3636 yyrc = WinSetWindowPos(a, b, c, d, e, f, g); … … 3646 3646 { 3647 3647 BOOL yyrc; 3648 USHORT sel = GetFS();3648 USHORT sel = RestoreOS2FS(); 3649 3649 3650 3650 yyrc = WinSetWindowText(a, b); … … 3660 3660 { 3661 3661 BOOL yyrc; 3662 USHORT sel = GetFS();3662 USHORT sel = RestoreOS2FS(); 3663 3663 3664 3664 yyrc = WinUpdateWindow(a); … … 3674 3674 { 3675 3675 HWND yyrc; 3676 USHORT sel = GetFS();3676 USHORT sel = RestoreOS2FS(); 3677 3677 3678 3678 yyrc = WinWindowFromID(a, b); … … 3689 3689 { 3690 3690 HWND yyrc; 3691 USHORT sel = GetFS();3691 USHORT sel = RestoreOS2FS(); 3692 3692 3693 3693 yyrc = WinCreateStdWindow(a, b, c, d, e, f, g, h, i); … … 3703 3703 { 3704 3704 BOOL yyrc; 3705 USHORT sel = GetFS();3705 USHORT sel = RestoreOS2FS(); 3706 3706 3707 3707 yyrc = WinCalcFrameRect(a, b, c); … … 3717 3717 { 3718 3718 BOOL yyrc; 3719 USHORT sel = GetFS();3719 USHORT sel = RestoreOS2FS(); 3720 3720 3721 3721 yyrc = WinCreateFrameControls(a, b, c); … … 3731 3731 { 3732 3732 BOOL yyrc; 3733 USHORT sel = GetFS();3733 USHORT sel = RestoreOS2FS(); 3734 3734 3735 3735 yyrc = WinFlashWindow(a, b); … … 3745 3745 { 3746 3746 BOOL yyrc; 3747 USHORT sel = GetFS();3747 USHORT sel = RestoreOS2FS(); 3748 3748 3749 3749 yyrc = WinGetMaxPosition(a, b); … … 3759 3759 { 3760 3760 BOOL yyrc; 3761 USHORT sel = GetFS();3761 USHORT sel = RestoreOS2FS(); 3762 3762 3763 3763 yyrc = WinGetMinPosition(a, b, c); … … 3773 3773 { 3774 3774 BOOL yyrc; 3775 USHORT sel = GetFS();3775 USHORT sel = RestoreOS2FS(); 3776 3776 3777 3777 yyrc = WinSaveWindowPos(a, b, c); … … 3789 3789 { 3790 3790 HPS yyrc; 3791 USHORT sel = GetFS();3791 USHORT sel = RestoreOS2FS(); 3792 3792 3793 3793 yyrc = WinBeginPaint(a, b, c); … … 3803 3803 { 3804 3804 MRESULT yyrc; 3805 USHORT sel = GetFS();3805 USHORT sel = RestoreOS2FS(); 3806 3806 3807 3807 yyrc = WinDefWindowProc(a, b, c, d); … … 3817 3817 { 3818 3818 BOOL yyrc; 3819 USHORT sel = GetFS();3819 USHORT sel = RestoreOS2FS(); 3820 3820 3821 3821 yyrc = WinDestroyWindow(a); … … 3831 3831 { 3832 3832 BOOL yyrc; 3833 USHORT sel = GetFS();3833 USHORT sel = RestoreOS2FS(); 3834 3834 3835 3835 yyrc = WinEndPaint(a); … … 3845 3845 { 3846 3846 BOOL yyrc; 3847 USHORT sel = GetFS();3847 USHORT sel = RestoreOS2FS(); 3848 3848 3849 3849 yyrc = WinFillRect(a, b, c); … … 3859 3859 { 3860 3860 HPS yyrc; 3861 USHORT sel = GetFS();3861 USHORT sel = RestoreOS2FS(); 3862 3862 3863 3863 yyrc = WinGetClipPS(a, b, c); … … 3873 3873 { 3874 3874 HPS yyrc; 3875 USHORT sel = GetFS();3875 USHORT sel = RestoreOS2FS(); 3876 3876 3877 3877 yyrc = WinGetPS(a); … … 3887 3887 { 3888 3888 HAB yyrc; 3889 USHORT sel = GetFS();3889 USHORT sel = RestoreOS2FS(); 3890 3890 3891 3891 yyrc = WinInitialize(a); … … 3901 3901 { 3902 3902 BOOL yyrc; 3903 USHORT sel = GetFS();3903 USHORT sel = RestoreOS2FS(); 3904 3904 3905 3905 yyrc = WinIsWindowShowing(a); … … 3915 3915 { 3916 3916 HDC yyrc; 3917 USHORT sel = GetFS();3917 USHORT sel = RestoreOS2FS(); 3918 3918 3919 3919 yyrc = WinOpenWindowDC(a); … … 3929 3929 { 3930 3930 HAB yyrc; 3931 USHORT sel = GetFS();3931 USHORT sel = RestoreOS2FS(); 3932 3932 3933 3933 yyrc = WinQueryAnchorBlock(a); … … 3943 3943 { 3944 3944 ULONG yyrc; 3945 USHORT sel = GetFS();3945 USHORT sel = RestoreOS2FS(); 3946 3946 3947 3947 yyrc = WinQueryVersion(a); … … 3957 3957 { 3958 3958 BOOL yyrc; 3959 USHORT sel = GetFS();3959 USHORT sel = RestoreOS2FS(); 3960 3960 3961 3961 yyrc = WinQueryWindowRect(a, b); … … 3971 3971 { 3972 3972 BOOL yyrc; 3973 USHORT sel = GetFS();3973 USHORT sel = RestoreOS2FS(); 3974 3974 3975 3975 yyrc = WinRegisterClass(a, b, c, d, e); … … 3985 3985 { 3986 3986 BOOL yyrc; 3987 USHORT sel = GetFS();3987 USHORT sel = RestoreOS2FS(); 3988 3988 3989 3989 yyrc = WinReleasePS(a); … … 3999 3999 { 4000 4000 LONG yyrc; 4001 USHORT sel = GetFS();4001 USHORT sel = RestoreOS2FS(); 4002 4002 4003 4003 yyrc = WinScrollWindow(a, b, c, d, e, f, g, h); … … 4013 4013 { 4014 4014 BOOL yyrc; 4015 USHORT sel = GetFS();4015 USHORT sel = RestoreOS2FS(); 4016 4016 4017 4017 yyrc = WinSetActiveWindow(a, b); … … 4027 4027 { 4028 4028 BOOL yyrc; 4029 USHORT sel = GetFS();4029 USHORT sel = RestoreOS2FS(); 4030 4030 4031 4031 yyrc = WinShowWindow(a, b); … … 4041 4041 { 4042 4042 BOOL yyrc; 4043 USHORT sel = GetFS();4043 USHORT sel = RestoreOS2FS(); 4044 4044 4045 4045 yyrc = WinTerminate(a); … … 4057 4057 { 4058 4058 HENUM yyrc; 4059 USHORT sel = GetFS();4059 USHORT sel = RestoreOS2FS(); 4060 4060 4061 4061 yyrc = WinBeginEnumWindows(a); … … 4071 4071 { 4072 4072 BOOL yyrc; 4073 USHORT sel = GetFS();4073 USHORT sel = RestoreOS2FS(); 4074 4074 4075 4075 yyrc = WinEndEnumWindows(a); … … 4085 4085 { 4086 4086 LONG yyrc; 4087 USHORT sel = GetFS();4087 USHORT sel = RestoreOS2FS(); 4088 4088 4089 4089 yyrc = WinExcludeUpdateRegion(a, b); … … 4099 4099 { 4100 4100 HWND yyrc; 4101 USHORT sel = GetFS();4101 USHORT sel = RestoreOS2FS(); 4102 4102 4103 4103 yyrc = WinGetNextWindow(a); … … 4113 4113 { 4114 4114 HPS yyrc; 4115 USHORT sel = GetFS();4115 USHORT sel = RestoreOS2FS(); 4116 4116 4117 4117 yyrc = WinGetScreenPS(a); … … 4127 4127 { 4128 4128 BOOL yyrc; 4129 USHORT sel = GetFS();4129 USHORT sel = RestoreOS2FS(); 4130 4130 4131 4131 yyrc = WinIsThreadActive(a); … … 4141 4141 { 4142 4142 BOOL yyrc; 4143 USHORT sel = GetFS();4143 USHORT sel = RestoreOS2FS(); 4144 4144 4145 4145 yyrc = WinLockVisRegions(a, b); … … 4155 4155 { 4156 4156 BOOL yyrc; 4157 USHORT sel = GetFS();4157 USHORT sel = RestoreOS2FS(); 4158 4158 4159 4159 yyrc = WinLockWindowUpdate(a, b); … … 4169 4169 { 4170 4170 BOOL yyrc; 4171 USHORT sel = GetFS();4171 USHORT sel = RestoreOS2FS(); 4172 4172 4173 4173 yyrc = WinMapWindowPoints(a, b, c, d); … … 4183 4183 { 4184 4184 HWND yyrc; 4185 USHORT sel = GetFS();4185 USHORT sel = RestoreOS2FS(); 4186 4186 4187 4187 yyrc = WinQueryActiveWindow(a); … … 4197 4197 { 4198 4198 BOOL yyrc; 4199 USHORT sel = GetFS();4199 USHORT sel = RestoreOS2FS(); 4200 4200 4201 4201 yyrc = WinQueryClassInfo(a, b, c); … … 4211 4211 { 4212 4212 LONG yyrc; 4213 USHORT sel = GetFS();4213 USHORT sel = RestoreOS2FS(); 4214 4214 4215 4215 yyrc = WinQueryClassName(a, b, c); … … 4225 4225 { 4226 4226 BOOL yyrc; 4227 USHORT sel = GetFS();4227 USHORT sel = RestoreOS2FS(); 4228 4228 4229 4229 yyrc = WinQueryUpdateRect(a, b); … … 4239 4239 { 4240 4240 LONG yyrc; 4241 USHORT sel = GetFS();4241 USHORT sel = RestoreOS2FS(); 4242 4242 4243 4243 yyrc = WinQueryUpdateRegion(a, b); … … 4253 4253 { 4254 4254 HWND yyrc; 4255 USHORT sel = GetFS();4255 USHORT sel = RestoreOS2FS(); 4256 4256 4257 4257 yyrc = WinQuerySysModalWindow(a); … … 4267 4267 { 4268 4268 HDC yyrc; 4269 USHORT sel = GetFS();4269 USHORT sel = RestoreOS2FS(); 4270 4270 4271 4271 yyrc = WinQueryWindowDC(a); … … 4281 4281 { 4282 4282 PVOID yyrc; 4283 USHORT sel = GetFS();4283 USHORT sel = RestoreOS2FS(); 4284 4284 4285 4285 yyrc = WinQueryWindowPtr(a, b); … … 4295 4295 { 4296 4296 ULONG yyrc; 4297 USHORT sel = GetFS();4297 USHORT sel = RestoreOS2FS(); 4298 4298 4299 4299 yyrc = WinQueryWindowULong(a, b); … … 4309 4309 { 4310 4310 USHORT yyrc; 4311 USHORT sel = GetFS();4311 USHORT sel = RestoreOS2FS(); 4312 4312 4313 4313 yyrc = WinQueryWindowUShort(a, b); … … 4323 4323 { 4324 4324 BOOL yyrc; 4325 USHORT sel = GetFS();4325 USHORT sel = RestoreOS2FS(); 4326 4326 4327 4327 yyrc = WinSetSysModalWindow(a, b); … … 4337 4337 { 4338 4338 BOOL yyrc; 4339 USHORT sel = GetFS();4339 USHORT sel = RestoreOS2FS(); 4340 4340 4341 4341 yyrc = WinSetWindowBits(a, b, c, d); … … 4351 4351 { 4352 4352 BOOL yyrc; 4353 USHORT sel = GetFS();4353 USHORT sel = RestoreOS2FS(); 4354 4354 4355 4355 yyrc = WinSetWindowPtr(a, b, c); … … 4365 4365 { 4366 4366 BOOL yyrc; 4367 USHORT sel = GetFS();4367 USHORT sel = RestoreOS2FS(); 4368 4368 4369 4369 yyrc = WinSetWindowULong(a, b, c); … … 4379 4379 { 4380 4380 BOOL yyrc; 4381 USHORT sel = GetFS();4381 USHORT sel = RestoreOS2FS(); 4382 4382 4383 4383 yyrc = WinSetWindowUShort(a, b, c); … … 4393 4393 { 4394 4394 PFNWP yyrc; 4395 USHORT sel = GetFS();4395 USHORT sel = RestoreOS2FS(); 4396 4396 4397 4397 yyrc = WinSubclassWindow(a, b); … … 4407 4407 { 4408 4408 BOOL yyrc; 4409 USHORT sel = GetFS();4409 USHORT sel = RestoreOS2FS(); 4410 4410 4411 4411 yyrc = WinValidateRect(a, b, c); … … 4421 4421 { 4422 4422 BOOL yyrc; 4423 USHORT sel = GetFS();4423 USHORT sel = RestoreOS2FS(); 4424 4424 4425 4425 yyrc = WinValidateRegion(a, b, c); … … 4435 4435 { 4436 4436 HWND yyrc; 4437 USHORT sel = GetFS();4437 USHORT sel = RestoreOS2FS(); 4438 4438 4439 4439 yyrc = WinWindowFromDC(a); … … 4449 4449 { 4450 4450 HWND yyrc; 4451 USHORT sel = GetFS();4451 USHORT sel = RestoreOS2FS(); 4452 4452 4453 4453 yyrc = WinWindowFromPoint(a, b, c); … … 4465 4465 { 4466 4466 ULONG yyrc; 4467 USHORT sel = GetFS();4467 USHORT sel = RestoreOS2FS(); 4468 4468 4469 4469 yyrc = WinCopyAccelTable(a, b, c); … … 4479 4479 { 4480 4480 HACCEL yyrc; 4481 USHORT sel = GetFS();4481 USHORT sel = RestoreOS2FS(); 4482 4482 4483 4483 yyrc = WinCreateAccelTable(a, b); … … 4493 4493 { 4494 4494 BOOL yyrc; 4495 USHORT sel = GetFS();4495 USHORT sel = RestoreOS2FS(); 4496 4496 4497 4497 yyrc = WinDestroyAccelTable(a); … … 4507 4507 { 4508 4508 HACCEL yyrc; 4509 USHORT sel = GetFS();4509 USHORT sel = RestoreOS2FS(); 4510 4510 4511 4511 yyrc = WinLoadAccelTable(a, b, c); … … 4521 4521 { 4522 4522 HACCEL yyrc; 4523 USHORT sel = GetFS();4523 USHORT sel = RestoreOS2FS(); 4524 4524 4525 4525 yyrc = WinQueryAccelTable(a, b); … … 4535 4535 { 4536 4536 BOOL yyrc; 4537 USHORT sel = GetFS();4537 USHORT sel = RestoreOS2FS(); 4538 4538 4539 4539 yyrc = WinSetAccelTable(a, b, c); … … 4549 4549 { 4550 4550 BOOL yyrc; 4551 USHORT sel = GetFS();4551 USHORT sel = RestoreOS2FS(); 4552 4552 4553 4553 yyrc = WinTranslateAccel(a, b, c, d); … … 4565 4565 { 4566 4566 ATOM yyrc; 4567 USHORT sel = GetFS();4567 USHORT sel = RestoreOS2FS(); 4568 4568 4569 4569 yyrc = WinAddAtom(a, b); … … 4579 4579 { 4580 4580 HATOMTBL yyrc; 4581 USHORT sel = GetFS();4581 USHORT sel = RestoreOS2FS(); 4582 4582 4583 4583 yyrc = WinCreateAtomTable(a, b); … … 4593 4593 { 4594 4594 ATOM yyrc; 4595 USHORT sel = GetFS();4595 USHORT sel = RestoreOS2FS(); 4596 4596 4597 4597 yyrc = WinDeleteAtom(a, b); … … 4607 4607 { 4608 4608 HATOMTBL yyrc; 4609 USHORT sel = GetFS();4609 USHORT sel = RestoreOS2FS(); 4610 4610 4611 4611 yyrc = WinDestroyAtomTable(a); … … 4621 4621 { 4622 4622 ATOM yyrc; 4623 USHORT sel = GetFS();4623 USHORT sel = RestoreOS2FS(); 4624 4624 4625 4625 yyrc = WinFindAtom(a, b); … … 4635 4635 { 4636 4636 ULONG yyrc; 4637 USHORT sel = GetFS();4637 USHORT sel = RestoreOS2FS(); 4638 4638 4639 4639 yyrc = WinQueryAtomLength(a, b); … … 4649 4649 { 4650 4650 ULONG yyrc; 4651 USHORT sel = GetFS();4651 USHORT sel = RestoreOS2FS(); 4652 4652 4653 4653 yyrc = WinQueryAtomName(a, b, c, d); … … 4663 4663 { 4664 4664 ULONG yyrc; 4665 USHORT sel = GetFS();4665 USHORT sel = RestoreOS2FS(); 4666 4666 4667 4667 yyrc = WinQueryAtomUsage(a, b); … … 4677 4677 { 4678 4678 HATOMTBL yyrc; 4679 USHORT sel = GetFS();4679 USHORT sel = RestoreOS2FS(); 4680 4680 4681 4681 yyrc = WinQuerySystemAtomTable(); … … 4693 4693 { 4694 4694 BOOL yyrc; 4695 USHORT sel = GetFS();4695 USHORT sel = RestoreOS2FS(); 4696 4696 4697 4697 yyrc = WinCloseClipbrd(a); … … 4707 4707 { 4708 4708 BOOL yyrc; 4709 USHORT sel = GetFS();4709 USHORT sel = RestoreOS2FS(); 4710 4710 4711 4711 yyrc = WinEmptyClipbrd(a); … … 4721 4721 { 4722 4722 ULONG yyrc; 4723 USHORT sel = GetFS();4723 USHORT sel = RestoreOS2FS(); 4724 4724 4725 4725 yyrc = WinEnumClipbrdFmts(a, b); … … 4735 4735 { 4736 4736 BOOL yyrc; 4737 USHORT sel = GetFS();4737 USHORT sel = RestoreOS2FS(); 4738 4738 4739 4739 yyrc = WinOpenClipbrd(a); … … 4749 4749 { 4750 4750 ULONG yyrc; 4751 USHORT sel = GetFS();4751 USHORT sel = RestoreOS2FS(); 4752 4752 4753 4753 yyrc = WinQueryClipbrdData(a, b); … … 4763 4763 { 4764 4764 BOOL yyrc; 4765 USHORT sel = GetFS();4765 USHORT sel = RestoreOS2FS(); 4766 4766 4767 4767 yyrc = WinQueryClipbrdFmtInfo(a, b, c); … … 4777 4777 { 4778 4778 HWND yyrc; 4779 USHORT sel = GetFS();4779 USHORT sel = RestoreOS2FS(); 4780 4780 4781 4781 yyrc = WinQueryClipbrdOwner(a); … … 4791 4791 { 4792 4792 HWND yyrc; 4793 USHORT sel = GetFS();4793 USHORT sel = RestoreOS2FS(); 4794 4794 4795 4795 yyrc = WinQueryClipbrdViewer(a); … … 4805 4805 { 4806 4806 BOOL yyrc; 4807 USHORT sel = GetFS();4807 USHORT sel = RestoreOS2FS(); 4808 4808 4809 4809 yyrc = WinSetClipbrdData(a, b, c, d); … … 4819 4819 { 4820 4820 BOOL yyrc; 4821 USHORT sel = GetFS();4821 USHORT sel = RestoreOS2FS(); 4822 4822 4823 4823 yyrc = WinSetClipbrdOwner(a, b); … … 4833 4833 { 4834 4834 BOOL yyrc; 4835 USHORT sel = GetFS();4835 USHORT sel = RestoreOS2FS(); 4836 4836 4837 4837 yyrc = WinSetClipbrdViewer(a, b); … … 4849 4849 { 4850 4850 BOOL yyrc; 4851 USHORT sel = GetFS();4851 USHORT sel = RestoreOS2FS(); 4852 4852 4853 4853 yyrc = WinDdeInitiate(a, b, c, d); … … 4863 4863 { 4864 4864 BOOL yyrc; 4865 USHORT sel = GetFS();4865 USHORT sel = RestoreOS2FS(); 4866 4866 4867 4867 yyrc = WinDdePostMsg(a, b, c, d, e); … … 4877 4877 { 4878 4878 MRESULT yyrc; 4879 USHORT sel = GetFS();4879 USHORT sel = RestoreOS2FS(); 4880 4880 4881 4881 yyrc = WinDdeRespond(a, b, c, d, e); … … 4893 4893 { 4894 4894 ULONG yyrc; 4895 USHORT sel = GetFS();4895 USHORT sel = RestoreOS2FS(); 4896 4896 4897 4897 yyrc = WinCompareStrings(a, b, c, d, e, f); … … 4907 4907 { 4908 4908 UCHAR yyrc; 4909 USHORT sel = GetFS();4909 USHORT sel = RestoreOS2FS(); 4910 4910 4911 4911 yyrc = WinCpTranslateChar(a, b, c, d); … … 4921 4921 { 4922 4922 BOOL yyrc; 4923 USHORT sel = GetFS();4923 USHORT sel = RestoreOS2FS(); 4924 4924 4925 4925 yyrc = WinCpTranslateString(a, b, c, d, e, f); … … 4935 4935 { 4936 4936 PCSZ yyrc; 4937 USHORT sel = GetFS();4937 USHORT sel = RestoreOS2FS(); 4938 4938 4939 4939 yyrc = WinNextChar(a, b, c, d); … … 4949 4949 { 4950 4950 PCSZ yyrc; 4951 USHORT sel = GetFS();4951 USHORT sel = RestoreOS2FS(); 4952 4952 4953 4953 yyrc = WinPrevChar(a, b, c, d, e); … … 4963 4963 { 4964 4964 ULONG yyrc; 4965 USHORT sel = GetFS();4965 USHORT sel = RestoreOS2FS(); 4966 4966 4967 4967 yyrc = WinQueryCp(a); … … 4977 4977 { 4978 4978 ULONG yyrc; 4979 USHORT sel = GetFS();4979 USHORT sel = RestoreOS2FS(); 4980 4980 4981 4981 yyrc = WinQueryCpList(a, b, c); … … 4991 4991 { 4992 4992 BOOL yyrc; 4993 USHORT sel = GetFS();4993 USHORT sel = RestoreOS2FS(); 4994 4994 4995 4995 yyrc = WinSetCp(a, b); … … 5005 5005 { 5006 5006 ULONG yyrc; 5007 USHORT sel = GetFS();5007 USHORT sel = RestoreOS2FS(); 5008 5008 5009 5009 yyrc = WinUpper(a, b, c, d); … … 5019 5019 { 5020 5020 ULONG yyrc; 5021 USHORT sel = GetFS();5021 USHORT sel = RestoreOS2FS(); 5022 5022 5023 5023 yyrc = WinUpperChar(a, b, c, d); … … 5035 5035 { 5036 5036 BOOL yyrc; 5037 USHORT sel = GetFS();5037 USHORT sel = RestoreOS2FS(); 5038 5038 5039 5039 yyrc = WinCreateCursor(a, b, c, d, e, f, g); … … 5049 5049 { 5050 5050 BOOL yyrc; 5051 USHORT sel = GetFS();5051 USHORT sel = RestoreOS2FS(); 5052 5052 5053 5053 yyrc = WinDestroyCursor(a); … … 5063 5063 { 5064 5064 BOOL yyrc; 5065 USHORT sel = GetFS();5065 USHORT sel = RestoreOS2FS(); 5066 5066 5067 5067 yyrc = WinShowCursor(a, b); … … 5077 5077 { 5078 5078 BOOL yyrc; 5079 USHORT sel = GetFS();5079 USHORT sel = RestoreOS2FS(); 5080 5080 5081 5081 yyrc = WinQueryCursorInfo(a, b); … … 5093 5093 { 5094 5094 BOOL yyrc; 5095 USHORT sel = GetFS();5095 USHORT sel = RestoreOS2FS(); 5096 5096 5097 5097 yyrc = WinQueryDesktopBkgnd(a, b); … … 5107 5107 { 5108 5108 HBITMAP yyrc; 5109 USHORT sel = GetFS();5109 USHORT sel = RestoreOS2FS(); 5110 5110 5111 5111 yyrc = WinSetDesktopBkgnd(a, b); … … 5123 5123 { 5124 5124 BOOL yyrc; 5125 USHORT sel = GetFS();5125 USHORT sel = RestoreOS2FS(); 5126 5126 5127 5127 yyrc = WinAlarm(a, b); … … 5137 5137 { 5138 5138 MRESULT yyrc; 5139 USHORT sel = GetFS();5139 USHORT sel = RestoreOS2FS(); 5140 5140 5141 5141 yyrc = WinDefDlgProc(a, b, c, d); … … 5151 5151 { 5152 5152 BOOL yyrc; 5153 USHORT sel = GetFS();5153 USHORT sel = RestoreOS2FS(); 5154 5154 5155 5155 yyrc = WinDismissDlg(a, b); … … 5165 5165 { 5166 5166 ULONG yyrc; 5167 USHORT sel = GetFS();5167 USHORT sel = RestoreOS2FS(); 5168 5168 5169 5169 yyrc = WinDlgBox(a, b, c, d, e, f); … … 5179 5179 { 5180 5180 BOOL yyrc; 5181 USHORT sel = GetFS();5181 USHORT sel = RestoreOS2FS(); 5182 5182 5183 5183 yyrc = WinGetDlgMsg(a, b); … … 5193 5193 { 5194 5194 HWND yyrc; 5195 USHORT sel = GetFS();5195 USHORT sel = RestoreOS2FS(); 5196 5196 5197 5197 yyrc = WinLoadDlg(a, b, c, d, e, f); … … 5207 5207 { 5208 5208 ULONG yyrc; 5209 USHORT sel = GetFS();5209 USHORT sel = RestoreOS2FS(); 5210 5210 5211 5211 yyrc = WinMessageBox(a, b, c, d, e, f); … … 5221 5221 { 5222 5222 ULONG yyrc; 5223 USHORT sel = GetFS();5223 USHORT sel = RestoreOS2FS(); 5224 5224 5225 5225 yyrc = WinMessageBox2(a, b, c, d, e, f); … … 5235 5235 { 5236 5236 BOOL yyrc; 5237 USHORT sel = GetFS();5237 USHORT sel = RestoreOS2FS(); 5238 5238 5239 5239 yyrc = WinQueryDlgItemShort(a, b, c, d); … … 5249 5249 { 5250 5250 ULONG yyrc; 5251 USHORT sel = GetFS();5251 USHORT sel = RestoreOS2FS(); 5252 5252 5253 5253 yyrc = WinQueryDlgItemText(a, b, c, d); … … 5263 5263 { 5264 5264 LONG yyrc; 5265 USHORT sel = GetFS();5265 USHORT sel = RestoreOS2FS(); 5266 5266 5267 5267 yyrc = WinQueryDlgItemTextLength(a, b); … … 5277 5277 { 5278 5278 BOOL yyrc; 5279 USHORT sel = GetFS();5279 USHORT sel = RestoreOS2FS(); 5280 5280 5281 5281 yyrc = WinSetDlgItemShort(a, b, c, d); … … 5291 5291 { 5292 5292 BOOL yyrc; 5293 USHORT sel = GetFS();5293 USHORT sel = RestoreOS2FS(); 5294 5294 5295 5295 yyrc = WinSetDlgItemText(a, b, c); … … 5305 5305 { 5306 5306 HWND yyrc; 5307 USHORT sel = GetFS();5307 USHORT sel = RestoreOS2FS(); 5308 5308 5309 5309 yyrc = WinCreateDlg(a, b, c, d, e); … … 5319 5319 { 5320 5320 HWND yyrc; 5321 USHORT sel = GetFS();5321 USHORT sel = RestoreOS2FS(); 5322 5322 5323 5323 yyrc = WinEnumDlgItem(a, b, c); … … 5333 5333 { 5334 5334 BOOL yyrc; 5335 USHORT sel = GetFS();5335 USHORT sel = RestoreOS2FS(); 5336 5336 5337 5337 yyrc = WinMapDlgPoints(a, b, c, d); … … 5347 5347 { 5348 5348 ULONG yyrc; 5349 USHORT sel = GetFS();5349 USHORT sel = RestoreOS2FS(); 5350 5350 5351 5351 yyrc = WinProcessDlg(a); … … 5361 5361 { 5362 5362 MRESULT yyrc; 5363 USHORT sel = GetFS();5363 USHORT sel = RestoreOS2FS(); 5364 5364 5365 5365 yyrc = WinSendDlgItemMsg(a, b, c, d, e); … … 5375 5375 { 5376 5376 LONG yyrc; 5377 USHORT sel = GetFS();5377 USHORT sel = RestoreOS2FS(); 5378 5378 5379 5379 yyrc = WinSubstituteStrings(a, b, c, d); … … 5391 5391 { 5392 5392 ERRORID yyrc; 5393 USHORT sel = GetFS();5393 USHORT sel = RestoreOS2FS(); 5394 5394 5395 5395 yyrc = WinGetLastError(a); … … 5405 5405 { 5406 5406 BOOL yyrc; 5407 USHORT sel = GetFS();5407 USHORT sel = RestoreOS2FS(); 5408 5408 5409 5409 yyrc = WinFreeErrorInfo(a); … … 5419 5419 { 5420 5420 PERRINFO yyrc; 5421 USHORT sel = GetFS();5421 USHORT sel = RestoreOS2FS(); 5422 5422 5423 5423 yyrc = WinGetErrorInfo(a); … … 5435 5435 { 5436 5436 BOOL yyrc; 5437 USHORT sel = GetFS();5437 USHORT sel = RestoreOS2FS(); 5438 5438 5439 5439 yyrc = WinCallMsgFilter(a, b, c); … … 5449 5449 { 5450 5450 BOOL yyrc; 5451 USHORT sel = GetFS();5451 USHORT sel = RestoreOS2FS(); 5452 5452 5453 5453 yyrc = WinReleaseHook(a, b, c, d, e); … … 5463 5463 { 5464 5464 BOOL yyrc; 5465 USHORT sel = GetFS();5465 USHORT sel = RestoreOS2FS(); 5466 5466 5467 5467 yyrc = WinSetHook(a, b, c, d, e); … … 5479 5479 { 5480 5480 BOOL yyrc; 5481 USHORT sel = GetFS();5481 USHORT sel = RestoreOS2FS(); 5482 5482 5483 5483 yyrc = WinFocusChange(a, b, c); … … 5493 5493 { 5494 5494 BOOL yyrc; 5495 USHORT sel = GetFS();5495 USHORT sel = RestoreOS2FS(); 5496 5496 5497 5497 yyrc = WinLockupSystem(a); … … 5507 5507 { 5508 5508 BOOL yyrc; 5509 USHORT sel = GetFS();5509 USHORT sel = RestoreOS2FS(); 5510 5510 5511 5511 yyrc = WinSetFocus(a, b); … … 5521 5521 { 5522 5522 BOOL yyrc; 5523 USHORT sel = GetFS();5523 USHORT sel = RestoreOS2FS(); 5524 5524 5525 5525 yyrc = WinUnlockSystem(a, b); … … 5535 5535 { 5536 5536 BOOL yyrc; 5537 USHORT sel = GetFS();5537 USHORT sel = RestoreOS2FS(); 5538 5538 5539 5539 yyrc = WinCheckInput(a); … … 5549 5549 { 5550 5550 BOOL yyrc; 5551 USHORT sel = GetFS();5551 USHORT sel = RestoreOS2FS(); 5552 5552 5553 5553 yyrc = WinEnablePhysInput(a, b); … … 5563 5563 { 5564 5564 LONG yyrc; 5565 USHORT sel = GetFS();5565 USHORT sel = RestoreOS2FS(); 5566 5566 5567 5567 yyrc = WinGetKeyState(a, b); … … 5577 5577 { 5578 5578 LONG yyrc; 5579 USHORT sel = GetFS();5579 USHORT sel = RestoreOS2FS(); 5580 5580 5581 5581 yyrc = WinGetPhysKeyState(a, b); … … 5591 5591 { 5592 5592 BOOL yyrc; 5593 USHORT sel = GetFS();5593 USHORT sel = RestoreOS2FS(); 5594 5594 5595 5595 yyrc = WinIsPhysInputEnabled(a); … … 5605 5605 { 5606 5606 HWND yyrc; 5607 USHORT sel = GetFS();5607 USHORT sel = RestoreOS2FS(); 5608 5608 5609 5609 yyrc = WinQueryCapture(a); … … 5619 5619 { 5620 5620 HWND yyrc; 5621 USHORT sel = GetFS();5621 USHORT sel = RestoreOS2FS(); 5622 5622 5623 5623 yyrc = WinQueryFocus(a); … … 5633 5633 { 5634 5634 ULONG yyrc; 5635 USHORT sel = GetFS();5635 USHORT sel = RestoreOS2FS(); 5636 5636 5637 5637 yyrc = WinQueryVisibleRegion(a, b); … … 5647 5647 { 5648 5648 BOOL yyrc; 5649 USHORT sel = GetFS();5649 USHORT sel = RestoreOS2FS(); 5650 5650 5651 5651 yyrc = WinSetCapture(a, b); … … 5661 5661 { 5662 5662 BOOL yyrc; 5663 USHORT sel = GetFS();5663 USHORT sel = RestoreOS2FS(); 5664 5664 5665 5665 yyrc = WinSetKeyboardStateTable(a, b, c); … … 5675 5675 { 5676 5676 BOOL yyrc; 5677 USHORT sel = GetFS();5677 USHORT sel = RestoreOS2FS(); 5678 5678 5679 5679 yyrc = WinSetVisibleRegionNotify(a, b); … … 5691 5691 { 5692 5692 BOOL yyrc; 5693 USHORT sel = GetFS();5693 USHORT sel = RestoreOS2FS(); 5694 5694 5695 5695 yyrc = WinDeleteLibrary(a, b); … … 5705 5705 { 5706 5706 BOOL yyrc; 5707 USHORT sel = GetFS();5707 USHORT sel = RestoreOS2FS(); 5708 5708 5709 5709 yyrc = WinDeleteProcedure(a, b); … … 5719 5719 { 5720 5720 HLIB yyrc; 5721 USHORT sel = GetFS();5721 USHORT sel = RestoreOS2FS(); 5722 5722 5723 5723 yyrc = WinLoadLibrary(a, b); … … 5733 5733 { 5734 5734 PFNWP yyrc; 5735 USHORT sel = GetFS();5735 USHORT sel = RestoreOS2FS(); 5736 5736 5737 5737 yyrc = WinLoadProcedure(a, b, c); … … 5749 5749 { 5750 5750 HWND yyrc; 5751 USHORT sel = GetFS();5751 USHORT sel = RestoreOS2FS(); 5752 5752 5753 5753 yyrc = WinCreateMenu(a, b); … … 5763 5763 { 5764 5764 HWND yyrc; 5765 USHORT sel = GetFS();5765 USHORT sel = RestoreOS2FS(); 5766 5766 5767 5767 yyrc = WinLoadMenu(a, b, c); … … 5777 5777 { 5778 5778 BOOL yyrc; 5779 USHORT sel = GetFS();5779 USHORT sel = RestoreOS2FS(); 5780 5780 5781 5781 yyrc = WinPopupMenu(a, b, c, d, e, f, g); … … 5793 5793 { 5794 5794 BOOL yyrc; 5795 USHORT sel = GetFS();5795 USHORT sel = RestoreOS2FS(); 5796 5796 5797 5797 yyrc = WinBroadcastMsg(a, b, c, d, e); … … 5807 5807 { 5808 5808 BOOL yyrc; 5809 USHORT sel = GetFS();5809 USHORT sel = RestoreOS2FS(); 5810 5810 5811 5811 yyrc = WinInSendMsg(a); … … 5821 5821 { 5822 5822 BOOL yyrc; 5823 USHORT sel = GetFS();5823 USHORT sel = RestoreOS2FS(); 5824 5824 5825 5825 yyrc = WinPostQueueMsg(a, b, c, d); … … 5835 5835 { 5836 5836 BOOL yyrc; 5837 USHORT sel = GetFS();5837 USHORT sel = RestoreOS2FS(); 5838 5838 5839 5839 yyrc = WinQueryMsgPos(a, b); … … 5849 5849 { 5850 5850 ULONG yyrc; 5851 USHORT sel = GetFS();5851 USHORT sel = RestoreOS2FS(); 5852 5852 5853 5853 yyrc = WinQueryMsgTime(a); … … 5863 5863 { 5864 5864 ULONG yyrc; 5865 USHORT sel = GetFS();5865 USHORT sel = RestoreOS2FS(); 5866 5866 5867 5867 yyrc = WinQueryQueueStatus(a); … … 5877 5877 { 5878 5878 ULONG yyrc; 5879 USHORT sel = GetFS();5879 USHORT sel = RestoreOS2FS(); 5880 5880 5881 5881 yyrc = WinRequestMutexSem(a, b); … … 5891 5891 { 5892 5892 BOOL yyrc; 5893 USHORT sel = GetFS();5893 USHORT sel = RestoreOS2FS(); 5894 5894 5895 5895 yyrc = WinSetClassMsgInterest(a, b, c, d); … … 5905 5905 { 5906 5906 BOOL yyrc; 5907 USHORT sel = GetFS();5907 USHORT sel = RestoreOS2FS(); 5908 5908 5909 5909 yyrc = WinSetMsgInterest(a, b, c); … … 5919 5919 { 5920 5920 ULONG yyrc; 5921 USHORT sel = GetFS();5921 USHORT sel = RestoreOS2FS(); 5922 5922 5923 5923 yyrc = WinWaitEventSem(a, b); … … 5933 5933 { 5934 5934 BOOL yyrc; 5935 USHORT sel = GetFS();5935 USHORT sel = RestoreOS2FS(); 5936 5936 5937 5937 yyrc = WinWaitMsg(a, b, c); … … 5947 5947 { 5948 5948 ULONG yyrc; 5949 USHORT sel = GetFS();5949 USHORT sel = RestoreOS2FS(); 5950 5950 5951 5951 yyrc = WinWaitMuxWaitSem(a, b, c); … … 5963 5963 { 5964 5964 LONG yyrc; 5965 USHORT sel = GetFS();5965 USHORT sel = RestoreOS2FS(); 5966 5966 5967 5967 yyrc = WinRealizePalette(a, b, c); … … 5979 5979 { 5980 5980 HPOINTER yyrc; 5981 USHORT sel = GetFS();5981 USHORT sel = RestoreOS2FS(); 5982 5982 5983 5983 yyrc = WinCreatePointer(a, b, c, d, e); … … 5993 5993 { 5994 5994 HPOINTER yyrc; 5995 USHORT sel = GetFS();5995 USHORT sel = RestoreOS2FS(); 5996 5996 5997 5997 yyrc = WinCreatePointerIndirect(a, b); … … 6007 6007 { 6008 6008 BOOL yyrc; 6009 USHORT sel = GetFS();6009 USHORT sel = RestoreOS2FS(); 6010 6010 6011 6011 yyrc = WinDestroyPointer(a); … … 6021 6021 { 6022 6022 BOOL yyrc; 6023 USHORT sel = GetFS();6023 USHORT sel = RestoreOS2FS(); 6024 6024 6025 6025 yyrc = WinDrawPointer(a, b, c, d, e); … … 6035 6035 { 6036 6036 HBITMAP yyrc; 6037 USHORT sel = GetFS();6037 USHORT sel = RestoreOS2FS(); 6038 6038 6039 6039 yyrc = WinGetSysBitmap(a, b); … … 6049 6049 { 6050 6050 HPOINTER yyrc; 6051 USHORT sel = GetFS();6051 USHORT sel = RestoreOS2FS(); 6052 6052 6053 6053 yyrc = WinLoadPointer(a, b, c); … … 6063 6063 { 6064 6064 BOOL yyrc; 6065 USHORT sel = GetFS();6065 USHORT sel = RestoreOS2FS(); 6066 6066 6067 6067 yyrc = WinLockPointerUpdate(a, b, c); … … 6077 6077 { 6078 6078 BOOL yyrc; 6079 USHORT sel = GetFS();6079 USHORT sel = RestoreOS2FS(); 6080 6080 6081 6081 yyrc = WinQueryPointerPos(a, b); … … 6091 6091 { 6092 6092 BOOL yyrc; 6093 USHORT sel = GetFS();6093 USHORT sel = RestoreOS2FS(); 6094 6094 6095 6095 yyrc = WinQueryPointerInfo(a, b); … … 6105 6105 { 6106 6106 HPOINTER yyrc; 6107 USHORT sel = GetFS();6107 USHORT sel = RestoreOS2FS(); 6108 6108 6109 6109 yyrc = WinQuerySysPointer(a, b, c); … … 6119 6119 { 6120 6120 BOOL yyrc; 6121 USHORT sel = GetFS();6121 USHORT sel = RestoreOS2FS(); 6122 6122 6123 6123 yyrc = WinQuerySysPointerData(a, b, c); … … 6133 6133 { 6134 6134 BOOL yyrc; 6135 USHORT sel = GetFS();6135 USHORT sel = RestoreOS2FS(); 6136 6136 6137 6137 yyrc = WinSetPointer(a, b); … … 6147 6147 { 6148 6148 BOOL yyrc; 6149 USHORT sel = GetFS();6149 USHORT sel = RestoreOS2FS(); 6150 6150 6151 6151 yyrc = WinSetPointerOwner(a, b, c); … … 6161 6161 { 6162 6162 BOOL yyrc; 6163 USHORT sel = GetFS();6163 USHORT sel = RestoreOS2FS(); 6164 6164 6165 6165 yyrc = WinSetPointerPos(a, b, c); … … 6175 6175 { 6176 6176 BOOL yyrc; 6177 USHORT sel = GetFS();6177 USHORT sel = RestoreOS2FS(); 6178 6178 6179 6179 yyrc = WinSetSysPointerData(a, b, c); … … 6189 6189 { 6190 6190 BOOL yyrc; 6191 USHORT sel = GetFS();6191 USHORT sel = RestoreOS2FS(); 6192 6192 6193 6193 yyrc = WinShowPointer(a, b); … … 6205 6205 { 6206 6206 BOOL yyrc; 6207 USHORT sel = GetFS();6207 USHORT sel = RestoreOS2FS(); 6208 6208 6209 6209 yyrc = WinCopyRect(a, b, c); … … 6219 6219 { 6220 6220 BOOL yyrc; 6221 USHORT sel = GetFS();6221 USHORT sel = RestoreOS2FS(); 6222 6222 6223 6223 yyrc = WinEqualRect(a, b, c); … … 6233 6233 { 6234 6234 BOOL yyrc; 6235 USHORT sel = GetFS();6235 USHORT sel = RestoreOS2FS(); 6236 6236 6237 6237 yyrc = WinInflateRect(a, b, c, d); … … 6247 6247 { 6248 6248 BOOL yyrc; 6249 USHORT sel = GetFS();6249 USHORT sel = RestoreOS2FS(); 6250 6250 6251 6251 yyrc = WinIntersectRect(a, b, c, d); … … 6261 6261 { 6262 6262 BOOL yyrc; 6263 USHORT sel = GetFS();6263 USHORT sel = RestoreOS2FS(); 6264 6264 6265 6265 yyrc = WinIsRectEmpty(a, b); … … 6275 6275 { 6276 6276 BOOL yyrc; 6277 USHORT sel = GetFS();6277 USHORT sel = RestoreOS2FS(); 6278 6278 6279 6279 yyrc = WinMakePoints(a, b, c); … … 6289 6289 { 6290 6290 BOOL yyrc; 6291 USHORT sel = GetFS();6291 USHORT sel = RestoreOS2FS(); 6292 6292 6293 6293 yyrc = WinMakeRect(a, b); … … 6303 6303 { 6304 6304 BOOL yyrc; 6305 USHORT sel = GetFS();6305 USHORT sel = RestoreOS2FS(); 6306 6306 6307 6307 yyrc = WinOffsetRect(a, b, c, d); … … 6317 6317 { 6318 6318 BOOL yyrc; 6319 USHORT sel = GetFS();6319 USHORT sel = RestoreOS2FS(); 6320 6320 6321 6321 yyrc = WinPtInRect(a, b, c); … … 6331 6331 { 6332 6332 BOOL yyrc; 6333 USHORT sel = GetFS();6333 USHORT sel = RestoreOS2FS(); 6334 6334 6335 6335 yyrc = WinSetRect(a, b, c, d, e, f); … … 6345 6345 { 6346 6346 BOOL yyrc; 6347 USHORT sel = GetFS();6347 USHORT sel = RestoreOS2FS(); 6348 6348 6349 6349 yyrc = WinSetRectEmpty(a, b); … … 6359 6359 { 6360 6360 BOOL yyrc; 6361 USHORT sel = GetFS();6361 USHORT sel = RestoreOS2FS(); 6362 6362 6363 6363 yyrc = WinSubtractRect(a, b, c, d); … … 6373 6373 { 6374 6374 BOOL yyrc; 6375 USHORT sel = GetFS();6375 USHORT sel = RestoreOS2FS(); 6376 6376 6377 6377 yyrc = WinUnionRect(a, b, c, d); … … 6389 6389 { 6390 6390 LONG yyrc; 6391 USHORT sel = GetFS();6391 USHORT sel = RestoreOS2FS(); 6392 6392 6393 6393 yyrc = WinQueryControlColors(a, b, c, d, e); … … 6403 6403 { 6404 6404 ULONG yyrc; 6405 USHORT sel = GetFS();6405 USHORT sel = RestoreOS2FS(); 6406 6406 6407 6407 yyrc = WinQueryPresParam(a, b, c, d, e, f, g); … … 6417 6417 { 6418 6418 LONG yyrc; 6419 USHORT sel = GetFS();6419 USHORT sel = RestoreOS2FS(); 6420 6420 6421 6421 yyrc = WinQuerySysColor(a, b, c); … … 6431 6431 { 6432 6432 LONG yyrc; 6433 USHORT sel = GetFS();6433 USHORT sel = RestoreOS2FS(); 6434 6434 6435 6435 yyrc = WinQuerySysValue(a, b); … … 6445 6445 { 6446 6446 BOOL yyrc; 6447 USHORT sel = GetFS();6447 USHORT sel = RestoreOS2FS(); 6448 6448 6449 6449 yyrc = WinRemovePresParam(a, b); … … 6459 6459 { 6460 6460 LONG yyrc; 6461 USHORT sel = GetFS();6461 USHORT sel = RestoreOS2FS(); 6462 6462 6463 6463 yyrc = WinSetControlColors(a, b, c, d, e); … … 6473 6473 { 6474 6474 BOOL yyrc; 6475 USHORT sel = GetFS();6475 USHORT sel = RestoreOS2FS(); 6476 6476 6477 6477 yyrc = WinSetPresParam(a, b, c, d); … … 6487 6487 { 6488 6488 BOOL yyrc; 6489 USHORT sel = GetFS();6489 USHORT sel = RestoreOS2FS(); 6490 6490 6491 6491 yyrc = WinSetSysColors(a, b, c, d, e, f); … … 6501 6501 { 6502 6502 BOOL yyrc; 6503 USHORT sel = GetFS();6503 USHORT sel = RestoreOS2FS(); 6504 6504 6505 6505 yyrc = WinSetSysValue(a, b, c); … … 6517 6517 { 6518 6518 PFN yyrc; 6519 USHORT sel = GetFS();6519 USHORT sel = RestoreOS2FS(); 6520 6520 6521 6521 yyrc = WinQueryClassThunkProc(a); … … 6531 6531 { 6532 6532 LONG yyrc; 6533 USHORT sel = GetFS();6533 USHORT sel = RestoreOS2FS(); 6534 6534 6535 6535 yyrc = WinQueryWindowModel(a); … … 6545 6545 { 6546 6546 PFN yyrc; 6547 USHORT sel = GetFS();6547 USHORT sel = RestoreOS2FS(); 6548 6548 6549 6549 yyrc = WinQueryWindowThunkProc(a); … … 6559 6559 { 6560 6560 BOOL yyrc; 6561 USHORT sel = GetFS();6561 USHORT sel = RestoreOS2FS(); 6562 6562 6563 6563 yyrc = WinSetClassThunkProc(a, b); … … 6573 6573 { 6574 6574 BOOL yyrc; 6575 USHORT sel = GetFS();6575 USHORT sel = RestoreOS2FS(); 6576 6576 6577 6577 yyrc = WinSetWindowThunkProc(a, b); … … 6589 6589 { 6590 6590 ULONG yyrc; 6591 USHORT sel = GetFS();6591 USHORT sel = RestoreOS2FS(); 6592 6592 6593 6593 yyrc = WinGetCurrentTime(a); … … 6603 6603 { 6604 6604 ULONG yyrc; 6605 USHORT sel = GetFS();6605 USHORT sel = RestoreOS2FS(); 6606 6606 6607 6607 yyrc = WinStartTimer(a, b, c, d); … … 6617 6617 { 6618 6618 BOOL yyrc; 6619 USHORT sel = GetFS();6619 USHORT sel = RestoreOS2FS(); 6620 6620 6621 6621 yyrc = WinStopTimer(a, b, c); … … 6633 6633 { 6634 6634 BOOL yyrc; 6635 USHORT sel = GetFS();6635 USHORT sel = RestoreOS2FS(); 6636 6636 6637 6637 yyrc = WinShowTrackRect(a, b); … … 6647 6647 { 6648 6648 BOOL yyrc; 6649 USHORT sel = GetFS();6649 USHORT sel = RestoreOS2FS(); 6650 6650 6651 6651 yyrc = WinTrackRect(a, b, c); … … 6664 6664 { 6665 6665 LONG yyrc; 6666 USHORT sel = GetFS();6666 USHORT sel = RestoreOS2FS(); 6667 6667 6668 6668 yyrc = GpiAnimatePalette(a, b, c, d, e); … … 6678 6678 { 6679 6679 BOOL yyrc; 6680 USHORT sel = GetFS();6680 USHORT sel = RestoreOS2FS(); 6681 6681 6682 6682 yyrc = GpiBeginArea(a, b); … … 6692 6692 { 6693 6693 BOOL yyrc; 6694 USHORT sel = GetFS();6694 USHORT sel = RestoreOS2FS(); 6695 6695 6696 6696 yyrc = GpiBeginElement(a, b, c); … … 6706 6706 { 6707 6707 BOOL yyrc; 6708 USHORT sel = GetFS();6708 USHORT sel = RestoreOS2FS(); 6709 6709 6710 6710 yyrc = GpiBeginPath(a, b); … … 6720 6720 { 6721 6721 LONG yyrc; 6722 USHORT sel = GetFS();6722 USHORT sel = RestoreOS2FS(); 6723 6723 6724 6724 yyrc = GpiBox(a, b, c, d, e); … … 6734 6734 { 6735 6735 LONG yyrc; 6736 USHORT sel = GetFS();6736 USHORT sel = RestoreOS2FS(); 6737 6737 6738 6738 yyrc = GpiCallSegmentMatrix(a, b, c, d, e); … … 6748 6748 { 6749 6749 LONG yyrc; 6750 USHORT sel = GetFS();6750 USHORT sel = RestoreOS2FS(); 6751 6751 6752 6752 yyrc = GpiCharString(a, b, c); … … 6762 6762 { 6763 6763 LONG yyrc; 6764 USHORT sel = GetFS();6764 USHORT sel = RestoreOS2FS(); 6765 6765 6766 6766 yyrc = GpiCharStringAt(a, b, c, d); … … 6776 6776 { 6777 6777 LONG yyrc; 6778 USHORT sel = GetFS();6778 USHORT sel = RestoreOS2FS(); 6779 6779 6780 6780 yyrc = GpiCharStringPos(a, b, c, d, e, f); … … 6790 6790 { 6791 6791 LONG yyrc; 6792 USHORT sel = GetFS();6792 USHORT sel = RestoreOS2FS(); 6793 6793 6794 6794 yyrc = GpiCharStringPosAt(a, b, c, d, e, f, g); … … 6804 6804 { 6805 6805 BOOL yyrc; 6806 USHORT sel = GetFS();6806 USHORT sel = RestoreOS2FS(); 6807 6807 6808 6808 yyrc = GpiCloseFigure(a); … … 6818 6818 { 6819 6819 LONG yyrc; 6820 USHORT sel = GetFS();6820 USHORT sel = RestoreOS2FS(); 6821 6821 6822 6822 yyrc = GpiCombineRegion(a, b, c, d, e); … … 6832 6832 { 6833 6833 BOOL yyrc; 6834 USHORT sel = GetFS();6834 USHORT sel = RestoreOS2FS(); 6835 6835 6836 6836 yyrc = GpiComment(a, b, c); … … 6846 6846 { 6847 6847 BOOL yyrc; 6848 USHORT sel = GetFS();6848 USHORT sel = RestoreOS2FS(); 6849 6849 6850 6850 yyrc = GpiConvert(a, b, c, d, e); … … 6860 6860 { 6861 6861 BOOL yyrc; 6862 USHORT sel = GetFS();6862 USHORT sel = RestoreOS2FS(); 6863 6863 6864 6864 yyrc = GpiConvertWithMatrix(a, b, c, d, e); … … 6874 6874 { 6875 6875 HMF yyrc; 6876 USHORT sel = GetFS();6876 USHORT sel = RestoreOS2FS(); 6877 6877 6878 6878 yyrc = GpiCopyMetaFile(a); … … 6888 6888 { 6889 6889 BOOL yyrc; 6890 USHORT sel = GetFS();6890 USHORT sel = RestoreOS2FS(); 6891 6891 6892 6892 yyrc = GpiCreateLogColorTable(a, b, c, d, e, f); … … 6902 6902 { 6903 6903 LONG yyrc; 6904 USHORT sel = GetFS();6904 USHORT sel = RestoreOS2FS(); 6905 6905 6906 6906 yyrc = GpiCreateLogFont(a, b, c, d); … … 6916 6916 { 6917 6917 HPAL yyrc; 6918 USHORT sel = GetFS();6918 USHORT sel = RestoreOS2FS(); 6919 6919 6920 6920 yyrc = GpiCreatePalette(a, b, c, d, e); … … 6930 6930 { 6931 6931 HRGN yyrc; 6932 USHORT sel = GetFS();6932 USHORT sel = RestoreOS2FS(); 6933 6933 6934 6934 yyrc = GpiCreateRegion(a, b, c); … … 6944 6944 { 6945 6945 BOOL yyrc; 6946 USHORT sel = GetFS();6946 USHORT sel = RestoreOS2FS(); 6947 6947 6948 6948 yyrc = GpiDeleteElement(a); … … 6958 6958 { 6959 6959 BOOL yyrc; 6960 USHORT sel = GetFS();6960 USHORT sel = RestoreOS2FS(); 6961 6961 6962 6962 yyrc = GpiDeleteElementRange(a, b, c); … … 6972 6972 { 6973 6973 BOOL yyrc; 6974 USHORT sel = GetFS();6974 USHORT sel = RestoreOS2FS(); 6975 6975 6976 6976 yyrc = GpiDeleteElementsBetweenLabels(a, b, c); … … 6986 6986 { 6987 6987 BOOL yyrc; 6988 USHORT sel = GetFS();6988 USHORT sel = RestoreOS2FS(); 6989 6989 6990 6990 yyrc = GpiDeleteMetaFile(a); … … 7000 7000 { 7001 7001 BOOL yyrc; 7002 USHORT sel = GetFS();7002 USHORT sel = RestoreOS2FS(); 7003 7003 7004 7004 yyrc = GpiDeletePalette(a); … … 7014 7014 { 7015 7015 BOOL yyrc; 7016 USHORT sel = GetFS();7016 USHORT sel = RestoreOS2FS(); 7017 7017 7018 7018 yyrc = GpiDeleteSetId(a, b); … … 7028 7028 { 7029 7029 BOOL yyrc; 7030 USHORT sel = GetFS();7030 USHORT sel = RestoreOS2FS(); 7031 7031 7032 7032 yyrc = GpiDestroyRegion(a, b); … … 7042 7042 { 7043 7043 LONG yyrc; 7044 USHORT sel = GetFS();7044 USHORT sel = RestoreOS2FS(); 7045 7045 7046 7046 yyrc = GpiElement(a, b, c, d, e); … … 7056 7056 { 7057 7057 LONG yyrc; 7058 USHORT sel = GetFS();7058 USHORT sel = RestoreOS2FS(); 7059 7059 7060 7060 yyrc = GpiEndArea(a); … … 7070 7070 { 7071 7071 BOOL yyrc; 7072 USHORT sel = GetFS();7072 USHORT sel = RestoreOS2FS(); 7073 7073 7074 7074 yyrc = GpiEndElement(a); … … 7084 7084 { 7085 7085 BOOL yyrc; 7086 USHORT sel = GetFS();7086 USHORT sel = RestoreOS2FS(); 7087 7087 7088 7088 yyrc = GpiEndPath(a); … … 7098 7098 { 7099 7099 LONG yyrc; 7100 USHORT sel = GetFS();7100 USHORT sel = RestoreOS2FS(); 7101 7101 7102 7102 yyrc = GpiEqualRegion(a, b, c); … … 7112 7112 { 7113 7113 LONG yyrc; 7114 USHORT sel = GetFS();7114 USHORT sel = RestoreOS2FS(); 7115 7115 7116 7116 yyrc = GpiExcludeClipRectangle(a, b); … … 7126 7126 { 7127 7127 LONG yyrc; 7128 USHORT sel = GetFS();7128 USHORT sel = RestoreOS2FS(); 7129 7129 7130 7130 yyrc = GpiFillPath(a, b, c); … … 7140 7140 { 7141 7141 LONG yyrc; 7142 USHORT sel = GetFS();7142 USHORT sel = RestoreOS2FS(); 7143 7143 7144 7144 yyrc = GpiFrameRegion(a, b, c); … … 7154 7154 { 7155 7155 LONG yyrc; 7156 USHORT sel = GetFS();7156 USHORT sel = RestoreOS2FS(); 7157 7157 7158 7158 yyrc = GpiFullArc(a, b, c); … … 7168 7168 { 7169 7169 LONG yyrc; 7170 USHORT sel = GetFS();7170 USHORT sel = RestoreOS2FS(); 7171 7171 7172 7172 yyrc = GpiImage(a, b, c, d, e); … … 7182 7182 { 7183 7183 LONG yyrc; 7184 USHORT sel = GetFS();7184 USHORT sel = RestoreOS2FS(); 7185 7185 7186 7186 yyrc = GpiIntersectClipRectangle(a, b); … … 7196 7196 { 7197 7197 BOOL yyrc; 7198 USHORT sel = GetFS();7198 USHORT sel = RestoreOS2FS(); 7199 7199 7200 7200 yyrc = GpiLabel(a, b); … … 7210 7210 { 7211 7211 LONG yyrc; 7212 USHORT sel = GetFS();7212 USHORT sel = RestoreOS2FS(); 7213 7213 7214 7214 yyrc = GpiLine(a, b); … … 7224 7224 { 7225 7225 BOOL yyrc; 7226 USHORT sel = GetFS();7226 USHORT sel = RestoreOS2FS(); 7227 7227 7228 7228 yyrc = GpiLoadFonts(a, b); … … 7238 7238 { 7239 7239 HMF yyrc; 7240 USHORT sel = GetFS();7240 USHORT sel = RestoreOS2FS(); 7241 7241 7242 7242 yyrc = GpiLoadMetaFile(a, b); … … 7252 7252 { 7253 7253 BOOL yyrc; 7254 USHORT sel = GetFS();7254 USHORT sel = RestoreOS2FS(); 7255 7255 7256 7256 yyrc = GpiLoadPublicFonts(a, b); … … 7266 7266 { 7267 7267 LONG yyrc; 7268 USHORT sel = GetFS();7268 USHORT sel = RestoreOS2FS(); 7269 7269 7270 7270 yyrc = GpiMarker(a, b); … … 7280 7280 { 7281 7281 BOOL yyrc; 7282 USHORT sel = GetFS();7282 USHORT sel = RestoreOS2FS(); 7283 7283 7284 7284 yyrc = GpiModifyPath(a, b, c); … … 7294 7294 { 7295 7295 BOOL yyrc; 7296 USHORT sel = GetFS();7296 USHORT sel = RestoreOS2FS(); 7297 7297 7298 7298 yyrc = GpiMove(a, b); … … 7308 7308 { 7309 7309 LONG yyrc; 7310 USHORT sel = GetFS();7310 USHORT sel = RestoreOS2FS(); 7311 7311 7312 7312 yyrc = GpiOffsetClipRegion(a, b); … … 7322 7322 { 7323 7323 BOOL yyrc; 7324 USHORT sel = GetFS();7324 USHORT sel = RestoreOS2FS(); 7325 7325 7326 7326 yyrc = GpiOffsetElementPointer(a, b); … … 7336 7336 { 7337 7337 BOOL yyrc; 7338 USHORT sel = GetFS();7338 USHORT sel = RestoreOS2FS(); 7339 7339 7340 7340 yyrc = GpiOffsetRegion(a, b, c); … … 7350 7350 { 7351 7351 LONG yyrc; 7352 USHORT sel = GetFS();7352 USHORT sel = RestoreOS2FS(); 7353 7353 7354 7354 yyrc = GpiOutlinePath(a, b, c); … … 7364 7364 { 7365 7365 LONG yyrc; 7366 USHORT sel = GetFS();7366 USHORT sel = RestoreOS2FS(); 7367 7367 7368 7368 yyrc = GpiPaintRegion(a, b); … … 7378 7378 { 7379 7379 LONG yyrc; 7380 USHORT sel = GetFS();7380 USHORT sel = RestoreOS2FS(); 7381 7381 7382 7382 yyrc = GpiPartialArc(a, b, c, d, e); … … 7392 7392 { 7393 7393 HRGN yyrc; 7394 USHORT sel = GetFS();7394 USHORT sel = RestoreOS2FS(); 7395 7395 7396 7396 yyrc = GpiPathToRegion(a, b, c); … … 7406 7406 { 7407 7407 LONG yyrc; 7408 USHORT sel = GetFS();7408 USHORT sel = RestoreOS2FS(); 7409 7409 7410 7410 yyrc = GpiPlayMetaFile(a, b, c, d, e, f, g); … … 7420 7420 { 7421 7421 LONG yyrc; 7422 USHORT sel = GetFS();7422 USHORT sel = RestoreOS2FS(); 7423 7423 7424 7424 yyrc = GpiPointArc(a, b); … … 7434 7434 { 7435 7435 LONG yyrc; 7436 USHORT sel = GetFS();7436 USHORT sel = RestoreOS2FS(); 7437 7437 7438 7438 yyrc = GpiPolyFillet(a, b, c); … … 7448 7448 { 7449 7449 LONG yyrc; 7450 USHORT sel = GetFS();7450 USHORT sel = RestoreOS2FS(); 7451 7451 7452 7452 yyrc = GpiPolyFilletSharp(a, b, c, d); … … 7462 7462 { 7463 7463 LONG yyrc; 7464 USHORT sel = GetFS();7464 USHORT sel = RestoreOS2FS(); 7465 7465 7466 7466 yyrc = GpiPolygons(a, b, c, d, e); … … 7476 7476 { 7477 7477 LONG yyrc; 7478 USHORT sel = GetFS();7478 USHORT sel = RestoreOS2FS(); 7479 7479 7480 7480 yyrc = GpiPolyLine(a, b, c); … … 7490 7490 { 7491 7491 LONG yyrc; 7492 USHORT sel = GetFS();7492 USHORT sel = RestoreOS2FS(); 7493 7493 7494 7494 yyrc = GpiPolyLineDisjoint(a, b, c); … … 7504 7504 { 7505 7505 LONG yyrc; 7506 USHORT sel = GetFS();7506 USHORT sel = RestoreOS2FS(); 7507 7507 7508 7508 yyrc = GpiPolyMarker(a, b, c); … … 7518 7518 { 7519 7519 LONG yyrc; 7520 USHORT sel = GetFS();7520 USHORT sel = RestoreOS2FS(); 7521 7521 7522 7522 yyrc = GpiPolySpline(a, b, c); … … 7532 7532 { 7533 7533 BOOL yyrc; 7534 USHORT sel = GetFS();7534 USHORT sel = RestoreOS2FS(); 7535 7535 7536 7536 yyrc = GpiPop(a, b); … … 7546 7546 { 7547 7547 LONG yyrc; 7548 USHORT sel = GetFS();7548 USHORT sel = RestoreOS2FS(); 7549 7549 7550 7550 yyrc = GpiPtInRegion(a, b, c); … … 7560 7560 { 7561 7561 LONG yyrc; 7562 USHORT sel = GetFS();7562 USHORT sel = RestoreOS2FS(); 7563 7563 7564 7564 yyrc = GpiPtVisible(a, b); … … 7574 7574 { 7575 7575 BOOL yyrc; 7576 USHORT sel = GetFS();7576 USHORT sel = RestoreOS2FS(); 7577 7577 7578 7578 yyrc = GpiQueryArcParams(a, b); … … 7588 7588 { 7589 7589 LONG yyrc; 7590 USHORT sel = GetFS();7590 USHORT sel = RestoreOS2FS(); 7591 7591 7592 7592 yyrc = GpiQueryAttrMode(a); … … 7602 7602 { 7603 7603 LONG yyrc; 7604 USHORT sel = GetFS();7604 USHORT sel = RestoreOS2FS(); 7605 7605 7606 7606 yyrc = GpiQueryAttrs(a, b, c, d); … … 7616 7616 { 7617 7617 LONG yyrc; 7618 USHORT sel = GetFS();7618 USHORT sel = RestoreOS2FS(); 7619 7619 7620 7620 yyrc = GpiQueryBackColor(a); … … 7630 7630 { 7631 7631 LONG yyrc; 7632 USHORT sel = GetFS();7632 USHORT sel = RestoreOS2FS(); 7633 7633 7634 7634 yyrc = GpiQueryBackMix(a); … … 7644 7644 { 7645 7645 BOOL yyrc; 7646 USHORT sel = GetFS();7646 USHORT sel = RestoreOS2FS(); 7647 7647 7648 7648 yyrc = GpiQueryCharAngle(a, b); … … 7658 7658 { 7659 7659 BOOL yyrc; 7660 USHORT sel = GetFS();7660 USHORT sel = RestoreOS2FS(); 7661 7661 7662 7662 yyrc = GpiQueryCharBox(a, b); … … 7672 7672 { 7673 7673 BOOL yyrc; 7674 USHORT sel = GetFS();7674 USHORT sel = RestoreOS2FS(); 7675 7675 7676 7676 yyrc = GpiQueryCharBreakExtra(a, b); … … 7686 7686 { 7687 7687 LONG yyrc; 7688 USHORT sel = GetFS();7688 USHORT sel = RestoreOS2FS(); 7689 7689 7690 7690 yyrc = GpiQueryCharDirection(a); … … 7700 7700 { 7701 7701 BOOL yyrc; 7702 USHORT sel = GetFS();7702 USHORT sel = RestoreOS2FS(); 7703 7703 7704 7704 yyrc = GpiQueryCharExtra(a, b); … … 7714 7714 { 7715 7715 LONG yyrc; 7716 USHORT sel = GetFS();7716 USHORT sel = RestoreOS2FS(); 7717 7717 7718 7718 yyrc = GpiQueryCharMode(a); … … 7728 7728 { 7729 7729 LONG yyrc; 7730 USHORT sel = GetFS();7730 USHORT sel = RestoreOS2FS(); 7731 7731 7732 7732 yyrc = GpiQueryCharSet(a); … … 7742 7742 { 7743 7743 BOOL yyrc; 7744 USHORT sel = GetFS();7744 USHORT sel = RestoreOS2FS(); 7745 7745 7746 7746 yyrc = GpiQueryCharShear(a, b); … … 7756 7756 { 7757 7757 BOOL yyrc; 7758 USHORT sel = GetFS();7758 USHORT sel = RestoreOS2FS(); 7759 7759 7760 7760 yyrc = GpiQueryCharStringPos(a, b, c, d, e, f); … … 7770 7770 { 7771 7771 BOOL yyrc; 7772 USHORT sel = GetFS();7772 USHORT sel = RestoreOS2FS(); 7773 7773 7774 7774 yyrc = GpiQueryCharStringPosAt(a, b, c, d, e, f, g); … … 7784 7784 { 7785 7785 LONG yyrc; 7786 USHORT sel = GetFS();7786 USHORT sel = RestoreOS2FS(); 7787 7787 7788 7788 yyrc = GpiQueryClipBox(a, b); … … 7798 7798 { 7799 7799 HRGN yyrc; 7800 USHORT sel = GetFS();7800 USHORT sel = RestoreOS2FS(); 7801 7801 7802 7802 yyrc = GpiQueryClipRegion(a); … … 7812 7812 { 7813 7813 LONG yyrc; 7814 USHORT sel = GetFS();7814 USHORT sel = RestoreOS2FS(); 7815 7815 7816 7816 yyrc = GpiQueryColor(a); … … 7826 7826 { 7827 7827 BOOL yyrc; 7828 USHORT sel = GetFS();7828 USHORT sel = RestoreOS2FS(); 7829 7829 7830 7830 yyrc = GpiQueryColorData(a, b, c); … … 7840 7840 { 7841 7841 LONG yyrc; 7842 USHORT sel = GetFS();7842 USHORT sel = RestoreOS2FS(); 7843 7843 7844 7844 yyrc = GpiQueryColorIndex(a, b, c); … … 7854 7854 { 7855 7855 ULONG yyrc; 7856 USHORT sel = GetFS();7856 USHORT sel = RestoreOS2FS(); 7857 7857 7858 7858 yyrc = GpiQueryCp(a); … … 7868 7868 { 7869 7869 BOOL yyrc; 7870 USHORT sel = GetFS();7870 USHORT sel = RestoreOS2FS(); 7871 7871 7872 7872 yyrc = GpiQueryCurrentPosition(a, b); … … 7882 7882 { 7883 7883 BOOL yyrc; 7884 USHORT sel = GetFS();7884 USHORT sel = RestoreOS2FS(); 7885 7885 7886 7886 yyrc = GpiQueryDefArcParams(a, b); … … 7896 7896 { 7897 7897 BOOL yyrc; 7898 USHORT sel = GetFS();7898 USHORT sel = RestoreOS2FS(); 7899 7899 7900 7900 yyrc = GpiQueryDefAttrs(a, b, c, d); … … 7910 7910 { 7911 7911 BOOL yyrc; 7912 USHORT sel = GetFS();7912 USHORT sel = RestoreOS2FS(); 7913 7913 7914 7914 yyrc = GpiQueryDefCharBox(a, b); … … 7924 7924 { 7925 7925 BOOL yyrc; 7926 USHORT sel = GetFS();7926 USHORT sel = RestoreOS2FS(); 7927 7927 7928 7928 yyrc = GpiQueryDefTag(a, b); … … 7938 7938 { 7939 7939 BOOL yyrc; 7940 USHORT sel = GetFS();7940 USHORT sel = RestoreOS2FS(); 7941 7941 7942 7942 yyrc = GpiQueryDefViewingLimits(a, b); … … 7952 7952 { 7953 7953 BOOL yyrc; 7954 USHORT sel = GetFS();7954 USHORT sel = RestoreOS2FS(); 7955 7955 7956 7956 yyrc = GpiQueryDefaultViewMatrix(a, b, c); … … 7966 7966 { 7967 7967 LONG yyrc; 7968 USHORT sel = GetFS();7968 USHORT sel = RestoreOS2FS(); 7969 7969 7970 7970 yyrc = GpiQueryEditMode(a); … … 7980 7980 { 7981 7981 LONG yyrc; 7982 USHORT sel = GetFS();7982 USHORT sel = RestoreOS2FS(); 7983 7983 7984 7984 yyrc = GpiQueryElement(a, b, c, d); … … 7994 7994 { 7995 7995 LONG yyrc; 7996 USHORT sel = GetFS();7996 USHORT sel = RestoreOS2FS(); 7997 7997 7998 7998 yyrc = GpiQueryElementPointer(a); … … 8008 8008 { 8009 8009 LONG yyrc; 8010 USHORT sel = GetFS();8010 USHORT sel = RestoreOS2FS(); 8011 8011 8012 8012 yyrc = GpiQueryElementType(a, b, c, d); … … 8022 8022 { 8023 8023 ULONG yyrc; 8024 USHORT sel = GetFS();8024 USHORT sel = RestoreOS2FS(); 8025 8025 8026 8026 yyrc = GpiQueryFaceString(a, b, c, d, e); … … 8036 8036 { 8037 8037 ULONG yyrc; 8038 USHORT sel = GetFS();8038 USHORT sel = RestoreOS2FS(); 8039 8039 8040 8040 yyrc = GpiQueryFontAction(a, b); … … 8050 8050 { 8051 8051 LONG yyrc; 8052 USHORT sel = GetFS();8052 USHORT sel = RestoreOS2FS(); 8053 8053 8054 8054 yyrc = GpiQueryFontFileDescriptions(a, b, c, d); … … 8064 8064 { 8065 8065 BOOL yyrc; 8066 USHORT sel = GetFS();8066 USHORT sel = RestoreOS2FS(); 8067 8067 8068 8068 yyrc = GpiQueryFontMetrics(a, b, c); … … 8078 8078 { 8079 8079 LONG yyrc; 8080 USHORT sel = GetFS();8080 USHORT sel = RestoreOS2FS(); 8081 8081 8082 8082 yyrc = GpiQueryFonts(a, b, c, d, e, f); … … 8092 8092 { 8093 8093 LONG yyrc; 8094 USHORT sel = GetFS();8094 USHORT sel = RestoreOS2FS(); 8095 8095 8096 8096 yyrc = GpiQueryFullFontFileDescs(a, b, c, d, e); … … 8106 8106 { 8107 8107 BOOL yyrc; 8108 USHORT sel = GetFS();8108 USHORT sel = RestoreOS2FS(); 8109 8109 8110 8110 yyrc = GpiQueryGraphicsField(a, b); … … 8120 8120 { 8121 8121 LONG yyrc; 8122 USHORT sel = GetFS();8122 USHORT sel = RestoreOS2FS(); 8123 8123 8124 8124 yyrc = GpiQueryKerningPairs(a, b, c); … … 8134 8134 { 8135 8135 LONG yyrc; 8136 USHORT sel = GetFS();8136 USHORT sel = RestoreOS2FS(); 8137 8137 8138 8138 yyrc = GpiQueryLineEnd(a); … … 8148 8148 { 8149 8149 LONG yyrc; 8150 USHORT sel = GetFS();8150 USHORT sel = RestoreOS2FS(); 8151 8151 8152 8152 yyrc = GpiQueryLineJoin(a); … … 8162 8162 { 8163 8163 LONG yyrc; 8164 USHORT sel = GetFS();8164 USHORT sel = RestoreOS2FS(); 8165 8165 8166 8166 yyrc = GpiQueryLineType(a); … … 8176 8176 { 8177 8177 FIXED yyrc; 8178 USHORT sel = GetFS();8178 USHORT sel = RestoreOS2FS(); 8179 8179 8180 8180 yyrc = GpiQueryLineWidth(a); … … 8190 8190 { 8191 8191 LONG yyrc; 8192 USHORT sel = GetFS();8192 USHORT sel = RestoreOS2FS(); 8193 8193 8194 8194 yyrc = GpiQueryLineWidthGeom(a); … … 8204 8204 { 8205 8205 LONG yyrc; 8206 USHORT sel = GetFS();8206 USHORT sel = RestoreOS2FS(); 8207 8207 8208 8208 yyrc = GpiQueryLogColorTable(a, b, c, d, e); … … 8218 8218 { 8219 8219 BOOL yyrc; 8220 USHORT sel = GetFS();8220 USHORT sel = RestoreOS2FS(); 8221 8221 8222 8222 yyrc = GpiQueryLogicalFont(a, b, c, d, e); … … 8232 8232 { 8233 8233 LONG yyrc; 8234 USHORT sel = GetFS();8234 USHORT sel = RestoreOS2FS(); 8235 8235 8236 8236 yyrc = GpiQueryMarker(a); … … 8246 8246 { 8247 8247 BOOL yyrc; 8248 USHORT sel = GetFS();8248 USHORT sel = RestoreOS2FS(); 8249 8249 8250 8250 yyrc = GpiQueryMarkerBox(a, b); … … 8260 8260 { 8261 8261 LONG yyrc; 8262 USHORT sel = GetFS();8262 USHORT sel = RestoreOS2FS(); 8263 8263 8264 8264 yyrc = GpiQueryMarkerSet(a); … … 8274 8274 { 8275 8275 BOOL yyrc; 8276 USHORT sel = GetFS();8276 USHORT sel = RestoreOS2FS(); 8277 8277 8278 8278 yyrc = GpiQueryMetaFileBits(a, b, c, d); … … 8288 8288 { 8289 8289 LONG yyrc; 8290 USHORT sel = GetFS();8290 USHORT sel = RestoreOS2FS(); 8291 8291 8292 8292 yyrc = GpiQueryMetaFileLength(a); … … 8302 8302 { 8303 8303 LONG yyrc; 8304 USHORT sel = GetFS();8304 USHORT sel = RestoreOS2FS(); 8305 8305 8306 8306 yyrc = GpiQueryMix(a); … … 8316 8316 { 8317 8317 BOOL yyrc; 8318 USHORT sel = GetFS();8318 USHORT sel = RestoreOS2FS(); 8319 8319 8320 8320 yyrc = GpiQueryModelTransformMatrix(a, b, c); … … 8330 8330 { 8331 8331 LONG yyrc; 8332 USHORT sel = GetFS();8332 USHORT sel = RestoreOS2FS(); 8333 8333 8334 8334 yyrc = GpiQueryNearestColor(a, b, c); … … 8344 8344 { 8345 8345 LONG yyrc; 8346 USHORT sel = GetFS();8346 USHORT sel = RestoreOS2FS(); 8347 8347 8348 8348 yyrc = GpiQueryNumberSetIds(a); … … 8358 8358 { 8359 8359 BOOL yyrc; 8360 USHORT sel = GetFS();8360 USHORT sel = RestoreOS2FS(); 8361 8361 8362 8362 yyrc = GpiQueryPageViewport(a, b); … … 8372 8372 { 8373 8373 HPAL yyrc; 8374 USHORT sel = GetFS();8374 USHORT sel = RestoreOS2FS(); 8375 8375 8376 8376 yyrc = GpiQueryPalette(a); … … 8386 8386 { 8387 8387 LONG yyrc; 8388 USHORT sel = GetFS();8388 USHORT sel = RestoreOS2FS(); 8389 8389 8390 8390 yyrc = GpiQueryPaletteInfo(a, b, c, d, e, f); … … 8400 8400 { 8401 8401 LONG yyrc; 8402 USHORT sel = GetFS();8402 USHORT sel = RestoreOS2FS(); 8403 8403 8404 8404 yyrc = GpiQueryPattern(a); … … 8414 8414 { 8415 8415 BOOL yyrc; 8416 USHORT sel = GetFS();8416 USHORT sel = RestoreOS2FS(); 8417 8417 8418 8418 yyrc = GpiQueryPatternRefPoint(a, b); … … 8428 8428 { 8429 8429 LONG yyrc; 8430 USHORT sel = GetFS();8430 USHORT sel = RestoreOS2FS(); 8431 8431 8432 8432 yyrc = GpiQueryPatternSet(a); … … 8442 8442 { 8443 8443 LONG yyrc; 8444 USHORT sel = GetFS();8444 USHORT sel = RestoreOS2FS(); 8445 8445 8446 8446 yyrc = GpiQueryRealColors(a, b, c, d, e); … … 8456 8456 { 8457 8457 LONG yyrc; 8458 USHORT sel = GetFS();8458 USHORT sel = RestoreOS2FS(); 8459 8459 8460 8460 yyrc = GpiQueryRegionBox(a, b, c); … … 8470 8470 { 8471 8471 BOOL yyrc; 8472 USHORT sel = GetFS();8472 USHORT sel = RestoreOS2FS(); 8473 8473 8474 8474 yyrc = GpiQueryRegionRects(a, b, c, d, e); … … 8484 8484 { 8485 8485 LONG yyrc; 8486 USHORT sel = GetFS();8486 USHORT sel = RestoreOS2FS(); 8487 8487 8488 8488 yyrc = GpiQueryRGBColor(a, b, c); … … 8498 8498 { 8499 8499 BOOL yyrc; 8500 USHORT sel = GetFS();8500 USHORT sel = RestoreOS2FS(); 8501 8501 8502 8502 yyrc = GpiQuerySegmentTransformMatrix(a, b, c, d); … … 8512 8512 { 8513 8513 BOOL yyrc; 8514 USHORT sel = GetFS();8514 USHORT sel = RestoreOS2FS(); 8515 8515 8516 8516 yyrc = GpiQuerySetIds(a, b, c, d, e); … … 8526 8526 { 8527 8527 BOOL yyrc; 8528 USHORT sel = GetFS();8528 USHORT sel = RestoreOS2FS(); 8529 8529 8530 8530 yyrc = GpiQueryTextAlignment(a, b, c); … … 8540 8540 { 8541 8541 BOOL yyrc; 8542 USHORT sel = GetFS();8542 USHORT sel = RestoreOS2FS(); 8543 8543 8544 8544 yyrc = GpiQueryTextBox(a, b, c, d, e); … … 8554 8554 { 8555 8555 BOOL yyrc; 8556 USHORT sel = GetFS();8556 USHORT sel = RestoreOS2FS(); 8557 8557 8558 8558 yyrc = GpiQueryViewingLimits(a, b); … … 8568 8568 { 8569 8569 BOOL yyrc; 8570 USHORT sel = GetFS();8570 USHORT sel = RestoreOS2FS(); 8571 8571 8572 8572 yyrc = GpiQueryViewingTransformMatrix(a, b, c); … … 8582 8582 { 8583 8583 BOOL yyrc; 8584 USHORT sel = GetFS();8584 USHORT sel = RestoreOS2FS(); 8585 8585 8586 8586 yyrc = GpiQueryWidthTable(a, b, c, d); … … 8596 8596 { 8597 8597 LONG yyrc; 8598 USHORT sel = GetFS();8598 USHORT sel = RestoreOS2FS(); 8599 8599 8600 8600 yyrc = GpiRectInRegion(a, b, c); … … 8610 8610 { 8611 8611 LONG yyrc; 8612 USHORT sel = GetFS();8612 USHORT sel = RestoreOS2FS(); 8613 8613 8614 8614 yyrc = GpiRectVisible(a, b); … … 8624 8624 { 8625 8625 BOOL yyrc; 8626 USHORT sel = GetFS();8626 USHORT sel = RestoreOS2FS(); 8627 8627 8628 8628 yyrc = GpiRotate(a, b, c, d, e); … … 8638 8638 { 8639 8639 BOOL yyrc; 8640 USHORT sel = GetFS();8640 USHORT sel = RestoreOS2FS(); 8641 8641 8642 8642 yyrc = GpiSaveMetaFile(a, b); … … 8652 8652 { 8653 8653 BOOL yyrc; 8654 USHORT sel = GetFS();8654 USHORT sel = RestoreOS2FS(); 8655 8655 8656 8656 yyrc = GpiScale(a, b, c, d, e); … … 8666 8666 { 8667 8667 HPAL yyrc; 8668 USHORT sel = GetFS();8668 USHORT sel = RestoreOS2FS(); 8669 8669 8670 8670 yyrc = GpiSelectPalette(a, b); … … 8680 8680 { 8681 8681 BOOL yyrc; 8682 USHORT sel = GetFS();8682 USHORT sel = RestoreOS2FS(); 8683 8683 8684 8684 yyrc = GpiSetArcParams(a, b); … … 8694 8694 { 8695 8695 BOOL yyrc; 8696 USHORT sel = GetFS();8696 USHORT sel = RestoreOS2FS(); 8697 8697 8698 8698 yyrc = GpiSetAttrMode(a, b); … … 8708 8708 { 8709 8709 BOOL yyrc; 8710 USHORT sel = GetFS();8710 USHORT sel = RestoreOS2FS(); 8711 8711 8712 8712 yyrc = GpiSetAttrs(a, b, c, d, e); … … 8722 8722 { 8723 8723 BOOL yyrc; 8724 USHORT sel = GetFS();8724 USHORT sel = RestoreOS2FS(); 8725 8725 8726 8726 yyrc = GpiSetBackColor(a, b); … … 8736 8736 { 8737 8737 BOOL yyrc; 8738 USHORT sel = GetFS();8738 USHORT sel = RestoreOS2FS(); 8739 8739 8740 8740 yyrc = GpiSetBackMix(a, b); … … 8750 8750 { 8751 8751 BOOL yyrc; 8752 USHORT sel = GetFS();8752 USHORT sel = RestoreOS2FS(); 8753 8753 8754 8754 yyrc = GpiSetCharAngle(a, b); … … 8764 8764 { 8765 8765 BOOL yyrc; 8766 USHORT sel = GetFS();8766 USHORT sel = RestoreOS2FS(); 8767 8767 8768 8768 yyrc = GpiSetCharBox(a, b); … … 8778 8778 { 8779 8779 BOOL yyrc; 8780 USHORT sel = GetFS();8780 USHORT sel = RestoreOS2FS(); 8781 8781 8782 8782 yyrc = GpiSetCharBreakExtra(a, b); … … 8792 8792 { 8793 8793 BOOL yyrc; 8794 USHORT sel = GetFS();8794 USHORT sel = RestoreOS2FS(); 8795 8795 8796 8796 yyrc = GpiSetCharDirection(a, b); … … 8806 8806 { 8807 8807 BOOL yyrc; 8808 USHORT sel = GetFS();8808 USHORT sel = RestoreOS2FS(); 8809 8809 8810 8810 yyrc = GpiSetCharExtra(a, b); … … 8820 8820 { 8821 8821 BOOL yyrc; 8822 USHORT sel = GetFS();8822 USHORT sel = RestoreOS2FS(); 8823 8823 8824 8824 yyrc = GpiSetCharMode(a, b); … … 8834 8834 { 8835 8835 BOOL yyrc; 8836 USHORT sel = GetFS();8836 USHORT sel = RestoreOS2FS(); 8837 8837 8838 8838 yyrc = GpiSetCharSet(a, b); … … 8848 8848 { 8849 8849 BOOL yyrc; 8850 USHORT sel = GetFS();8850 USHORT sel = RestoreOS2FS(); 8851 8851 8852 8852 yyrc = GpiSetCharShear(a, b); … … 8862 8862 { 8863 8863 BOOL yyrc; 8864 USHORT sel = GetFS();8864 USHORT sel = RestoreOS2FS(); 8865 8865 8866 8866 yyrc = GpiSetClipPath(a, b, c); … … 8876 8876 { 8877 8877 LONG yyrc; 8878 USHORT sel = GetFS();8878 USHORT sel = RestoreOS2FS(); 8879 8879 8880 8880 yyrc = GpiSetClipRegion(a, b, c); … … 8890 8890 { 8891 8891 BOOL yyrc; 8892 USHORT sel = GetFS();8892 USHORT sel = RestoreOS2FS(); 8893 8893 8894 8894 yyrc = GpiSetColor(a, b); … … 8904 8904 { 8905 8905 BOOL yyrc; 8906 USHORT sel = GetFS();8906 USHORT sel = RestoreOS2FS(); 8907 8907 8908 8908 yyrc = GpiSetCp(a, b); … … 8918 8918 { 8919 8919 BOOL yyrc; 8920 USHORT sel = GetFS();8920 USHORT sel = RestoreOS2FS(); 8921 8921 8922 8922 yyrc = GpiSetCurrentPosition(a, b); … … 8932 8932 { 8933 8933 BOOL yyrc; 8934 USHORT sel = GetFS();8934 USHORT sel = RestoreOS2FS(); 8935 8935 8936 8936 yyrc = GpiSetDefArcParams(a, b); … … 8946 8946 { 8947 8947 BOOL yyrc; 8948 USHORT sel = GetFS();8948 USHORT sel = RestoreOS2FS(); 8949 8949 8950 8950 yyrc = GpiSetDefAttrs(a, b, c, d); … … 8960 8960 { 8961 8961 BOOL yyrc; 8962 USHORT sel = GetFS();8962 USHORT sel = RestoreOS2FS(); 8963 8963 8964 8964 yyrc = GpiSetDefaultViewMatrix(a, b, c, d); … … 8974 8974 { 8975 8975 BOOL yyrc; 8976 USHORT sel = GetFS();8976 USHORT sel = RestoreOS2FS(); 8977 8977 8978 8978 yyrc = GpiSetDefTag(a, b); … … 8988 8988 { 8989 8989 BOOL yyrc; 8990 USHORT sel = GetFS();8990 USHORT sel = RestoreOS2FS(); 8991 8991 8992 8992 yyrc = GpiSetDefViewingLimits(a, b); … … 9002 9002 { 9003 9003 BOOL yyrc; 9004 USHORT sel = GetFS();9004 USHORT sel = RestoreOS2FS(); 9005 9005 9006 9006 yyrc = GpiSetEditMode(a, b); … … 9016 9016 { 9017 9017 BOOL yyrc; 9018 USHORT sel = GetFS();9018 USHORT sel = RestoreOS2FS(); 9019 9019 9020 9020 yyrc = GpiSetElementPointer(a, b); … … 9030 9030 { 9031 9031 BOOL yyrc; 9032 USHORT sel = GetFS();9032 USHORT sel = RestoreOS2FS(); 9033 9033 9034 9034 yyrc = GpiSetElementPointerAtLabel(a, b); … … 9044 9044 { 9045 9045 BOOL yyrc; 9046 USHORT sel = GetFS();9046 USHORT sel = RestoreOS2FS(); 9047 9047 9048 9048 yyrc = GpiSetGraphicsField(a, b); … … 9058 9058 { 9059 9059 BOOL yyrc; 9060 USHORT sel = GetFS();9060 USHORT sel = RestoreOS2FS(); 9061 9061 9062 9062 yyrc = GpiSetLineEnd(a, b); … … 9072 9072 { 9073 9073 BOOL yyrc; 9074 USHORT sel = GetFS();9074 USHORT sel = RestoreOS2FS(); 9075 9075 9076 9076 yyrc = GpiSetLineJoin(a, b); … … 9086 9086 { 9087 9087 BOOL yyrc; 9088 USHORT sel = GetFS();9088 USHORT sel = RestoreOS2FS(); 9089 9089 9090 9090 yyrc = GpiSetLineType(a, b); … … 9100 9100 { 9101 9101 BOOL yyrc; 9102 USHORT sel = GetFS();9102 USHORT sel = RestoreOS2FS(); 9103 9103 9104 9104 yyrc = GpiSetLineWidth(a, b); … … 9114 9114 { 9115 9115 BOOL yyrc; 9116 USHORT sel = GetFS();9116 USHORT sel = RestoreOS2FS(); 9117 9117 9118 9118 yyrc = GpiSetLineWidthGeom(a, b); … … 9128 9128 { 9129 9129 BOOL yyrc; 9130 USHORT sel = GetFS();9130 USHORT sel = RestoreOS2FS(); 9131 9131 9132 9132 yyrc = GpiSetMarker(a, b); … … 9142 9142 { 9143 9143 BOOL yyrc; 9144 USHORT sel = GetFS();9144 USHORT sel = RestoreOS2FS(); 9145 9145 9146 9146 yyrc = GpiSetMarkerBox(a, b); … … 9156 9156 { 9157 9157 BOOL yyrc; 9158 USHORT sel = GetFS();9158 USHORT sel = RestoreOS2FS(); 9159 9159 9160 9160 yyrc = GpiSetMarkerSet(a, b); … … 9170 9170 { 9171 9171 BOOL yyrc; 9172 USHORT sel = GetFS();9172 USHORT sel = RestoreOS2FS(); 9173 9173 9174 9174 yyrc = GpiSetMetaFileBits(a, b, c, d); … … 9184 9184 { 9185 9185 BOOL yyrc; 9186 USHORT sel = GetFS();9186 USHORT sel = RestoreOS2FS(); 9187 9187 9188 9188 yyrc = GpiSetMix(a, b); … … 9198 9198 { 9199 9199 BOOL yyrc; 9200 USHORT sel = GetFS();9200 USHORT sel = RestoreOS2FS(); 9201 9201 9202 9202 yyrc = GpiSetModelTransformMatrix(a, b, c, d); … … 9212 9212 { 9213 9213 BOOL yyrc; 9214 USHORT sel = GetFS();9214 USHORT sel = RestoreOS2FS(); 9215 9215 9216 9216 yyrc = GpiSetPageViewport(a, b); … … 9226 9226 { 9227 9227 BOOL yyrc; 9228 USHORT sel = GetFS();9228 USHORT sel = RestoreOS2FS(); 9229 9229 9230 9230 yyrc = GpiSetPaletteEntries(a, b, c, d, e); … … 9240 9240 { 9241 9241 BOOL yyrc; 9242 USHORT sel = GetFS();9242 USHORT sel = RestoreOS2FS(); 9243 9243 9244 9244 yyrc = GpiSetPattern(a, b); … … 9254 9254 { 9255 9255 BOOL yyrc; 9256 USHORT sel = GetFS();9256 USHORT sel = RestoreOS2FS(); 9257 9257 9258 9258 yyrc = GpiSetPatternRefPoint(a, b); … … 9268 9268 { 9269 9269 BOOL yyrc; 9270 USHORT sel = GetFS();9270 USHORT sel = RestoreOS2FS(); 9271 9271 9272 9272 yyrc = GpiSetPatternSet(a, b); … … 9282 9282 { 9283 9283 BOOL yyrc; 9284 USHORT sel = GetFS();9284 USHORT sel = RestoreOS2FS(); 9285 9285 9286 9286 yyrc = GpiSetRegion(a, b, c, d); … … 9296 9296 { 9297 9297 BOOL yyrc; 9298 USHORT sel = GetFS();9298 USHORT sel = RestoreOS2FS(); 9299 9299 9300 9300 yyrc = GpiSetSegmentTransformMatrix(a, b, c, d, e); … … 9310 9310 { 9311 9311 BOOL yyrc; 9312 USHORT sel = GetFS();9312 USHORT sel = RestoreOS2FS(); 9313 9313 9314 9314 yyrc = GpiSetTextAlignment(a, b, c); … … 9324 9324 { 9325 9325 BOOL yyrc; 9326 USHORT sel = GetFS();9326 USHORT sel = RestoreOS2FS(); 9327 9327 9328 9328 yyrc = GpiSetViewingLimits(a, b); … … 9338 9338 { 9339 9339 BOOL yyrc; 9340 USHORT sel = GetFS();9340 USHORT sel = RestoreOS2FS(); 9341 9341 9342 9342 yyrc = GpiSetViewingTransformMatrix(a, b, c, d); … … 9352 9352 { 9353 9353 LONG yyrc; 9354 USHORT sel = GetFS();9354 USHORT sel = RestoreOS2FS(); 9355 9355 9356 9356 yyrc = GpiStrokePath(a, b, c); … … 9366 9366 { 9367 9367 BOOL yyrc; 9368 USHORT sel = GetFS();9368 USHORT sel = RestoreOS2FS(); 9369 9369 9370 9370 yyrc = GpiTranslate(a, b, c, d); … … 9380 9380 { 9381 9381 BOOL yyrc; 9382 USHORT sel = GetFS();9382 USHORT sel = RestoreOS2FS(); 9383 9383 9384 9384 yyrc = GpiUnloadFonts(a, b); … … 9394 9394 { 9395 9395 BOOL yyrc; 9396 USHORT sel = GetFS();9396 USHORT sel = RestoreOS2FS(); 9397 9397 9398 9398 yyrc = GpiUnloadPublicFonts(a, b); … … 9409 9409 { 9410 9410 LONG yyrc; 9411 USHORT sel = GetFS();9411 USHORT sel = RestoreOS2FS(); 9412 9412 9413 9413 yyrc = GpiBitBlt(a, b, c, d, e, f); … … 9423 9423 { 9424 9424 BOOL yyrc; 9425 USHORT sel = GetFS();9425 USHORT sel = RestoreOS2FS(); 9426 9426 9427 9427 yyrc = GpiDeleteBitmap(a); … … 9437 9437 { 9438 9438 HBITMAP yyrc; 9439 USHORT sel = GetFS();9439 USHORT sel = RestoreOS2FS(); 9440 9440 9441 9441 yyrc = GpiLoadBitmap(a, b, c, d, e); … … 9451 9451 { 9452 9452 HBITMAP yyrc; 9453 USHORT sel = GetFS();9453 USHORT sel = RestoreOS2FS(); 9454 9454 9455 9455 yyrc = GpiSetBitmap(a, b); … … 9465 9465 { 9466 9466 LONG yyrc; 9467 USHORT sel = GetFS();9467 USHORT sel = RestoreOS2FS(); 9468 9468 9469 9469 yyrc = GpiWCBitBlt(a, b, c, d, e, f); … … 9479 9479 { 9480 9480 HBITMAP yyrc; 9481 USHORT sel = GetFS();9481 USHORT sel = RestoreOS2FS(); 9482 9482 9483 9483 yyrc = GpiCreateBitmap(a, b, c, d, e); … … 9493 9493 { 9494 9494 LONG yyrc; 9495 USHORT sel = GetFS();9495 USHORT sel = RestoreOS2FS(); 9496 9496 9497 9497 yyrc = GpiDrawBits(a, b, c, d, e, f, g); … … 9507 9507 { 9508 9508 LONG yyrc; 9509 USHORT sel = GetFS();9509 USHORT sel = RestoreOS2FS(); 9510 9510 9511 9511 yyrc = GpiFloodFill(a, b, c); … … 9521 9521 { 9522 9522 LONG yyrc; 9523 USHORT sel = GetFS();9523 USHORT sel = RestoreOS2FS(); 9524 9524 9525 9525 yyrc = GpiQueryBitmapBits(a, b, c, d, e); … … 9535 9535 { 9536 9536 BOOL yyrc; 9537 USHORT sel = GetFS();9537 USHORT sel = RestoreOS2FS(); 9538 9538 9539 9539 yyrc = GpiQueryBitmapDimension(a, b); … … 9549 9549 { 9550 9550 HBITMAP yyrc; 9551 USHORT sel = GetFS();9551 USHORT sel = RestoreOS2FS(); 9552 9552 9553 9553 yyrc = GpiQueryBitmapHandle(a, b); … … 9563 9563 { 9564 9564 BOOL yyrc; 9565 USHORT sel = GetFS();9565 USHORT sel = RestoreOS2FS(); 9566 9566 9567 9567 yyrc = GpiQueryBitmapInfoHeader(a, b); … … 9577 9577 { 9578 9578 BOOL yyrc; 9579 USHORT sel = GetFS();9579 USHORT sel = RestoreOS2FS(); 9580 9580 9581 9581 yyrc = GpiQueryBitmapParameters(a, b); … … 9591 9591 { 9592 9592 BOOL yyrc; 9593 USHORT sel = GetFS();9593 USHORT sel = RestoreOS2FS(); 9594 9594 9595 9595 yyrc = GpiQueryDeviceBitmapFormats(a, b, c); … … 9605 9605 { 9606 9606 LONG yyrc; 9607 USHORT sel = GetFS();9607 USHORT sel = RestoreOS2FS(); 9608 9608 9609 9609 yyrc = GpiSetBitmapBits(a, b, c, d, e); … … 9619 9619 { 9620 9620 LONG yyrc; 9621 USHORT sel = GetFS();9621 USHORT sel = RestoreOS2FS(); 9622 9622 9623 9623 yyrc = GpiQueryPel(a, b); … … 9633 9633 { 9634 9634 BOOL yyrc; 9635 USHORT sel = GetFS();9635 USHORT sel = RestoreOS2FS(); 9636 9636 9637 9637 yyrc = GpiSetBitmapDimension(a, b); … … 9647 9647 { 9648 9648 BOOL yyrc; 9649 USHORT sel = GetFS();9649 USHORT sel = RestoreOS2FS(); 9650 9650 9651 9651 yyrc = GpiSetBitmapId(a, b, c); … … 9661 9661 { 9662 9662 LONG yyrc; 9663 USHORT sel = GetFS();9663 USHORT sel = RestoreOS2FS(); 9664 9664 9665 9665 yyrc = GpiSetPel(a, b); … … 9677 9677 { 9678 9678 BOOL yyrc; 9679 USHORT sel = GetFS();9679 USHORT sel = RestoreOS2FS(); 9680 9680 9681 9681 yyrc = GpiAssociate(a, b); … … 9691 9691 { 9692 9692 HPS yyrc; 9693 USHORT sel = GetFS();9693 USHORT sel = RestoreOS2FS(); 9694 9694 9695 9695 yyrc = GpiCreatePS(a, b, c, d); … … 9705 9705 { 9706 9706 BOOL yyrc; 9707 USHORT sel = GetFS();9707 USHORT sel = RestoreOS2FS(); 9708 9708 9709 9709 yyrc = GpiDestroyPS(a); … … 9719 9719 { 9720 9720 BOOL yyrc; 9721 USHORT sel = GetFS();9721 USHORT sel = RestoreOS2FS(); 9722 9722 9723 9723 yyrc = GpiErase(a); … … 9733 9733 { 9734 9734 HDC yyrc; 9735 USHORT sel = GetFS();9735 USHORT sel = RestoreOS2FS(); 9736 9736 9737 9737 yyrc = GpiQueryDevice(a); … … 9747 9747 { 9748 9748 BOOL yyrc; 9749 USHORT sel = GetFS();9749 USHORT sel = RestoreOS2FS(); 9750 9750 9751 9751 yyrc = GpiRestorePS(a, b); … … 9761 9761 { 9762 9762 LONG yyrc; 9763 USHORT sel = GetFS();9763 USHORT sel = RestoreOS2FS(); 9764 9764 9765 9765 yyrc = GpiSavePS(a); … … 9775 9775 { 9776 9776 LONG yyrc; 9777 USHORT sel = GetFS();9777 USHORT sel = RestoreOS2FS(); 9778 9778 9779 9779 yyrc = GpiErrorSegmentData(a, b, c); … … 9789 9789 { 9790 9790 LONG yyrc; 9791 USHORT sel = GetFS();9791 USHORT sel = RestoreOS2FS(); 9792 9792 9793 9793 yyrc = GpiQueryDrawControl(a, b); … … 9803 9803 { 9804 9804 LONG yyrc; 9805 USHORT sel = GetFS();9805 USHORT sel = RestoreOS2FS(); 9806 9806 9807 9807 yyrc = GpiQueryDrawingMode(a); … … 9817 9817 { 9818 9818 ULONG yyrc; 9819 USHORT sel = GetFS();9819 USHORT sel = RestoreOS2FS(); 9820 9820 9821 9821 yyrc = GpiQueryPS(a, b); … … 9831 9831 { 9832 9832 BOOL yyrc; 9833 USHORT sel = GetFS();9833 USHORT sel = RestoreOS2FS(); 9834 9834 9835 9835 yyrc = GpiResetPS(a, b); … … 9845 9845 { 9846 9846 LONG yyrc; 9847 USHORT sel = GetFS();9847 USHORT sel = RestoreOS2FS(); 9848 9848 9849 9849 yyrc = GpiQueryStopDraw(a); … … 9859 9859 { 9860 9860 BOOL yyrc; 9861 USHORT sel = GetFS();9861 USHORT sel = RestoreOS2FS(); 9862 9862 9863 9863 yyrc = GpiSetDrawControl(a, b, c); … … 9873 9873 { 9874 9874 BOOL yyrc; 9875 USHORT sel = GetFS();9875 USHORT sel = RestoreOS2FS(); 9876 9876 9877 9877 yyrc = GpiSetDrawingMode(a, b); … … 9887 9887 { 9888 9888 BOOL yyrc; 9889 USHORT sel = GetFS();9889 USHORT sel = RestoreOS2FS(); 9890 9890 9891 9891 yyrc = GpiSetPS(a, b, c); … … 9901 9901 { 9902 9902 BOOL yyrc; 9903 USHORT sel = GetFS();9903 USHORT sel = RestoreOS2FS(); 9904 9904 9905 9905 yyrc = GpiSetStopDraw(a, b); … … 9917 9917 { 9918 9918 LONG yyrc; 9919 USHORT sel = GetFS();9919 USHORT sel = RestoreOS2FS(); 9920 9920 9921 9921 yyrc = GpiCorrelateChain(a, b, c, d, e, f); … … 9931 9931 { 9932 9932 LONG yyrc; 9933 USHORT sel = GetFS();9933 USHORT sel = RestoreOS2FS(); 9934 9934 9935 9935 yyrc = GpiCorrelateFrom(a, b, c, d, e, f, g, h); … … 9945 9945 { 9946 9946 LONG yyrc; 9947 USHORT sel = GetFS();9947 USHORT sel = RestoreOS2FS(); 9948 9948 9949 9949 yyrc = GpiCorrelateSegment(a, b, c, d, e, f, g); … … 9959 9959 { 9960 9960 BOOL yyrc; 9961 USHORT sel = GetFS();9961 USHORT sel = RestoreOS2FS(); 9962 9962 9963 9963 yyrc = GpiQueryBoundaryData(a, b); … … 9973 9973 { 9974 9974 BOOL yyrc; 9975 USHORT sel = GetFS();9975 USHORT sel = RestoreOS2FS(); 9976 9976 9977 9977 yyrc = GpiQueryPickAperturePosition(a, b); … … 9987 9987 { 9988 9988 BOOL yyrc; 9989 USHORT sel = GetFS();9989 USHORT sel = RestoreOS2FS(); 9990 9990 9991 9991 yyrc = GpiQueryPickApertureSize(a, b); … … 10001 10001 { 10002 10002 BOOL yyrc; 10003 USHORT sel = GetFS();10003 USHORT sel = RestoreOS2FS(); 10004 10004 10005 10005 yyrc = GpiQueryTag(a, b); … … 10015 10015 { 10016 10016 BOOL yyrc; 10017 USHORT sel = GetFS();10017 USHORT sel = RestoreOS2FS(); 10018 10018 10019 10019 yyrc = GpiResetBoundaryData(a); … … 10029 10029 { 10030 10030 BOOL yyrc; 10031 USHORT sel = GetFS();10031 USHORT sel = RestoreOS2FS(); 10032 10032 10033 10033 yyrc = GpiSetPickAperturePosition(a, b); … … 10043 10043 { 10044 10044 BOOL yyrc; 10045 USHORT sel = GetFS();10045 USHORT sel = RestoreOS2FS(); 10046 10046 10047 10047 yyrc = GpiSetPickApertureSize(a, b, c); … … 10057 10057 { 10058 10058 BOOL yyrc; 10059 USHORT sel = GetFS();10059 USHORT sel = RestoreOS2FS(); 10060 10060 10061 10061 yyrc = GpiSetTag(a, b); … … 10073 10073 { 10074 10074 BOOL yyrc; 10075 USHORT sel = GetFS();10075 USHORT sel = RestoreOS2FS(); 10076 10076 10077 10077 yyrc = GpiBeginInkPath(a, b, c); … … 10087 10087 { 10088 10088 BOOL yyrc; 10089 USHORT sel = GetFS();10089 USHORT sel = RestoreOS2FS(); 10090 10090 10091 10091 yyrc = GpiEndInkPath(a, b); … … 10101 10101 { 10102 10102 LONG yyrc; 10103 USHORT sel = GetFS();10103 USHORT sel = RestoreOS2FS(); 10104 10104 10105 10105 yyrc = GpiStrokeInkPath(a, b, c, d, e); … … 10117 10117 { 10118 10118 BOOL yyrc; 10119 USHORT sel = GetFS();10119 USHORT sel = RestoreOS2FS(); 10120 10120 10121 10121 yyrc = GpiCloseSegment(a); … … 10131 10131 { 10132 10132 BOOL yyrc; 10133 USHORT sel = GetFS();10133 USHORT sel = RestoreOS2FS(); 10134 10134 10135 10135 yyrc = GpiDeleteSegment(a, b); … … 10145 10145 { 10146 10146 BOOL yyrc; 10147 USHORT sel = GetFS();10147 USHORT sel = RestoreOS2FS(); 10148 10148 10149 10149 yyrc = GpiDeleteSegments(a, b, c); … … 10159 10159 { 10160 10160 BOOL yyrc; 10161 USHORT sel = GetFS();10161 USHORT sel = RestoreOS2FS(); 10162 10162 10163 10163 yyrc = GpiDrawChain(a); … … 10173 10173 { 10174 10174 BOOL yyrc; 10175 USHORT sel = GetFS();10175 USHORT sel = RestoreOS2FS(); 10176 10176 10177 10177 yyrc = GpiDrawDynamics(a); … … 10187 10187 { 10188 10188 BOOL yyrc; 10189 USHORT sel = GetFS();10189 USHORT sel = RestoreOS2FS(); 10190 10190 10191 10191 yyrc = GpiDrawFrom(a, b, c); … … 10201 10201 { 10202 10202 BOOL yyrc; 10203 USHORT sel = GetFS();10203 USHORT sel = RestoreOS2FS(); 10204 10204 10205 10205 yyrc = GpiDrawSegment(a, b); … … 10215 10215 { 10216 10216 LONG yyrc; 10217 USHORT sel = GetFS();10217 USHORT sel = RestoreOS2FS(); 10218 10218 10219 10219 yyrc = GpiGetData(a, b, c, d, e, f); … … 10229 10229 { 10230 10230 BOOL yyrc; 10231 USHORT sel = GetFS();10231 USHORT sel = RestoreOS2FS(); 10232 10232 10233 10233 yyrc = GpiOpenSegment(a, b); … … 10243 10243 { 10244 10244 LONG yyrc; 10245 USHORT sel = GetFS();10245 USHORT sel = RestoreOS2FS(); 10246 10246 10247 10247 yyrc = GpiPutData(a, b, c, d); … … 10257 10257 { 10258 10258 LONG yyrc; 10259 USHORT sel = GetFS();10259 USHORT sel = RestoreOS2FS(); 10260 10260 10261 10261 yyrc = GpiQueryInitialSegmentAttrs(a, b); … … 10271 10271 { 10272 10272 LONG yyrc; 10273 USHORT sel = GetFS();10273 USHORT sel = RestoreOS2FS(); 10274 10274 10275 10275 yyrc = GpiQuerySegmentAttrs(a, b, c); … … 10285 10285 { 10286 10286 LONG yyrc; 10287 USHORT sel = GetFS();10287 USHORT sel = RestoreOS2FS(); 10288 10288 10289 10289 yyrc = GpiQuerySegmentNames(a, b, c, d, e); … … 10299 10299 { 10300 10300 LONG yyrc; 10301 USHORT sel = GetFS();10301 USHORT sel = RestoreOS2FS(); 10302 10302 10303 10303 yyrc = GpiQuerySegmentPriority(a, b, c); … … 10313 10313 { 10314 10314 BOOL yyrc; 10315 USHORT sel = GetFS();10315 USHORT sel = RestoreOS2FS(); 10316 10316 10317 10317 yyrc = GpiRemoveDynamics(a, b, c); … … 10327 10327 { 10328 10328 BOOL yyrc; 10329 USHORT sel = GetFS();10329 USHORT sel = RestoreOS2FS(); 10330 10330 10331 10331 yyrc = GpiSetInitialSegmentAttrs(a, b, c); … … 10341 10341 { 10342 10342 BOOL yyrc; 10343 USHORT sel = GetFS();10343 USHORT sel = RestoreOS2FS(); 10344 10344 10345 10345 yyrc = GpiSetSegmentAttrs(a, b, c, d); … … 10355 10355 { 10356 10356 BOOL yyrc; 10357 USHORT sel = GetFS();10357 USHORT sel = RestoreOS2FS(); 10358 10358 10359 10359 yyrc = GpiSetSegmentPriority(a, b, c, d); … … 10371 10371 { 10372 10372 LONG yyrc; 10373 USHORT sel = GetFS();10373 USHORT sel = RestoreOS2FS(); 10374 10374 10375 10375 yyrc = DevEscape(a, b, c, d, e, f); … … 10385 10385 { 10386 10386 LONG yyrc; 10387 USHORT sel = GetFS();10387 USHORT sel = RestoreOS2FS(); 10388 10388 10389 10389 yyrc = DevPostEscape(a, b, c, d, e, f, g, h, i); … … 10399 10399 { 10400 10400 LONG yyrc; 10401 USHORT sel = GetFS();10401 USHORT sel = RestoreOS2FS(); 10402 10402 10403 10403 yyrc = DevPostDeviceModes(a, b, c, d, e, f); … … 10413 10413 { 10414 10414 BOOL yyrc; 10415 USHORT sel = GetFS();10415 USHORT sel = RestoreOS2FS(); 10416 10416 10417 10417 yyrc = DevQueryDeviceNames(a, b, c, d, e, f, g); … … 10427 10427 { 10428 10428 LONG yyrc; 10429 USHORT sel = GetFS();10429 USHORT sel = RestoreOS2FS(); 10430 10430 10431 10431 yyrc = DevQueryHardcopyCaps(a, b, c, d); … … 10442 10442 { 10443 10443 HMF yyrc; 10444 USHORT sel = GetFS();10444 USHORT sel = RestoreOS2FS(); 10445 10445 10446 10446 yyrc = DevCloseDC(a); … … 10456 10456 { 10457 10457 HDC yyrc; 10458 USHORT sel = GetFS();10458 USHORT sel = RestoreOS2FS(); 10459 10459 10460 10460 yyrc = DevOpenDC(a, b, c, d, e, f); … … 10470 10470 { 10471 10471 BOOL yyrc; 10472 USHORT sel = GetFS();10472 USHORT sel = RestoreOS2FS(); 10473 10473 10474 10474 yyrc = DevQueryCaps(a, b, c, d); … … 10486 10486 { 10487 10487 HPROGRAM yyrc; 10488 USHORT sel = GetFS();10488 USHORT sel = RestoreOS2FS(); 10489 10489 10490 10490 yyrc = PrfAddProgram(a, b, c); … … 10500 10500 { 10501 10501 BOOL yyrc; 10502 USHORT sel = GetFS();10502 USHORT sel = RestoreOS2FS(); 10503 10503 10504 10504 yyrc = PrfChangeProgram(a, b, c); … … 10514 10514 { 10515 10515 HPROGRAM yyrc; 10516 USHORT sel = GetFS();10516 USHORT sel = RestoreOS2FS(); 10517 10517 10518 10518 yyrc = PrfCreateGroup(a, b, c); … … 10528 10528 { 10529 10529 BOOL yyrc; 10530 USHORT sel = GetFS();10530 USHORT sel = RestoreOS2FS(); 10531 10531 10532 10532 yyrc = PrfDestroyGroup(a, b); … … 10542 10542 { 10543 10543 PROGCATEGORY yyrc; 10544 USHORT sel = GetFS();10544 USHORT sel = RestoreOS2FS(); 10545 10545 10546 10546 yyrc = PrfQueryProgramCategory(a, b); … … 10556 10556 { 10557 10557 ULONG yyrc; 10558 USHORT sel = GetFS();10558 USHORT sel = RestoreOS2FS(); 10559 10559 10560 10560 yyrc = PrfQueryProgramHandle(a, b, c, d, e); … … 10570 10570 { 10571 10571 ULONG yyrc; 10572 USHORT sel = GetFS();10572 USHORT sel = RestoreOS2FS(); 10573 10573 10574 10574 yyrc = PrfQueryProgramTitles(a, b, c, d, e); … … 10584 10584 { 10585 10585 ULONG yyrc; 10586 USHORT sel = GetFS();10586 USHORT sel = RestoreOS2FS(); 10587 10587 10588 10588 yyrc = PrfQueryDefinition(a, b, c, d); … … 10598 10598 { 10599 10599 BOOL yyrc; 10600 USHORT sel = GetFS();10600 USHORT sel = RestoreOS2FS(); 10601 10601 10602 10602 yyrc = PrfRemoveProgram(a, b); … … 10612 10612 { 10613 10613 HAPP yyrc; 10614 USHORT sel = GetFS();10614 USHORT sel = RestoreOS2FS(); 10615 10615 10616 10616 yyrc = WinStartApp(a, b, c, d, e); … … 10626 10626 { 10627 10627 BOOL yyrc; 10628 USHORT sel = GetFS();10628 USHORT sel = RestoreOS2FS(); 10629 10629 10630 10630 yyrc = WinTerminateApp(a); … … 10642 10642 { 10643 10643 HSWITCH yyrc; 10644 USHORT sel = GetFS();10644 USHORT sel = RestoreOS2FS(); 10645 10645 10646 10646 yyrc = WinAddSwitchEntry(a); … … 10656 10656 { 10657 10657 ULONG yyrc; 10658 USHORT sel = GetFS();10658 USHORT sel = RestoreOS2FS(); 10659 10659 10660 10660 yyrc = WinRemoveSwitchEntry(a); … … 10670 10670 { 10671 10671 ULONG yyrc; 10672 USHORT sel = GetFS();10672 USHORT sel = RestoreOS2FS(); 10673 10673 10674 10674 yyrc = WinChangeSwitchEntry(a, b); … … 10684 10684 { 10685 10685 HSWITCH yyrc; 10686 USHORT sel = GetFS();10686 USHORT sel = RestoreOS2FS(); 10687 10687 10688 10688 yyrc = WinCreateSwitchEntry(a, b); … … 10698 10698 { 10699 10699 ULONG yyrc; 10700 USHORT sel = GetFS();10700 USHORT sel = RestoreOS2FS(); 10701 10701 10702 10702 yyrc = WinQuerySessionTitle(a, b, c, d); … … 10712 10712 { 10713 10713 ULONG yyrc; 10714 USHORT sel = GetFS();10714 USHORT sel = RestoreOS2FS(); 10715 10715 10716 10716 yyrc = WinQuerySwitchEntry(a, b); … … 10726 10726 { 10727 10727 HSWITCH yyrc; 10728 USHORT sel = GetFS();10728 USHORT sel = RestoreOS2FS(); 10729 10729 10730 10730 yyrc = WinQuerySwitchHandle(a, b); … … 10740 10740 { 10741 10741 ULONG yyrc; 10742 USHORT sel = GetFS();10742 USHORT sel = RestoreOS2FS(); 10743 10743 10744 10744 yyrc = WinQuerySwitchList(a, b, c); … … 10754 10754 { 10755 10755 ULONG yyrc; 10756 USHORT sel = GetFS();10756 USHORT sel = RestoreOS2FS(); 10757 10757 10758 10758 yyrc = WinQueryTaskSizePos(a, b, c); … … 10768 10768 { 10769 10769 ULONG yyrc; 10770 USHORT sel = GetFS();10770 USHORT sel = RestoreOS2FS(); 10771 10771 10772 10772 yyrc = WinQueryTaskTitle(a, b, c); … … 10782 10782 { 10783 10783 ULONG yyrc; 10784 USHORT sel = GetFS();10784 USHORT sel = RestoreOS2FS(); 10785 10785 10786 10786 yyrc = WinSwitchToProgram(a); … … 10798 10798 { 10799 10799 BOOL yyrc; 10800 USHORT sel = GetFS();10800 USHORT sel = RestoreOS2FS(); 10801 10801 10802 10802 yyrc = PrfCloseProfile(a); … … 10812 10812 { 10813 10813 HINI yyrc; 10814 USHORT sel = GetFS();10814 USHORT sel = RestoreOS2FS(); 10815 10815 10816 10816 yyrc = PrfOpenProfile(a, b); … … 10826 10826 { 10827 10827 BOOL yyrc; 10828 USHORT sel = GetFS();10828 USHORT sel = RestoreOS2FS(); 10829 10829 10830 10830 yyrc = PrfQueryProfile(a, b); … … 10840 10840 { 10841 10841 BOOL yyrc; 10842 USHORT sel = GetFS();10842 USHORT sel = RestoreOS2FS(); 10843 10843 10844 10844 yyrc = PrfQueryProfileData(a, b, c, d, e); … … 10854 10854 { 10855 10855 LONG yyrc; 10856 USHORT sel = GetFS();10856 USHORT sel = RestoreOS2FS(); 10857 10857 10858 10858 yyrc = PrfQueryProfileInt(a, b, c, d); … … 10868 10868 { 10869 10869 BOOL yyrc; 10870 USHORT sel = GetFS();10870 USHORT sel = RestoreOS2FS(); 10871 10871 10872 10872 yyrc = PrfQueryProfileSize(a, b, c, d); … … 10882 10882 { 10883 10883 ULONG yyrc; 10884 USHORT sel = GetFS();10884 USHORT sel = RestoreOS2FS(); 10885 10885 10886 10886 yyrc = PrfQueryProfileString(a, b, c, d, e, f); … … 10896 10896 { 10897 10897 BOOL yyrc; 10898 USHORT sel = GetFS();10898 USHORT sel = RestoreOS2FS(); 10899 10899 10900 10900 yyrc = PrfReset(a, b); … … 10910 10910 { 10911 10911 BOOL yyrc; 10912 USHORT sel = GetFS();10912 USHORT sel = RestoreOS2FS(); 10913 10913 10914 10914 yyrc = PrfWriteProfileData(a, b, c, d, e); … … 10924 10924 { 10925 10925 BOOL yyrc; 10926 USHORT sel = GetFS();10926 USHORT sel = RestoreOS2FS(); 10927 10927 10928 10928 yyrc = PrfWriteProfileString(a, b, c, d); … … 10940 10940 { 10941 10941 MRESULT yyrc; 10942 USHORT sel = GetFS();10942 USHORT sel = RestoreOS2FS(); 10943 10943 10944 10944 yyrc = WinDefFileDlgProc(a, b, c, d); … … 10954 10954 { 10955 10955 HWND yyrc; 10956 USHORT sel = GetFS();10956 USHORT sel = RestoreOS2FS(); 10957 10957 10958 10958 yyrc = WinFileDlg(a, b, c); … … 10968 10968 { 10969 10969 BOOL yyrc; 10970 USHORT sel = GetFS();10970 USHORT sel = RestoreOS2FS(); 10971 10971 10972 10972 yyrc = WinFreeFileDlgList(a); … … 10984 10984 { 10985 10985 HWND yyrc; 10986 USHORT sel = GetFS();10986 USHORT sel = RestoreOS2FS(); 10987 10987 10988 10988 yyrc = WinFontDlg(a, b, c); … … 10998 10998 { 10999 10999 MRESULT yyrc; 11000 USHORT sel = GetFS();11000 USHORT sel = RestoreOS2FS(); 11001 11001 11002 11002 yyrc = WinDefFontDlgProc(a, b, c, d); … … 11014 11014 { 11015 11015 BOOL yyrc; 11016 USHORT sel = GetFS();11016 USHORT sel = RestoreOS2FS(); 11017 11017 11018 11018 yyrc = DrgAcceptDroppedFiles(a, b, c, d, e); … … 11028 11028 { 11029 11029 BOOL yyrc; 11030 USHORT sel = GetFS();11030 USHORT sel = RestoreOS2FS(); 11031 11031 11032 11032 yyrc = DrgAccessDraginfo(a); … … 11042 11042 { 11043 11043 HSTR yyrc; 11044 USHORT sel = GetFS();11044 USHORT sel = RestoreOS2FS(); 11045 11045 11046 11046 yyrc = DrgAddStrHandle(a); … … 11056 11056 { 11057 11057 PDRAGINFO yyrc; 11058 USHORT sel = GetFS();11058 USHORT sel = RestoreOS2FS(); 11059 11059 11060 11060 yyrc = DrgAllocDraginfo(a); … … 11070 11070 { 11071 11071 PDRAGTRANSFER yyrc; 11072 USHORT sel = GetFS();11072 USHORT sel = RestoreOS2FS(); 11073 11073 11074 11074 yyrc = DrgAllocDragtransfer(a); … … 11084 11084 { 11085 11085 BOOL yyrc; 11086 USHORT sel = GetFS();11086 USHORT sel = RestoreOS2FS(); 11087 11087 11088 11088 yyrc = DrgCancelLazyDrag(); … … 11098 11098 { 11099 11099 BOOL yyrc; 11100 USHORT sel = GetFS();11100 USHORT sel = RestoreOS2FS(); 11101 11101 11102 11102 yyrc = DrgDeleteDraginfoStrHandles(a); … … 11112 11112 { 11113 11113 BOOL yyrc; 11114 USHORT sel = GetFS();11114 USHORT sel = RestoreOS2FS(); 11115 11115 11116 11116 yyrc = DrgDeleteStrHandle(a); … … 11126 11126 { 11127 11127 HWND yyrc; 11128 USHORT sel = GetFS();11128 USHORT sel = RestoreOS2FS(); 11129 11129 11130 11130 yyrc = DrgDrag(a, b, c, d, e, f); … … 11140 11140 { 11141 11141 BOOL yyrc; 11142 USHORT sel = GetFS();11142 USHORT sel = RestoreOS2FS(); 11143 11143 11144 11144 yyrc = DrgDragFiles(a, b, c, d, e, f, g, h, i); … … 11154 11154 { 11155 11155 BOOL yyrc; 11156 USHORT sel = GetFS();11156 USHORT sel = RestoreOS2FS(); 11157 11157 11158 11158 yyrc = DrgFreeDraginfo(a); … … 11168 11168 { 11169 11169 BOOL yyrc; 11170 USHORT sel = GetFS();11170 USHORT sel = RestoreOS2FS(); 11171 11171 11172 11172 yyrc = DrgFreeDragtransfer(a); … … 11182 11182 { 11183 11183 HPS yyrc; 11184 USHORT sel = GetFS();11184 USHORT sel = RestoreOS2FS(); 11185 11185 11186 11186 yyrc = DrgGetPS(a); … … 11196 11196 { 11197 11197 BOOL yyrc; 11198 USHORT sel = GetFS();11198 USHORT sel = RestoreOS2FS(); 11199 11199 11200 11200 yyrc = DrgLazyDrag(a, b, c, d, e); … … 11210 11210 { 11211 11211 BOOL yyrc; 11212 USHORT sel = GetFS();11212 USHORT sel = RestoreOS2FS(); 11213 11213 11214 11214 yyrc = DrgLazyDrop(a, b, c); … … 11224 11224 { 11225 11225 BOOL yyrc; 11226 USHORT sel = GetFS();11226 USHORT sel = RestoreOS2FS(); 11227 11227 11228 11228 yyrc = DrgPostTransferMsg(a, b, c, d, e, f); … … 11238 11238 { 11239 11239 BOOL yyrc; 11240 USHORT sel = GetFS();11240 USHORT sel = RestoreOS2FS(); 11241 11241 11242 11242 yyrc = DrgPushDraginfo(a, b); … … 11252 11252 { 11253 11253 PDRAGINFO yyrc; 11254 USHORT sel = GetFS();11254 USHORT sel = RestoreOS2FS(); 11255 11255 11256 11256 yyrc = DrgQueryDraginfoPtr(a); … … 11266 11266 { 11267 11267 PDRAGINFO yyrc; 11268 USHORT sel = GetFS();11268 USHORT sel = RestoreOS2FS(); 11269 11269 11270 11270 yyrc = DrgQueryDraginfoPtrFromHwnd(a); … … 11280 11280 { 11281 11281 PDRAGINFO yyrc; 11282 USHORT sel = GetFS();11282 USHORT sel = RestoreOS2FS(); 11283 11283 11284 11284 yyrc = DrgQueryDraginfoPtrFromDragitem(a); … … 11294 11294 { 11295 11295 BOOL yyrc; 11296 USHORT sel = GetFS();11296 USHORT sel = RestoreOS2FS(); 11297 11297 11298 11298 yyrc = DrgQueryDragitem(a, b, c, d); … … 11308 11308 { 11309 11309 ULONG yyrc; 11310 USHORT sel = GetFS();11310 USHORT sel = RestoreOS2FS(); 11311 11311 11312 11312 yyrc = DrgQueryDragitemCount(a); … … 11322 11322 { 11323 11323 PDRAGITEM yyrc; 11324 USHORT sel = GetFS();11324 USHORT sel = RestoreOS2FS(); 11325 11325 11326 11326 yyrc = DrgQueryDragitemPtr(a, b); … … 11336 11336 { 11337 11337 ULONG yyrc; 11338 USHORT sel = GetFS();11338 USHORT sel = RestoreOS2FS(); 11339 11339 11340 11340 yyrc = DrgQueryDragStatus(); … … 11350 11350 { 11351 11351 BOOL yyrc; 11352 USHORT sel = GetFS();11352 USHORT sel = RestoreOS2FS(); 11353 11353 11354 11354 yyrc = DrgQueryNativeRMF(a, b, c); … … 11364 11364 { 11365 11365 ULONG yyrc; 11366 USHORT sel = GetFS();11366 USHORT sel = RestoreOS2FS(); 11367 11367 11368 11368 yyrc = DrgQueryNativeRMFLen(a); … … 11378 11378 { 11379 11379 ULONG yyrc; 11380 USHORT sel = GetFS();11380 USHORT sel = RestoreOS2FS(); 11381 11381 11382 11382 yyrc = DrgQueryStrName(a, b, c); … … 11392 11392 { 11393 11393 ULONG yyrc; 11394 USHORT sel = GetFS();11394 USHORT sel = RestoreOS2FS(); 11395 11395 11396 11396 yyrc = DrgQueryStrNameLen(a); … … 11406 11406 { 11407 11407 BOOL yyrc; 11408 USHORT sel = GetFS();11408 USHORT sel = RestoreOS2FS(); 11409 11409 11410 11410 yyrc = DrgQueryTrueType(a, b, c); … … 11420 11420 { 11421 11421 ULONG yyrc; 11422 USHORT sel = GetFS();11422 USHORT sel = RestoreOS2FS(); 11423 11423 11424 11424 yyrc = DrgQueryTrueTypeLen(a); … … 11434 11434 { 11435 11435 PDRAGINFO yyrc; 11436 USHORT sel = GetFS();11436 USHORT sel = RestoreOS2FS(); 11437 11437 11438 11438 yyrc = DrgReallocDraginfo(a, b); … … 11448 11448 { 11449 11449 BOOL yyrc; 11450 USHORT sel = GetFS();11450 USHORT sel = RestoreOS2FS(); 11451 11451 11452 11452 yyrc = DrgReleasePS(a); … … 11462 11462 { 11463 11463 MRESULT yyrc; 11464 USHORT sel = GetFS();11464 USHORT sel = RestoreOS2FS(); 11465 11465 11466 11466 yyrc = DrgSendTransferMsg(a, b, c, d); … … 11476 11476 { 11477 11477 BOOL yyrc; 11478 USHORT sel = GetFS();11478 USHORT sel = RestoreOS2FS(); 11479 11479 11480 11480 yyrc = DrgSetDragImage(a, b, c, d); … … 11490 11490 { 11491 11491 BOOL yyrc; 11492 USHORT sel = GetFS();11492 USHORT sel = RestoreOS2FS(); 11493 11493 11494 11494 yyrc = DrgSetDragitem(a, b, c, d); … … 11504 11504 { 11505 11505 BOOL yyrc; 11506 USHORT sel = GetFS();11506 USHORT sel = RestoreOS2FS(); 11507 11507 11508 11508 yyrc = DrgSetDragPointer(a, b); … … 11518 11518 { 11519 11519 BOOL yyrc; 11520 USHORT sel = GetFS();11520 USHORT sel = RestoreOS2FS(); 11521 11521 11522 11522 yyrc = DrgVerifyNativeRMF(a, b); … … 11532 11532 { 11533 11533 BOOL yyrc; 11534 USHORT sel = GetFS();11534 USHORT sel = RestoreOS2FS(); 11535 11535 11536 11536 yyrc = DrgVerifyRMF(a, b, c); … … 11546 11546 { 11547 11547 BOOL yyrc; 11548 USHORT sel = GetFS();11548 USHORT sel = RestoreOS2FS(); 11549 11549 11550 11550 yyrc = DrgVerifyTrueType(a, b); … … 11560 11560 { 11561 11561 BOOL yyrc; 11562 USHORT sel = GetFS();11562 USHORT sel = RestoreOS2FS(); 11563 11563 11564 11564 yyrc = DrgVerifyType(a, b); … … 11574 11574 { 11575 11575 BOOL yyrc; 11576 USHORT sel = GetFS();11576 USHORT sel = RestoreOS2FS(); 11577 11577 11578 11578 yyrc = DrgVerifyTypeSet(a, b, c, d); … … 11590 11590 { 11591 11591 HOBJECT yyrc; 11592 USHORT sel = GetFS();11592 USHORT sel = RestoreOS2FS(); 11593 11593 11594 11594 yyrc = WinCopyObject(a, b, c); … … 11604 11604 { 11605 11605 HOBJECT yyrc; 11606 USHORT sel = GetFS();11606 USHORT sel = RestoreOS2FS(); 11607 11607 11608 11608 yyrc = WinCreateObject(a, b, c, d, e); … … 11618 11618 { 11619 11619 HOBJECT yyrc; 11620 USHORT sel = GetFS();11620 USHORT sel = RestoreOS2FS(); 11621 11621 11622 11622 yyrc = WinCreateShadow(a, b, c); … … 11632 11632 { 11633 11633 BOOL yyrc; 11634 USHORT sel = GetFS();11634 USHORT sel = RestoreOS2FS(); 11635 11635 11636 11636 yyrc = WinDeregisterObjectClass(a); … … 11646 11646 { 11647 11647 BOOL yyrc; 11648 USHORT sel = GetFS();11648 USHORT sel = RestoreOS2FS(); 11649 11649 11650 11650 yyrc = WinDestroyObject(a); … … 11660 11660 { 11661 11661 BOOL yyrc; 11662 USHORT sel = GetFS();11662 USHORT sel = RestoreOS2FS(); 11663 11663 11664 11664 yyrc = WinEnumObjectClasses(a, b); … … 11674 11674 { 11675 11675 BOOL yyrc; 11676 USHORT sel = GetFS();11676 USHORT sel = RestoreOS2FS(); 11677 11677 11678 11678 yyrc = WinIsSOMDDReady(); … … 11688 11688 { 11689 11689 BOOL yyrc; 11690 USHORT sel = GetFS();11690 USHORT sel = RestoreOS2FS(); 11691 11691 11692 11692 yyrc = WinIsWPDServerReady(); … … 11702 11702 { 11703 11703 HOBJECT yyrc; 11704 USHORT sel = GetFS();11704 USHORT sel = RestoreOS2FS(); 11705 11705 11706 11706 yyrc = WinMoveObject(a, b, c); … … 11716 11716 { 11717 11717 BOOL yyrc; 11718 USHORT sel = GetFS();11718 USHORT sel = RestoreOS2FS(); 11719 11719 11720 11720 yyrc = WinOpenObject(a, b, c); … … 11730 11730 { 11731 11731 BOOL yyrc; 11732 USHORT sel = GetFS();11732 USHORT sel = RestoreOS2FS(); 11733 11733 11734 11734 yyrc = WinQueryActiveDesktopPathname(a, b); … … 11744 11744 { 11745 11745 HOBJECT yyrc; 11746 USHORT sel = GetFS();11746 USHORT sel = RestoreOS2FS(); 11747 11747 11748 11748 yyrc = WinQueryObject(a); … … 11758 11758 { 11759 11759 BOOL yyrc; 11760 USHORT sel = GetFS();11760 USHORT sel = RestoreOS2FS(); 11761 11761 11762 11762 yyrc = WinQueryObjectPath(a, b, c); … … 11772 11772 { 11773 11773 BOOL yyrc; 11774 USHORT sel = GetFS();11774 USHORT sel = RestoreOS2FS(); 11775 11775 11776 11776 yyrc = WinRegisterObjectClass(a, b); … … 11786 11786 { 11787 11787 BOOL yyrc; 11788 USHORT sel = GetFS();11788 USHORT sel = RestoreOS2FS(); 11789 11789 11790 11790 yyrc = WinReplaceObjectClass(a, b, c); … … 11800 11800 { 11801 11801 ULONG yyrc; 11802 USHORT sel = GetFS();11802 USHORT sel = RestoreOS2FS(); 11803 11803 11804 11804 yyrc = WinRestartSOMDD(a); … … 11814 11814 { 11815 11815 ULONG yyrc; 11816 USHORT sel = GetFS();11816 USHORT sel = RestoreOS2FS(); 11817 11817 11818 11818 yyrc = WinRestartWPDServer(a); … … 11828 11828 { 11829 11829 BOOL yyrc; 11830 USHORT sel = GetFS();11830 USHORT sel = RestoreOS2FS(); 11831 11831 11832 11832 yyrc = WinSaveObject(a, b); … … 11842 11842 { 11843 11843 BOOL yyrc; 11844 USHORT sel = GetFS();11844 USHORT sel = RestoreOS2FS(); 11845 11845 11846 11846 yyrc = WinSetObjectData(a, b); … … 11856 11856 { 11857 11857 BOOL yyrc; 11858 USHORT sel = GetFS();11858 USHORT sel = RestoreOS2FS(); 11859 11859 11860 11860 yyrc = WinFreeFileIcon(a); … … 11870 11870 { 11871 11871 HPOINTER yyrc; 11872 USHORT sel = GetFS();11872 USHORT sel = RestoreOS2FS(); 11873 11873 11874 11874 yyrc = WinLoadFileIcon(a, b); … … 11884 11884 { 11885 11885 BOOL yyrc; 11886 USHORT sel = GetFS();11886 USHORT sel = RestoreOS2FS(); 11887 11887 11888 11888 yyrc = WinRestoreWindowPos(a, b, c); … … 11898 11898 { 11899 11899 BOOL yyrc; 11900 USHORT sel = GetFS();11900 USHORT sel = RestoreOS2FS(); 11901 11901 11902 11902 yyrc = WinSetFileIcon(a, b); … … 11912 11912 { 11913 11913 BOOL yyrc; 11914 USHORT sel = GetFS();11914 USHORT sel = RestoreOS2FS(); 11915 11915 11916 11916 yyrc = WinShutdownSystem(a, b); … … 11926 11926 { 11927 11927 BOOL yyrc; 11928 USHORT sel = GetFS();11928 USHORT sel = RestoreOS2FS(); 11929 11929 11930 11930 yyrc = WinStoreWindowPos(a, b, c); … … 11942 11942 { 11943 11943 BOOL yyrc; 11944 USHORT sel = GetFS();11944 USHORT sel = RestoreOS2FS(); 11945 11945 11946 11946 yyrc = SplStdClose(a); … … 11956 11956 { 11957 11957 BOOL yyrc; 11958 USHORT sel = GetFS();11958 USHORT sel = RestoreOS2FS(); 11959 11959 11960 11960 yyrc = SplStdDelete(a); … … 11970 11970 { 11971 11971 BOOL yyrc; 11972 USHORT sel = GetFS();11972 USHORT sel = RestoreOS2FS(); 11973 11973 11974 11974 yyrc = SplStdGetBits(a, b, c, d); … … 11984 11984 { 11985 11985 BOOL yyrc; 11986 USHORT sel = GetFS();11986 USHORT sel = RestoreOS2FS(); 11987 11987 11988 11988 yyrc = SplStdOpen(a); … … 11998 11998 { 11999 11999 LONG yyrc; 12000 USHORT sel = GetFS();12000 USHORT sel = RestoreOS2FS(); 12001 12001 12002 12002 yyrc = SplStdQueryLength(a); … … 12012 12012 { 12013 12013 BOOL yyrc; 12014 USHORT sel = GetFS();12014 USHORT sel = RestoreOS2FS(); 12015 12015 12016 12016 yyrc = SplStdStart(a); … … 12026 12026 { 12027 12027 HSTD yyrc; 12028 USHORT sel = GetFS();12028 USHORT sel = RestoreOS2FS(); 12029 12029 12030 12030 yyrc = SplStdStop(a); … … 12040 12040 { 12041 12041 SPLERR yyrc; 12042 USHORT sel = GetFS();12042 USHORT sel = RestoreOS2FS(); 12043 12043 12044 12044 yyrc = SplControlDevice(a, b, c); … … 12054 12054 { 12055 12055 SPLERR yyrc; 12056 USHORT sel = GetFS();12056 USHORT sel = RestoreOS2FS(); 12057 12057 12058 12058 yyrc = SplCopyJob(a, b, c, d, e, f); … … 12068 12068 { 12069 12069 SPLERR yyrc; 12070 USHORT sel = GetFS();12070 USHORT sel = RestoreOS2FS(); 12071 12071 12072 12072 yyrc = SplCreateDevice(a, b, c, d); … … 12082 12082 { 12083 12083 SPLERR yyrc; 12084 USHORT sel = GetFS();12084 USHORT sel = RestoreOS2FS(); 12085 12085 12086 12086 yyrc = SplCreatePort(a, b, c, d, e, f); … … 12096 12096 { 12097 12097 SPLERR yyrc; 12098 USHORT sel = GetFS();12098 USHORT sel = RestoreOS2FS(); 12099 12099 12100 12100 yyrc = SplCreateQueue(a, b, c, d); … … 12110 12110 { 12111 12111 SPLERR yyrc; 12112 USHORT sel = GetFS();12112 USHORT sel = RestoreOS2FS(); 12113 12113 12114 12114 yyrc = SplDeleteDevice(a, b); … … 12124 12124 { 12125 12125 SPLERR yyrc; 12126 USHORT sel = GetFS();12126 USHORT sel = RestoreOS2FS(); 12127 12127 12128 12128 yyrc = SplDeleteJob(a, b, c); … … 12138 12138 { 12139 12139 SPLERR yyrc; 12140 USHORT sel = GetFS();12140 USHORT sel = RestoreOS2FS(); 12141 12141 12142 12142 yyrc = SplDeletePort(a, b); … … 12152 12152 { 12153 12153 SPLERR yyrc; 12154 USHORT sel = GetFS();12154 USHORT sel = RestoreOS2FS(); 12155 12155 12156 12156 yyrc = SplDeleteQueue(a, b); … … 12166 12166 { 12167 12167 SPLERR yyrc; 12168 USHORT sel = GetFS();12168 USHORT sel = RestoreOS2FS(); 12169 12169 12170 12170 yyrc = SplEnumDevice(a, b, c, d, e, f, g, h); … … 12180 12180 { 12181 12181 SPLERR yyrc; 12182 USHORT sel = GetFS();12182 USHORT sel = RestoreOS2FS(); 12183 12183 12184 12184 yyrc = SplEnumDriver(a, b, c, d, e, f, g, h); … … 12194 12194 { 12195 12195 SPLERR yyrc; 12196 USHORT sel = GetFS();12196 USHORT sel = RestoreOS2FS(); 12197 12197 12198 12198 yyrc = SplEnumJob(a, b, c, d, e, f, g, h, i); … … 12208 12208 { 12209 12209 SPLERR yyrc; 12210 USHORT sel = GetFS();12210 USHORT sel = RestoreOS2FS(); 12211 12211 12212 12212 yyrc = SplEnumPort(a, b, c, d, e, f, g, h); … … 12222 12222 { 12223 12223 SPLERR yyrc; 12224 USHORT sel = GetFS();12224 USHORT sel = RestoreOS2FS(); 12225 12225 12226 12226 yyrc = SplEnumPrinter(a, b, c, d, e, f, g, h, i); … … 12236 12236 { 12237 12237 SPLERR yyrc; 12238 USHORT sel = GetFS();12238 USHORT sel = RestoreOS2FS(); 12239 12239 12240 12240 yyrc = SplEnumQueue(a, b, c, d, e, f, g, h); … … 12250 12250 { 12251 12251 SPLERR yyrc; 12252 USHORT sel = GetFS();12252 USHORT sel = RestoreOS2FS(); 12253 12253 12254 12254 yyrc = SplEnumQueueProcessor(a, b, c, d, e, f, g, h); … … 12264 12264 { 12265 12265 SPLERR yyrc; 12266 USHORT sel = GetFS();12266 USHORT sel = RestoreOS2FS(); 12267 12267 12268 12268 yyrc = SplHoldJob(a, b, c); … … 12278 12278 { 12279 12279 SPLERR yyrc; 12280 USHORT sel = GetFS();12280 USHORT sel = RestoreOS2FS(); 12281 12281 12282 12282 yyrc = SplHoldQueue(a, b); … … 12292 12292 { 12293 12293 SPLERR yyrc; 12294 USHORT sel = GetFS();12294 USHORT sel = RestoreOS2FS(); 12295 12295 12296 12296 yyrc = SplPurgeQueue(a, b); … … 12306 12306 { 12307 12307 SPLERR yyrc; 12308 USHORT sel = GetFS();12308 USHORT sel = RestoreOS2FS(); 12309 12309 12310 12310 yyrc = SplQueryDevice(a, b, c, d, e, f); … … 12320 12320 { 12321 12321 SPLERR yyrc; 12322 USHORT sel = GetFS();12322 USHORT sel = RestoreOS2FS(); 12323 12323 12324 12324 yyrc = SplQueryDriver(a, b, c, d, e, f, g); … … 12334 12334 { 12335 12335 SPLERR yyrc; 12336 USHORT sel = GetFS();12336 USHORT sel = RestoreOS2FS(); 12337 12337 12338 12338 yyrc = SplQueryJob(a, b, c, d, e, f, g); … … 12348 12348 { 12349 12349 SPLERR yyrc; 12350 USHORT sel = GetFS();12350 USHORT sel = RestoreOS2FS(); 12351 12351 12352 12352 yyrc = SplQueryPort(a, b, c, d, e, f); … … 12362 12362 { 12363 12363 SPLERR yyrc; 12364 USHORT sel = GetFS();12364 USHORT sel = RestoreOS2FS(); 12365 12365 12366 12366 yyrc = SplQueryQueue(a, b, c, d, e, f); … … 12376 12376 { 12377 12377 SPLERR yyrc; 12378 USHORT sel = GetFS();12378 USHORT sel = RestoreOS2FS(); 12379 12379 12380 12380 yyrc = SplReleaseJob(a, b, c); … … 12390 12390 { 12391 12391 SPLERR yyrc; 12392 USHORT sel = GetFS();12392 USHORT sel = RestoreOS2FS(); 12393 12393 12394 12394 yyrc = SplReleaseQueue(a, b); … … 12404 12404 { 12405 12405 SPLERR yyrc; 12406 USHORT sel = GetFS();12406 USHORT sel = RestoreOS2FS(); 12407 12407 12408 12408 yyrc = SplSetDevice(a, b, c, d, e, f); … … 12418 12418 { 12419 12419 SPLERR yyrc; 12420 USHORT sel = GetFS();12420 USHORT sel = RestoreOS2FS(); 12421 12421 12422 12422 yyrc = SplSetDriver(a, b, c, d, e, f, g); … … 12432 12432 { 12433 12433 SPLERR yyrc; 12434 USHORT sel = GetFS();12434 USHORT sel = RestoreOS2FS(); 12435 12435 12436 12436 yyrc = SplSetJob(a, b, c, d, e, f, g); … … 12446 12446 { 12447 12447 SPLERR yyrc; 12448 USHORT sel = GetFS();12448 USHORT sel = RestoreOS2FS(); 12449 12449 12450 12450 yyrc = SplSetPort(a, b, c, d, e, f); … … 12460 12460 { 12461 12461 SPLERR yyrc; 12462 USHORT sel = GetFS();12462 USHORT sel = RestoreOS2FS(); 12463 12463 12464 12464 yyrc = SplSetQueue(a, b, c, d, e, f); … … 12474 12474 { 12475 12475 ULONG yyrc; 12476 USHORT sel = GetFS();12476 USHORT sel = RestoreOS2FS(); 12477 12477 12478 12478 yyrc = SplMessageBox(a, b, c, d, e, f, g); … … 12488 12488 { 12489 12489 BOOL yyrc; 12490 USHORT sel = GetFS();12490 USHORT sel = RestoreOS2FS(); 12491 12491 12492 12492 yyrc = SplQmAbort(a); … … 12502 12502 { 12503 12503 BOOL yyrc; 12504 USHORT sel = GetFS();12504 USHORT sel = RestoreOS2FS(); 12505 12505 12506 12506 yyrc = SplQmAbortDoc(a); … … 12516 12516 { 12517 12517 BOOL yyrc; 12518 USHORT sel = GetFS();12518 USHORT sel = RestoreOS2FS(); 12519 12519 12520 12520 yyrc = SplQmClose(a); … … 12530 12530 { 12531 12531 BOOL yyrc; 12532 USHORT sel = GetFS();12532 USHORT sel = RestoreOS2FS(); 12533 12533 12534 12534 yyrc = SplQmEndDoc(a); … … 12544 12544 { 12545 12545 ULONG yyrc; 12546 USHORT sel = GetFS();12546 USHORT sel = RestoreOS2FS(); 12547 12547 12548 12548 yyrc = SplQmGetJobID(a, b, c, d, e); … … 12558 12558 { 12559 12559 BOOL yyrc; 12560 USHORT sel = GetFS();12560 USHORT sel = RestoreOS2FS(); 12561 12561 12562 12562 yyrc = SplQmNewPage(a, b); … … 12572 12572 { 12573 12573 HSPL yyrc; 12574 USHORT sel = GetFS();12574 USHORT sel = RestoreOS2FS(); 12575 12575 12576 12576 yyrc = SplQmOpen(a, b, c); … … 12586 12586 { 12587 12587 BOOL yyrc; 12588 USHORT sel = GetFS();12588 USHORT sel = RestoreOS2FS(); 12589 12589 12590 12590 yyrc = SplQmStartDoc(a, b); … … 12600 12600 { 12601 12601 BOOL yyrc; 12602 USHORT sel = GetFS();12602 USHORT sel = RestoreOS2FS(); 12603 12603 12604 12604 yyrc = SplQmWrite(a, b, c); … … 12616 12616 { 12617 12617 BOOL yyrc; 12618 USHORT sel = GetFS();12618 USHORT sel = RestoreOS2FS(); 12619 12619 12620 12620 yyrc = WinAssociateHelpInstance(a, b); … … 12630 12630 { 12631 12631 HWND yyrc; 12632 USHORT sel = GetFS();12632 USHORT sel = RestoreOS2FS(); 12633 12633 12634 12634 yyrc = WinCreateHelpInstance(a, b); … … 12644 12644 { 12645 12645 BOOL yyrc; 12646 USHORT sel = GetFS();12646 USHORT sel = RestoreOS2FS(); 12647 12647 12648 12648 yyrc = WinCreateHelpTable(a, b); … … 12658 12658 { 12659 12659 BOOL yyrc; 12660 USHORT sel = GetFS();12660 USHORT sel = RestoreOS2FS(); 12661 12661 12662 12662 yyrc = WinDestroyHelpInstance(a); … … 12672 12672 { 12673 12673 BOOL yyrc; 12674 USHORT sel = GetFS();12674 USHORT sel = RestoreOS2FS(); 12675 12675 12676 12676 yyrc = WinLoadHelpTable(a, b, c); … … 12686 12686 { 12687 12687 HWND yyrc; 12688 USHORT sel = GetFS();12688 USHORT sel = RestoreOS2FS(); 12689 12689 12690 12690 yyrc = WinQueryHelpInstance(a); … … 12702 12702 { 12703 12703 BOOL yyrc; 12704 USHORT sel = GetFS();12704 USHORT sel = RestoreOS2FS(); 12705 12705 12706 12706 yyrc = DdfBeginList(a, b, c, d); … … 12716 12716 { 12717 12717 BOOL yyrc; 12718 USHORT sel = GetFS();12718 USHORT sel = RestoreOS2FS(); 12719 12719 12720 12720 yyrc = DdfBitmap(a, b, c); … … 12730 12730 { 12731 12731 BOOL yyrc; 12732 USHORT sel = GetFS();12732 USHORT sel = RestoreOS2FS(); 12733 12733 12734 12734 yyrc = DdfEndList(a); … … 12744 12744 { 12745 12745 BOOL yyrc; 12746 USHORT sel = GetFS();12746 USHORT sel = RestoreOS2FS(); 12747 12747 12748 12748 yyrc = DdfHyperText(a, b, c, d); … … 12758 12758 { 12759 12759 BOOL yyrc; 12760 USHORT sel = GetFS();12760 USHORT sel = RestoreOS2FS(); 12761 12761 12762 12762 yyrc = DdfInform(a, b, c); … … 12772 12772 { 12773 12773 HDDF yyrc; 12774 USHORT sel = GetFS();12774 USHORT sel = RestoreOS2FS(); 12775 12775 12776 12776 yyrc = DdfInitialize(a, b, c); … … 12786 12786 { 12787 12787 BOOL yyrc; 12788 USHORT sel = GetFS();12788 USHORT sel = RestoreOS2FS(); 12789 12789 12790 12790 yyrc = DdfListItem(a, b, c); … … 12800 12800 { 12801 12801 BOOL yyrc; 12802 USHORT sel = GetFS();12802 USHORT sel = RestoreOS2FS(); 12803 12803 12804 12804 yyrc = DdfMetafile(a, b, c); … … 12814 12814 { 12815 12815 BOOL yyrc; 12816 USHORT sel = GetFS();12816 USHORT sel = RestoreOS2FS(); 12817 12817 12818 12818 yyrc = DdfPara(a); … … 12828 12828 { 12829 12829 BOOL yyrc; 12830 USHORT sel = GetFS();12830 USHORT sel = RestoreOS2FS(); 12831 12831 12832 12832 yyrc = DdfSetColor(a, b, c); … … 12842 12842 { 12843 12843 BOOL yyrc; 12844 USHORT sel = GetFS();12844 USHORT sel = RestoreOS2FS(); 12845 12845 12846 12846 yyrc = DdfSetFont(a, b, c, d); … … 12856 12856 { 12857 12857 BOOL yyrc; 12858 USHORT sel = GetFS();12858 USHORT sel = RestoreOS2FS(); 12859 12859 12860 12860 yyrc = DdfSetFontStyle(a, b); … … 12870 12870 { 12871 12871 BOOL yyrc; 12872 USHORT sel = GetFS();12872 USHORT sel = RestoreOS2FS(); 12873 12873 12874 12874 yyrc = DdfSetFormat(a, b); … … 12884 12884 { 12885 12885 BOOL yyrc; 12886 USHORT sel = GetFS();12886 USHORT sel = RestoreOS2FS(); 12887 12887 12888 12888 yyrc = DdfSetTextAlign(a, b); … … 12898 12898 { 12899 12899 BOOL yyrc; 12900 USHORT sel = GetFS();12900 USHORT sel = RestoreOS2FS(); 12901 12901 12902 12902 yyrc = DdfText(a, b); … … 12914 12914 { 12915 12915 USHORT yyrc; 12916 USHORT sel = GetFS();12916 USHORT sel = RestoreOS2FS(); 12917 12917 12918 12918 yyrc = VIO16ASSOCIATE(a, b); … … 12928 12928 { 12929 12929 USHORT yyrc; 12930 USHORT sel = GetFS();12930 USHORT sel = RestoreOS2FS(); 12931 12931 12932 12932 yyrc = VIO16CREATELOGFONT(a, b, c, d); … … 12942 12942 { 12943 12943 USHORT yyrc; 12944 USHORT sel = GetFS();12944 USHORT sel = RestoreOS2FS(); 12945 12945 12946 12946 yyrc = VIO16CREATEPS(a, b, c, d, e, f); … … 12956 12956 { 12957 12957 USHORT yyrc; 12958 USHORT sel = GetFS();12958 USHORT sel = RestoreOS2FS(); 12959 12959 12960 12960 yyrc = VIO16DELETESETID(a, b); … … 12970 12970 { 12971 12971 USHORT yyrc; 12972 USHORT sel = GetFS();12972 USHORT sel = RestoreOS2FS(); 12973 12973 12974 12974 yyrc = VIO16DESTROYPS(a); … … 12984 12984 { 12985 12985 USHORT yyrc; 12986 USHORT sel = GetFS();12986 USHORT sel = RestoreOS2FS(); 12987 12987 12988 12988 yyrc = VIO16GETDEVICECELLSIZE(a, b, c); … … 12998 12998 { 12999 12999 USHORT yyrc; 13000 USHORT sel = GetFS();13000 USHORT sel = RestoreOS2FS(); 13001 13001 13002 13002 yyrc = VIO16GETORG(a, b, c); … … 13012 13012 { 13013 13013 USHORT yyrc; 13014 USHORT sel = GetFS();13014 USHORT sel = RestoreOS2FS(); 13015 13015 13016 13016 yyrc = VIO16QUERYFONTS(a, b, c, d, e, f, g); … … 13026 13026 { 13027 13027 USHORT yyrc; 13028 USHORT sel = GetFS();13028 USHORT sel = RestoreOS2FS(); 13029 13029 13030 13030 yyrc = VIO16QUERYSETIDS(a, b, c, d, e); … … 13040 13040 { 13041 13041 USHORT yyrc; 13042 USHORT sel = GetFS();13042 USHORT sel = RestoreOS2FS(); 13043 13043 13044 13044 yyrc = VIO16SETDEVICECELLSIZE(a, b, c); … … 13054 13054 { 13055 13055 USHORT yyrc; 13056 USHORT sel = GetFS();13056 USHORT sel = RestoreOS2FS(); 13057 13057 13058 13058 yyrc = VIO16SETORG(a, b, c); … … 13068 13068 { 13069 13069 USHORT yyrc; 13070 USHORT sel = GetFS();13070 USHORT sel = RestoreOS2FS(); 13071 13071 13072 13072 yyrc = VIO16SHOWPS(a, b, c, d); … … 13082 13082 { 13083 13083 MRESULT yyrc; 13084 USHORT sel = GetFS();13084 USHORT sel = RestoreOS2FS(); 13085 13085 13086 13086 yyrc = WinDefAVioWindowProc(a, b, c, d); … … 13098 13098 { 13099 13099 USHORT yyrc; 13100 USHORT sel = GetFS();13100 USHORT sel = RestoreOS2FS(); 13101 13101 13102 13102 yyrc = KbdCharIn(a, b, c); … … 13112 13112 { 13113 13113 USHORT yyrc; 13114 USHORT sel = GetFS();13114 USHORT sel = RestoreOS2FS(); 13115 13115 13116 13116 yyrc = KbdClose(a); … … 13126 13126 { 13127 13127 USHORT yyrc; 13128 USHORT sel = GetFS();13128 USHORT sel = RestoreOS2FS(); 13129 13129 13130 13130 yyrc = KbdDeRegister(); … … 13140 13140 { 13141 13141 USHORT yyrc; 13142 USHORT sel = GetFS();13142 USHORT sel = RestoreOS2FS(); 13143 13143 13144 13144 yyrc = KbdFlushBuffer(a); … … 13154 13154 { 13155 13155 USHORT yyrc; 13156 USHORT sel = GetFS();13156 USHORT sel = RestoreOS2FS(); 13157 13157 13158 13158 yyrc = KbdFreeFocus(a); … … 13168 13168 { 13169 13169 USHORT yyrc; 13170 USHORT sel = GetFS();13170 USHORT sel = RestoreOS2FS(); 13171 13171 13172 13172 yyrc = KbdGetCp(a, b, c); … … 13182 13182 { 13183 13183 USHORT yyrc; 13184 USHORT sel = GetFS();13184 USHORT sel = RestoreOS2FS(); 13185 13185 13186 13186 yyrc = KbdGetFocus(a, b); … … 13196 13196 { 13197 13197 USHORT yyrc; 13198 USHORT sel = GetFS();13198 USHORT sel = RestoreOS2FS(); 13199 13199 13200 13200 yyrc = KbdGetHWID(a, b); … … 13210 13210 { 13211 13211 USHORT yyrc; 13212 USHORT sel = GetFS();13212 USHORT sel = RestoreOS2FS(); 13213 13213 13214 13214 yyrc = KbdGetStatus(a, b); … … 13224 13224 { 13225 13225 USHORT yyrc; 13226 USHORT sel = GetFS();13226 USHORT sel = RestoreOS2FS(); 13227 13227 13228 13228 yyrc = KbdOpen(a); … … 13238 13238 { 13239 13239 USHORT yyrc; 13240 USHORT sel = GetFS();13240 USHORT sel = RestoreOS2FS(); 13241 13241 13242 13242 yyrc = KbdPeek(a, b); … … 13252 13252 { 13253 13253 USHORT yyrc; 13254 USHORT sel = GetFS();13254 USHORT sel = RestoreOS2FS(); 13255 13255 13256 13256 yyrc = KbdRegister(a, b, c); … … 13266 13266 { 13267 13267 USHORT yyrc; 13268 USHORT sel = GetFS();13268 USHORT sel = RestoreOS2FS(); 13269 13269 13270 13270 yyrc = KbdSetCp(a, b, c); … … 13280 13280 { 13281 13281 USHORT yyrc; 13282 USHORT sel = GetFS();13282 USHORT sel = RestoreOS2FS(); 13283 13283 13284 13284 yyrc = KbdSetCustXt(a, b); … … 13294 13294 { 13295 13295 USHORT yyrc; 13296 USHORT sel = GetFS();13296 USHORT sel = RestoreOS2FS(); 13297 13297 13298 13298 yyrc = KbdSetFgnd(); … … 13308 13308 { 13309 13309 USHORT yyrc; 13310 USHORT sel = GetFS();13310 USHORT sel = RestoreOS2FS(); 13311 13311 13312 13312 yyrc = KbdSetHWID(a, b); … … 13322 13322 { 13323 13323 USHORT yyrc; 13324 USHORT sel = GetFS();13324 USHORT sel = RestoreOS2FS(); 13325 13325 13326 13326 yyrc = KbdSetStatus(a, b); … … 13336 13336 { 13337 13337 USHORT yyrc; 13338 USHORT sel = GetFS();13338 USHORT sel = RestoreOS2FS(); 13339 13339 13340 13340 yyrc = KbdStringIn(a, b, c, d); … … 13350 13350 { 13351 13351 USHORT yyrc; 13352 USHORT sel = GetFS();13352 USHORT sel = RestoreOS2FS(); 13353 13353 13354 13354 yyrc = KbdSynch(a); … … 13364 13364 { 13365 13365 USHORT yyrc; 13366 USHORT sel = GetFS();13366 USHORT sel = RestoreOS2FS(); 13367 13367 13368 13368 yyrc = KbdXlate(a, b); … … 13380 13380 { 13381 13381 USHORT yyrc; 13382 USHORT sel = GetFS();13382 USHORT sel = RestoreOS2FS(); 13383 13383 13384 13384 yyrc = VIO16CHECKCHARTYPE(a, b, c, d); … … 13394 13394 { 13395 13395 USHORT yyrc; 13396 USHORT sel = GetFS();13396 USHORT sel = RestoreOS2FS(); 13397 13397 13398 13398 yyrc = VIO16DEREGISTER(); … … 13408 13408 { 13409 13409 USHORT yyrc; 13410 USHORT sel = GetFS();13410 USHORT sel = RestoreOS2FS(); 13411 13411 13412 13412 yyrc = VIO16ENDPOPUP(a); … … 13422 13422 { 13423 13423 USHORT yyrc; 13424 USHORT sel = GetFS();13424 USHORT sel = RestoreOS2FS(); 13425 13425 13426 13426 yyrc = VIO16GETANSI(a, b); … … 13436 13436 { 13437 13437 USHORT yyrc; 13438 USHORT sel = GetFS();13438 USHORT sel = RestoreOS2FS(); 13439 13439 13440 13440 yyrc = VIO16GETBUF(a, b, c); … … 13450 13450 { 13451 13451 USHORT yyrc; 13452 USHORT sel = GetFS();13452 USHORT sel = RestoreOS2FS(); 13453 13453 13454 13454 yyrc = VIO16GETCONFIG(a, b, c); … … 13464 13464 { 13465 13465 USHORT yyrc; 13466 USHORT sel = GetFS();13466 USHORT sel = RestoreOS2FS(); 13467 13467 13468 13468 yyrc = VIO16GETCP(a, b, c); … … 13478 13478 { 13479 13479 USHORT yyrc; 13480 USHORT sel = GetFS();13480 USHORT sel = RestoreOS2FS(); 13481 13481 13482 13482 yyrc = VIO16GETCURPOS(a, b, c); … … 13492 13492 { 13493 13493 USHORT yyrc; 13494 USHORT sel = GetFS();13494 USHORT sel = RestoreOS2FS(); 13495 13495 13496 13496 yyrc = VIO16GETCURTYPE(a, b); … … 13506 13506 { 13507 13507 USHORT yyrc; 13508 USHORT sel = GetFS();13508 USHORT sel = RestoreOS2FS(); 13509 13509 13510 13510 yyrc = VIO16GETFONT(a, b); … … 13520 13520 { 13521 13521 USHORT yyrc; 13522 USHORT sel = GetFS();13522 USHORT sel = RestoreOS2FS(); 13523 13523 13524 13524 yyrc = VIO16GETMODE(a, b); … … 13534 13534 { 13535 13535 USHORT yyrc; 13536 USHORT sel = GetFS();13536 USHORT sel = RestoreOS2FS(); 13537 13537 13538 13538 yyrc = VIO16GETPHYSBUF(a, b); … … 13548 13548 { 13549 13549 USHORT yyrc; 13550 USHORT sel = GetFS();13550 USHORT sel = RestoreOS2FS(); 13551 13551 13552 13552 yyrc = VIO16GETSTATE(a, b); … … 13562 13562 { 13563 13563 USHORT yyrc; 13564 USHORT sel = GetFS();13564 USHORT sel = RestoreOS2FS(); 13565 13565 13566 13566 yyrc = VIO16MODEUNDO(a, b, c); … … 13576 13576 { 13577 13577 USHORT yyrc; 13578 USHORT sel = GetFS();13578 USHORT sel = RestoreOS2FS(); 13579 13579 13580 13580 yyrc = VIO16MODEWAIT(a, b, c); … … 13590 13590 { 13591 13591 USHORT yyrc; 13592 USHORT sel = GetFS();13592 USHORT sel = RestoreOS2FS(); 13593 13593 13594 13594 yyrc = VIO16POPUP(a, b); … … 13604 13604 { 13605 13605 USHORT yyrc; 13606 USHORT sel = GetFS();13606 USHORT sel = RestoreOS2FS(); 13607 13607 13608 13608 yyrc = VIO16PRTSC(a); … … 13618 13618 { 13619 13619 USHORT yyrc; 13620 USHORT sel = GetFS();13620 USHORT sel = RestoreOS2FS(); 13621 13621 13622 13622 yyrc = VIO16PRTSCTOGGLE(a); … … 13632 13632 { 13633 13633 USHORT yyrc; 13634 USHORT sel = GetFS();13634 USHORT sel = RestoreOS2FS(); 13635 13635 13636 13636 yyrc = VIO16READCELLSTR(a, b, c, d, e); … … 13646 13646 { 13647 13647 USHORT yyrc; 13648 USHORT sel = GetFS();13648 USHORT sel = RestoreOS2FS(); 13649 13649 13650 13650 yyrc = VIO16READCHARSTR(a, b, c, d, e); … … 13660 13660 { 13661 13661 USHORT yyrc; 13662 USHORT sel = GetFS();13662 USHORT sel = RestoreOS2FS(); 13663 13663 13664 13664 yyrc = VIO16REGISTER(a, b, c, d); … … 13674 13674 { 13675 13675 USHORT yyrc; 13676 USHORT sel = GetFS();13676 USHORT sel = RestoreOS2FS(); 13677 13677 13678 13678 yyrc = VIO16SAVREDRAWUNDO(a, b, c); … … 13688 13688 { 13689 13689 USHORT yyrc; 13690 USHORT sel = GetFS();13690 USHORT sel = RestoreOS2FS(); 13691 13691 13692 13692 yyrc = VIO16SAVREDRAWWAIT(a, b, c); … … 13702 13702 { 13703 13703 USHORT yyrc; 13704 USHORT sel = GetFS();13704 USHORT sel = RestoreOS2FS(); 13705 13705 13706 13706 yyrc = VIO16SCRLOCK(a, b, c); … … 13716 13716 { 13717 13717 USHORT yyrc; 13718 USHORT sel = GetFS();13718 USHORT sel = RestoreOS2FS(); 13719 13719 13720 13720 yyrc = VIO16SCROLLDN(a, b, c, d, e, f, g); … … 13730 13730 { 13731 13731 USHORT yyrc; 13732 USHORT sel = GetFS();13732 USHORT sel = RestoreOS2FS(); 13733 13733 13734 13734 yyrc = VIO16SCROLLLF(a, b, c, d, e, f, g); … … 13744 13744 { 13745 13745 USHORT yyrc; 13746 USHORT sel = GetFS();13746 USHORT sel = RestoreOS2FS(); 13747 13747 13748 13748 yyrc = VIO16SCROLLRT(a, b, c, d, e, f, g); … … 13758 13758 { 13759 13759 USHORT yyrc; 13760 USHORT sel = GetFS();13760 USHORT sel = RestoreOS2FS(); 13761 13761 13762 13762 yyrc = VIO16SCROLLUP(a, b, c, d, e, f, g); … … 13772 13772 { 13773 13773 USHORT yyrc; 13774 USHORT sel = GetFS();13774 USHORT sel = RestoreOS2FS(); 13775 13775 13776 13776 yyrc = VIO16SCRUNLOCK(a); … … 13786 13786 { 13787 13787 USHORT yyrc; 13788 USHORT sel = GetFS();13788 USHORT sel = RestoreOS2FS(); 13789 13789 13790 13790 yyrc = VIO16SETANSI(a, b); … … 13800 13800 { 13801 13801 USHORT yyrc; 13802 USHORT sel = GetFS();13802 USHORT sel = RestoreOS2FS(); 13803 13803 13804 13804 yyrc = VIO16SETCP(a, b, c); … … 13814 13814 { 13815 13815 USHORT yyrc; 13816 USHORT sel = GetFS();13816 USHORT sel = RestoreOS2FS(); 13817 13817 13818 13818 yyrc = VIO16SETCURPOS(a, b, c); … … 13828 13828 { 13829 13829 USHORT yyrc; 13830 USHORT sel = GetFS();13830 USHORT sel = RestoreOS2FS(); 13831 13831 13832 13832 yyrc = VIO16SETCURTYPE(a, b); … … 13842 13842 { 13843 13843 USHORT yyrc; 13844 USHORT sel = GetFS();13844 USHORT sel = RestoreOS2FS(); 13845 13845 13846 13846 yyrc = VIO16SETFONT(a, b); … … 13856 13856 { 13857 13857 USHORT yyrc; 13858 USHORT sel = GetFS();13858 USHORT sel = RestoreOS2FS(); 13859 13859 13860 13860 yyrc = VIO16SETMODE(a, b); … … 13870 13870 { 13871 13871 USHORT yyrc; 13872 USHORT sel = GetFS();13872 USHORT sel = RestoreOS2FS(); 13873 13873 13874 13874 yyrc = VIO16SETSTATE(a, b); … … 13884 13884 { 13885 13885 USHORT yyrc; 13886 USHORT sel = GetFS();13886 USHORT sel = RestoreOS2FS(); 13887 13887 13888 13888 yyrc = VIO16SHOWBUF(a, b, c); … … 13898 13898 { 13899 13899 USHORT yyrc; 13900 USHORT sel = GetFS();13900 USHORT sel = RestoreOS2FS(); 13901 13901 13902 13902 yyrc = VIO16WRTCELLSTR(a, b, c, d, e); … … 13912 13912 { 13913 13913 USHORT yyrc; 13914 USHORT sel = GetFS();13914 USHORT sel = RestoreOS2FS(); 13915 13915 13916 13916 yyrc = VIO16WRTCHARSTR(a, b, c, d, e); … … 13926 13926 { 13927 13927 USHORT yyrc; 13928 USHORT sel = GetFS();13928 USHORT sel = RestoreOS2FS(); 13929 13929 13930 13930 yyrc = VIO16WRTCHARSTRATT(a, b, c, d, e, f); … … 13940 13940 { 13941 13941 USHORT yyrc; 13942 USHORT sel = GetFS();13942 USHORT sel = RestoreOS2FS(); 13943 13943 13944 13944 yyrc = VIO16WRTNATTR(a, b, c, d, e); … … 13954 13954 { 13955 13955 USHORT yyrc; 13956 USHORT sel = GetFS();13956 USHORT sel = RestoreOS2FS(); 13957 13957 13958 13958 yyrc = VIO16WRTNCELL(a, b, c, d, e); … … 13968 13968 { 13969 13969 USHORT yyrc; 13970 USHORT sel = GetFS();13970 USHORT sel = RestoreOS2FS(); 13971 13971 13972 13972 yyrc = VIO16WRTNCHAR(a, b, c, d, e); … … 13982 13982 { 13983 13983 USHORT yyrc; 13984 USHORT sel = GetFS();13984 USHORT sel = RestoreOS2FS(); 13985 13985 13986 13986 yyrc = VIO16WRTTTY(a, b, c); … … 13998 13998 { 13999 13999 USHORT yyrc; 14000 USHORT sel = GetFS();14000 USHORT sel = RestoreOS2FS(); 14001 14001 14002 14002 yyrc = MOU16CLOSE(a); … … 14012 14012 { 14013 14013 USHORT yyrc; 14014 USHORT sel = GetFS();14014 USHORT sel = RestoreOS2FS(); 14015 14015 14016 14016 yyrc = MOU16DEREGISTER(); … … 14026 14026 { 14027 14027 USHORT yyrc; 14028 USHORT sel = GetFS();14028 USHORT sel = RestoreOS2FS(); 14029 14029 14030 14030 yyrc = MOU16DRAWPTR(a); … … 14040 14040 { 14041 14041 USHORT yyrc; 14042 USHORT sel = GetFS();14042 USHORT sel = RestoreOS2FS(); 14043 14043 14044 14044 yyrc = MOU16FLUSHQUE(a); … … 14054 14054 { 14055 14055 USHORT yyrc; 14056 USHORT sel = GetFS();14056 USHORT sel = RestoreOS2FS(); 14057 14057 14058 14058 yyrc = MOU16GETDEVSTATUS(a, b); … … 14068 14068 { 14069 14069 USHORT yyrc; 14070 USHORT sel = GetFS();14070 USHORT sel = RestoreOS2FS(); 14071 14071 14072 14072 yyrc = MOU16GETEVENTMASK(a, b); … … 14082 14082 { 14083 14083 USHORT yyrc; 14084 USHORT sel = GetFS();14084 USHORT sel = RestoreOS2FS(); 14085 14085 14086 14086 yyrc = MOU16GETNUMBUTTONS(a, b); … … 14096 14096 { 14097 14097 USHORT yyrc; 14098 USHORT sel = GetFS();14098 USHORT sel = RestoreOS2FS(); 14099 14099 14100 14100 yyrc = MOU16GETNUMMICKEYS(a, b); … … 14110 14110 { 14111 14111 USHORT yyrc; 14112 USHORT sel = GetFS();14112 USHORT sel = RestoreOS2FS(); 14113 14113 14114 14114 yyrc = MOU16GETNUMQUEEL(a, b); … … 14124 14124 { 14125 14125 USHORT yyrc; 14126 USHORT sel = GetFS();14126 USHORT sel = RestoreOS2FS(); 14127 14127 14128 14128 yyrc = MOU16GETPTRPOS(a, b); … … 14138 14138 { 14139 14139 USHORT yyrc; 14140 USHORT sel = GetFS();14140 USHORT sel = RestoreOS2FS(); 14141 14141 14142 14142 yyrc = MOU16GETPTRSHAPE(a, b, c); … … 14152 14152 { 14153 14153 USHORT yyrc; 14154 USHORT sel = GetFS();14154 USHORT sel = RestoreOS2FS(); 14155 14155 14156 14156 yyrc = MOU16GETSCALEFACT(a, b); … … 14166 14166 { 14167 14167 USHORT yyrc; 14168 USHORT sel = GetFS();14168 USHORT sel = RestoreOS2FS(); 14169 14169 14170 14170 yyrc = MOU16GETTHRESHOLD(a, b); … … 14180 14180 { 14181 14181 USHORT yyrc; 14182 USHORT sel = GetFS();14182 USHORT sel = RestoreOS2FS(); 14183 14183 14184 14184 yyrc = MOU16INITREAL(a); … … 14194 14194 { 14195 14195 USHORT yyrc; 14196 USHORT sel = GetFS();14196 USHORT sel = RestoreOS2FS(); 14197 14197 14198 14198 yyrc = MOU16OPEN(a, b); … … 14208 14208 { 14209 14209 USHORT yyrc; 14210 USHORT sel = GetFS();14210 USHORT sel = RestoreOS2FS(); 14211 14211 14212 14212 yyrc = MOU16READEVENTQUE(a, b, c); … … 14222 14222 { 14223 14223 USHORT yyrc; 14224 USHORT sel = GetFS();14224 USHORT sel = RestoreOS2FS(); 14225 14225 14226 14226 yyrc = MOU16REGISTER(a, b, c); … … 14236 14236 { 14237 14237 USHORT yyrc; 14238 USHORT sel = GetFS();14238 USHORT sel = RestoreOS2FS(); 14239 14239 14240 14240 yyrc = MOU16REMOVEPTR(a, b); … … 14250 14250 { 14251 14251 USHORT yyrc; 14252 USHORT sel = GetFS();14252 USHORT sel = RestoreOS2FS(); 14253 14253 14254 14254 yyrc = MOU16SETDEVSTATUS(a, b); … … 14264 14264 { 14265 14265 USHORT yyrc; 14266 USHORT sel = GetFS();14266 USHORT sel = RestoreOS2FS(); 14267 14267 14268 14268 yyrc = MOU16SETEVENTMASK(a, b); … … 14278 14278 { 14279 14279 USHORT yyrc; 14280 USHORT sel = GetFS();14280 USHORT sel = RestoreOS2FS(); 14281 14281 14282 14282 yyrc = MOU16SETPTRPOS(a, b); … … 14292 14292 { 14293 14293 USHORT yyrc; 14294 USHORT sel = GetFS();14294 USHORT sel = RestoreOS2FS(); 14295 14295 14296 14296 yyrc = MOU16SETPTRSHAPE(a, b, c); … … 14306 14306 { 14307 14307 USHORT yyrc; 14308 USHORT sel = GetFS();14308 USHORT sel = RestoreOS2FS(); 14309 14309 14310 14310 yyrc = MOU16SETSCALEFACT(a, b); … … 14320 14320 { 14321 14321 USHORT yyrc; 14322 USHORT sel = GetFS();14322 USHORT sel = RestoreOS2FS(); 14323 14323 14324 14324 yyrc = MOU16SETTHRESHOLD(a, b); … … 14334 14334 { 14335 14335 USHORT yyrc; 14336 USHORT sel = GetFS();14336 USHORT sel = RestoreOS2FS(); 14337 14337 14338 14338 yyrc = MOU16SYNCH(a); -
trunk/include/winos2def.h
r175 r223 1 /* $Id: winos2def.h,v 1. 5 1999-06-24 08:46:35sandervl Exp $ */1 /* $Id: winos2def.h,v 1.6 1999-06-26 18:24:23 sandervl Exp $ */ 2 2 3 3 /* … … 49 49 { 50 50 BOOL yyrc; 51 USHORT sel = GetFS();51 USHORT sel = RestoreOS2FS(); 52 52 53 53 yyrc = WinPostMsg(a, b, c, d); … … 63 63 { 64 64 ULONG yyrc; 65 USHORT sel = GetFS();65 USHORT sel = RestoreOS2FS(); 66 66 67 67 yyrc = DosSleep(a); … … 110 110 { 111 111 ULONG yyrc; 112 USHORT sel = GetFS();112 USHORT sel = RestoreOS2FS(); 113 113 114 114 yyrc = DosQueryCtryInfo(a, b, c, d); -
trunk/src/kernel32/KERNEL32.DEF
r126 r223 1 ; $Id: KERNEL32.DEF,v 1.1 2 1999-06-20 10:55:35sandervl Exp $1 ; $Id: KERNEL32.DEF,v 1.13 1999-06-26 18:24:49 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 967 967 RestoreOS2TIB = _RestoreOS2TIB@0 @1228 968 968 SetWin32TIB = _SetWin32TIB@0 @1229 969 RestoreOS2FS = RestoreOS2FS @1230 -
trunk/src/kernel32/except.asm
r123 r223 1 ; $Id: except.asm,v 1. 4 1999-06-19 13:57:51sandervl Exp $1 ; $Id: except.asm,v 1.5 1999-06-26 18:24:50 sandervl Exp $ 2 2 3 3 ;/* … … 181 181 getSS endp 182 182 183 PUBLIC RestoreOS2FS 184 RestoreOS2FS proc near 185 push 150bh 186 mov ax, fs 187 pop fs 188 ret 189 RestoreOS2FS endp 183 190 CODE32 ENDS 184 191 -
trunk/src/kernel32/kernel32exp.def
r126 r223 1 ; $Id: kernel32exp.def,v 1. 5 1999-06-20 10:55:36sandervl Exp $1 ; $Id: kernel32exp.def,v 1.6 1999-06-26 18:24:50 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 832 832 _RestoreOS2TIB@0 @1228 833 833 _SetWin32TIB@0 @1229 834 RestoreOS2FS @1230 -
trunk/src/user32/wndclass.cpp
r220 r223 1 /* $Id: wndclass.cpp,v 1.1 2 1999-06-26 15:07:01sandervl Exp $ */1 /* $Id: wndclass.cpp,v 1.13 1999-06-26 18:25:08 sandervl Exp $ */ 2 2 3 3 /* … … 25 25 #include <nameid.h> 26 26 #include <spy.h> 27 #include <wprocess.h> 27 28 #include "hooks.h" 28 29 … … 70 71 LRESULT rc; 71 72 73 //Restore our FS selector 74 SetWin32TIB(); 75 72 76 PostSpyMessage(hwnd, Msg, wParam, lParam); 73 77 switch(Msg) … … 75 79 case WM_LBUTTONDOWN: 76 80 rc = ButtonHandler(hwnd, Msg, wParam, lParam); 81 //Restore our FS selector 82 SetWin32TIB(); 77 83 78 84 NotifyParent(hwnd, Msg, wParam, lParam); … … 97 103 case WM_RBUTTONDOWN: 98 104 rc = ButtonHandler(hwnd, Msg, wParam, lParam); 105 //Restore our FS selector 106 SetWin32TIB(); 99 107 NotifyParent(hwnd, Msg, wParam, lParam); 108 RestoreOS2TIB(); 100 109 return rc; 101 110 … … 104 113 break; 105 114 } 106 return ButtonHandler(hwnd, Msg, wParam, lParam); 115 rc = ButtonHandler(hwnd, Msg, wParam, lParam); 116 RestoreOS2TIB(); 117 return rc; 107 118 } 108 119 //****************************************************************************** … … 827 838 Win32WindowProc *window; 828 839 840 //Restore our FS selector 841 SetWin32TIB(); 842 829 843 if(Msg == WM_MOUSEACTIVATE) 830 844 { … … 839 853 840 854 if(HkCBT::OS2HkCBTProc(hwnd, Msg, wParam, lParam) == TRUE) {//hook swallowed msg 855 RestoreOS2TIB(); 841 856 return(0); 842 857 } … … 862 877 863 878 NotifyParent(hwnd, WM_CREATE, wParam, lParam); 879 RestoreOS2TIB(); 864 880 return(rc); 865 881 … … 898 914 break; 899 915 } 900 return wclass->GetWinCallback()(hwnd, Msg, wParam, lParam); 916 rc = wclass->GetWinCallback()(hwnd, Msg, wParam, lParam); 917 RestoreOS2TIB(); 918 return rc; 901 919 } 902 920 } 903 921 dprintf(("OS2ToWinCallback: couldn't find class procedure of window %X\n", hwnd)); 922 RestoreOS2TIB(); 904 923 return(0); 905 924 } -
trunk/src/user32/wndproc.cpp
r218 r223 1 /* $Id: wndproc.cpp,v 1.1 0 1999-06-26 14:09:45sandervl Exp $ */1 /* $Id: wndproc.cpp,v 1.11 1999-06-26 18:25:08 sandervl Exp $ */ 2 2 3 3 /* … … 21 21 #include <wndclass.h> 22 22 #include <spy.h> 23 #include <wprocess.h> 23 24 #include "dlgconvert.h" 24 25 #include "hooks.h" … … 289 290 LRESULT rc; 290 291 292 //Restore our FS selector 293 SetWin32TIB(); 294 291 295 if(Msg == WM_MOUSEACTIVATE) 292 296 { … … 302 306 303 307 if(HkCBT::OS2HkCBTProc(hwnd, Msg, wParam, lParam) == TRUE) {//hook swallowed msg 308 RestoreOS2TIB(); 304 309 return(0); 305 310 } … … 321 326 case WM_CREATE: //Open32 isn't sending WM_NCCREATE messages!! 322 327 if(curwnd->SendMessageA(hwnd, WM_NCCREATE, 0, lParam) == 0) { 323 dprintf(("WM_NCCREATE returned FALSE\n")); 324 return(-1); //don't create window 328 dprintf(("WM_NCCREATE returned FALSE\n")); 329 RestoreOS2TIB(); 330 return(-1); //don't create window 325 331 } 326 332 … … 329 335 #if 0 330 336 if(curwnd->SendMessageA(hwnd, WM_NCCALCSIZE, 0, lParam) == 0) { 337 RestoreOS2TIB(); 331 338 return(-1); //don't create window 332 339 } … … 357 364 delete curwnd; 358 365 } 366 RestoreOS2TIB(); 359 367 return rc; 360 368 } … … 370 378 wnd = new Win32WindowProc(wclass->GetClassCallback(szClass)); 371 379 wnd->SetWindowHandle(hwnd); 372 return(WndCallback(hwnd, Msg, wParam, lParam)); 380 rc = WndCallback(hwnd, Msg, wParam, lParam); 381 RestoreOS2TIB(); 382 return rc; 373 383 } 374 384 } 375 385 dprintf(("wnd Callback, can't find window %X %d!!!!\n", hwnd, Msg)); 386 RestoreOS2TIB(); 376 387 return 0; 377 388 }
Note:
See TracChangeset
for help on using the changeset viewer.
