Changeset 5813 for trunk/src/gdi32/gdi32.cpp
- Timestamp:
- May 28, 2001, 11:17:55 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/gdi32.cpp
r5760 r5813 1 /* $Id: gdi32.cpp,v 1.7 0 2001-05-19 19:43:53 sandervlExp $ */1 /* $Id: gdi32.cpp,v 1.71 2001-05-28 09:17:54 phaller Exp $ */ 2 2 3 3 /* … … 1395 1395 } 1396 1396 //****************************************************************************** 1397 //******************************************************************************1398 UINT WIN32API DeleteColorSpace( /*KSO Thu 21.05.1998*/1399 HCOLORSPACE hColorSpace1400 )1401 {1402 dprintf(("GDI32: DeleteColorSpace - stub\n"));1403 return FALSE;1404 }1405 //******************************************************************************1406 //******************************************************************************1407 BOOL WIN32API SetColorSpace( /*KSO Thu 21.05.1998*/1408 HDC hdc,1409 HCOLORSPACE hColorSpace1410 )1411 {1412 dprintf(("GDI32: SetColorSpace - stub\n"));1413 return FALSE;1414 }1415 //******************************************************************************1416 //******************************************************************************1417 HCOLORSPACE WIN32API CreateColorSpaceA( /*KSO Thu 21.05.1998*/1418 LPLOGCOLORSPACEA lpLogColorSpace1419 )1420 {1421 dprintf(("GDI32: CreateColorSpaceA - stub\n"));1422 return 0;1423 }1424 //******************************************************************************1425 //******************************************************************************1426 HCOLORSPACE WIN32API CreateColorSpaceW( /*KSO Thu 21.05.1998*/1427 LPLOGCOLORSPACEW lpwLogColorSpace1428 )1429 {1430 dprintf(("GDI32: CreateColorSpaceW - stub\n"));1431 return 0;1432 }1433 //******************************************************************************1434 //******************************************************************************1435 HANDLE WIN32API GetColorSpace( /*KSO Thu 21.05.1998*/1436 HDC hdc1437 )1438 {1439 dprintf(("GDI32: GetColorSpace - stub\n"));1440 return 0;1441 }1442 //******************************************************************************1443 //******************************************************************************1444 int WIN32API SetICMMode( /*KSO Thu 21.05.1998*/1445 HDC hdc,1446 int mode1447 )1448 {1449 dprintf(("GDI32: SetICMMode - stub\n"));1450 return 0;1451 }1452 //******************************************************************************1453 1454 1455 1397 1456 1398 … … 1472 1414 dprintf(("GDI32: CancelDC(%08xh) not implemented.\n", 1473 1415 hdc)); 1474 1475 return (FALSE);1476 }1477 1478 1479 /*****************************************************************************1480 * Name : BOOL CheckColorsInGamut1481 * Purpose : The CheckColorsInGamut function indicates whether the specified1482 * color values are within the gamut of the specified device.1483 * Parameters: HDC hdc handle of device context1484 * LPVOID lpaRGBQuad1485 * LPVOID lpResult1486 * DWORD dwResult1487 * Variables :1488 * Result : TRUE / FALSE1489 * Remark :1490 * Status : UNTESTED STUB1491 *1492 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1493 *****************************************************************************/1494 1495 BOOL WIN32API CheckColorsInGamut(HDC hdc,1496 LPVOID lpaRGBQuad,1497 LPVOID lpResult,1498 DWORD dwResult)1499 {1500 dprintf(("GDI32: CheckColorsInGamut(%08xh,%08xh,%08xh,%08xh) not implemented.\n",1501 hdc,1502 lpaRGBQuad,1503 lpResult,1504 dwResult));1505 1506 return (FALSE);1507 }1508 1509 1510 /*****************************************************************************1511 * Name : BOOL ColorMatchToTarget1512 * Purpose : The ColorMatchToTarget function enables or disables preview for1513 * the specified device context. When preview is enabled, colors1514 * in subsequent output to the specified device context are1515 * displayed as they would appear on the target device. This is1516 * useful for checking how well the target maps the specified1517 * colors in an image. To enable preview, image color matching1518 * must be enabled for both the target and the preview device context.1519 * Parameters: HDC hdc handle of device context1520 * HDC hdcTarget handle of target device context1521 * DWORD uiAction1522 * Variables :1523 * Result : TRUE / FALSE1524 * Remark :1525 * Status : UNTESTED STUB1526 *1527 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1528 *****************************************************************************/1529 1530 BOOL WIN32API ColorMatchToTarget(HDC hdc,1531 HDC hdcTarget,1532 DWORD uiAction)1533 {1534 dprintf(("GDI32: ColorMatchToTarget(%08xh,%08xh,%08xh) not implemented.\n",1535 hdc,1536 hdcTarget,1537 uiAction));1538 1416 1539 1417 return (FALSE); … … 1589 1467 1590 1468 return (TRUE); 1591 }1592 1593 1594 1595 1596 1597 /*****************************************************************************1598 * Name : int EnumICMProfilesA1599 * Purpose : The EnumICMProfilesA function enumerates the different color1600 * profiles that the system supports for the specified device context.1601 * Parameters: HDC hdc1602 * ICMENUMPROC lpICMEnumFunc1603 * LPARAM lParam1604 * Variables :1605 * Result : TRUE / FALSE1606 * Remark :1607 * Status : UNTESTED STUB1608 *1609 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1610 *****************************************************************************/1611 1612 int WIN32API EnumICMProfilesA(HDC hdc,1613 ICMENUMPROCA lpICMEnumProc,1614 LPARAM lParam)1615 {1616 dprintf(("GDI32: EnumICMProfilesA(%08xh, %08xh, %08xh) not implemented(-1).\n",1617 hdc,1618 lpICMEnumProc,1619 lParam));1620 1621 return (-1);1622 }1623 1624 1625 /*****************************************************************************1626 * Name : int EnumICMProfilesW1627 * Purpose : The EnumICMProfilesW function enumerates the different color1628 * profiles that the system supports for the specified device context.1629 * Parameters: HDC hdc1630 * ICMENUMPROC lpICMEnumFunc1631 * LPARAM lParam1632 * Variables :1633 * Result : TRUE / FALSE1634 * Remark :1635 * Status : UNTESTED STUB1636 *1637 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1638 *****************************************************************************/1639 1640 int WIN32API EnumICMProfilesW(HDC hdc,1641 ICMENUMPROCW lpICMEnumProc,1642 LPARAM lParam)1643 {1644 dprintf(("GDI32: EnumICMProfilesW(%08xh, %08xh, %08xh) not implemented (-1).\n",1645 hdc,1646 lpICMEnumProc,1647 lParam));1648 1649 return (-1);1650 1469 } 1651 1470 … … 1809 1628 return (0); 1810 1629 } 1811 1812 1813 /*****************************************************************************1814 * Name : DWORD GetDeviceGammaRamp1815 * Purpose : The GetDeviceGammaRamp function retrieves the gamma ramp on1816 * direct color display boards.1817 * Parameters: HDC hdc handle to device context1818 * LPVOID lpRamp Gamma ramp array1819 * Variables :1820 * Result :1821 * Remark :1822 * Status : UNTESTED STUB1823 *1824 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1825 *****************************************************************************/1826 1827 DWORD WIN32API GetDeviceGammaRamp(HDC hdc,1828 LPVOID lpRamp)1829 {1830 dprintf(("GDI32: GetDeviceGammaRamp(%08xh, %08xh) not implemented.\n",1831 hdc,1832 lpRamp));1833 1834 return (FALSE);1835 }1836 1837 1838 1839 1840 /*****************************************************************************1841 * Name : BOOL GetICMProfileA1842 * Purpose : The GetICMProfileA function retrieves the name of the color1843 * profile file for the device associated with the specified device1844 * context.1845 * Parameters: HDC hdc handle to device context1846 * DWORD cbName1847 * LPTSTR lpszFilename1848 * Variables :1849 * Result : TRUE / FALSE1850 * Remark :1851 * Status : UNTESTED STUB1852 *1853 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1854 *****************************************************************************/1855 1856 BOOL WIN32API GetICMProfileA(HDC hdc,1857 DWORD cbName,1858 LPTSTR lpszFilename)1859 {1860 dprintf(("GDI32: GetICMProfileA(%08xh, %08xh, %08xh) not implemented.\n",1861 hdc,1862 cbName,1863 lpszFilename));1864 1865 return (FALSE);1866 }1867 1868 1869 /*****************************************************************************1870 * Name : BOOL GetICMProfileW1871 * Purpose : The GetICMProfileW function retrieves the name of the color1872 * profile file for the device associated with the specified device1873 * context.1874 * Parameters: HDC hdc handle to device context1875 * DWORD cbName1876 * LPWSTR lpszFilename1877 * Variables :1878 * Result : TRUE / FALSE1879 * Remark :1880 * Status : UNTESTED STUB1881 *1882 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1883 *****************************************************************************/1884 1885 BOOL WIN32API GetICMProfileW(HDC hdc,1886 DWORD cbName,1887 LPTSTR lpszFilename)1888 {1889 dprintf(("GDI32: GetICMProfileW(%08xh, %08xh, %08xh) not implemented.\n",1890 hdc,1891 cbName,1892 lpszFilename));1893 1894 return (FALSE);1895 }1896 1897 1898 /*****************************************************************************1899 * Name : BOOL GetLogColorSpaceA1900 * Purpose : The GetLogColorSpace function retrieves information about the1901 * logical color space identified by the specified handle.1902 * Parameters: HCOLORSPACE hColorSpace1903 * LPLOGCOLORSPACE lpbuffer1904 * DWORD nSize1905 * Variables :1906 * Result : TRUE / FALSE1907 * Remark :1908 * Status : UNTESTED STUB1909 *1910 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1911 *****************************************************************************/1912 1913 #define LPLOGCOLORSPACE LPVOID1914 BOOL WIN32API GetLogColorSpaceA(HCOLORSPACE hColorSpace,1915 LPLOGCOLORSPACE lpBuffer,1916 DWORD nSize)1917 {1918 dprintf(("GDI32: GetLogColorSpaceA(%08xh, %08xh, %08xh) not implemented.\n",1919 hColorSpace,1920 lpBuffer,1921 nSize));1922 1923 return (FALSE);1924 }1925 1926 1927 /*****************************************************************************1928 * Name : BOOL GetLogColorSpaceW1929 * Purpose : The GetLogColorSpace function retrieves information about the1930 * logical color space identified by the specified handle.1931 * Parameters: HCOLORSPACE hColorSpace1932 * LPLOGCOLORSPACE lpbuffer1933 * DWORD nSize1934 * Variables :1935 * Result : TRUE / FALSE1936 * Remark :1937 * Status : UNTESTED STUB1938 *1939 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1940 *****************************************************************************/1941 1942 BOOL WIN32API GetLogColorSpaceW(HCOLORSPACE hColorSpace,1943 LPLOGCOLORSPACE lpBuffer,1944 DWORD nSize)1945 {1946 dprintf(("GDI32: GetLogColorSpaceW(%08xh, %08xh, %08xh) not implemented.\n",1947 hColorSpace,1948 lpBuffer,1949 nSize));1950 1951 return (FALSE);1952 }1953 1954 1955 /*****************************************************************************1956 * Name : BOOL SetDeviceGammaRamp1957 * Purpose : The SetDeviceGammaRamp function sets the gamma ramp on direct1958 * color display boards.1959 * Parameters: HDC hdc handle of device context1960 * LPVOID lpRamp1961 * Variables :1962 * Result : TRUE / FALSE1963 * Remark :1964 * Status : UNTESTED STUB1965 *1966 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1967 *****************************************************************************/1968 1969 BOOL WIN32API SetDeviceGammaRamp(HDC hdc,1970 LPVOID lpRamp)1971 {1972 dprintf(("GDI32: SetDeviceGammaRamp(%08xh, %08xh) not implemented.\n",1973 hdc,1974 lpRamp));1975 1976 return (FALSE);1977 }1978 1979 1980 /*****************************************************************************1981 * Name : BOOL SetICMProfileA1982 * Purpose : The SetICMProfileA function sets the color profile for the1983 * specified device context.1984 * Parameters: HDC hdc handle of device context1985 * LPTSTR lpFileName1986 * Variables :1987 * Result : TRUE / FALSE1988 * Remark :1989 * Status : UNTESTED STUB1990 *1991 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1992 *****************************************************************************/1993 1994 BOOL WIN32API SetICMProfileA(HDC hdc,1995 LPTSTR lpFileName)1996 {1997 dprintf(("GDI32: SetICMProfileA(%08xh, %s) not implemented.\n",1998 hdc,1999 lpFileName));2000 2001 return (FALSE);2002 }2003 2004 2005 /*****************************************************************************2006 * Name : BOOL SetICMProfileW2007 * Purpose : The SetICMProfileW function sets the color profile for the2008 * specified device context.2009 * Parameters: HDC hdc handle of device context2010 * LPTSTR lpFileName2011 * Variables :2012 * Result : TRUE / FALSE2013 * Remark :2014 * Status : UNTESTED STUB2015 *2016 * Author : Patrick Haller [Mon, 1998/06/15 08:00]2017 *****************************************************************************/2018 2019 BOOL WIN32API SetICMProfileW(HDC hdc,2020 LPWSTR lpFileName)2021 {2022 dprintf(("GDI32: SetICMProfileW(%08xh, %s) not implemented.\n",2023 hdc,2024 lpFileName));2025 2026 return (FALSE);2027 }2028 2029 2030 2031 /*****************************************************************************2032 * Name : BOOL UpdateICMRegKeyA2033 * Purpose : The UpdateICMRegKeyA function installs, removes, or queries2034 * registry entries that identify ICC color profiles or color-matching2035 * DLLs. The function carries out the action specified by the nCommand2036 * parameter.2037 * Parameters: DWORD dwReserved2038 * DWORD CMID2039 * LPTSTR lpszFileName2040 * UINT nCommand2041 * Variables :2042 * Result : TRUE / FALSE2043 * Remark :2044 * Status : UNTESTED STUB2045 *2046 * Author : Patrick Haller [Mon, 1998/06/15 08:00]2047 *****************************************************************************/2048 2049 BOOL WIN32API UpdateICMRegKeyA(DWORD dwReserved,2050 DWORD CMID,2051 LPTSTR lpszFileName,2052 UINT nCommand)2053 {2054 dprintf(("GDI32: UpdateICMRegKeyA(%08xh, %08xh, %08xh, %08xh) not implemented.\n",2055 dwReserved,2056 CMID,2057 lpszFileName,2058 nCommand));2059 2060 return (FALSE);2061 }2062 2063 2064 /*****************************************************************************2065 * Name : BOOL UpdateICMRegKeyW2066 * Purpose : The UpdateICMRegKeyW function installs, removes, or queries2067 * registry entries that identify ICC color profiles or color-matching2068 * DLLs. The function carries out the action specified by the nCommand2069 * parameter.2070 * Parameters: DWORD dwReserved2071 * DWORD CMID2072 * LPWSTR lpszFileName2073 * UINT nCommand2074 * Variables :2075 * Result : TRUE / FALSE2076 * Remark :2077 * Status : UNTESTED STUB2078 *2079 * Author : Patrick Haller [Mon, 1998/06/15 08:00]2080 *****************************************************************************/2081 2082 BOOL WIN32API UpdateICMRegKeyW(DWORD dwReserved,2083 DWORD CMID,2084 LPWSTR lpszFileName,2085 UINT nCommand)2086 {2087 dprintf(("GDI32: UpdateICMRegKeyW(%08xh, %08xh, %08xh, %08xh) not implemented.\n",2088 dwReserved,2089 CMID,2090 lpszFileName,2091 nCommand));2092 2093 return (FALSE);2094 }2095 2096 2097
Note:
See TracChangeset
for help on using the changeset viewer.