- Timestamp:
- Oct 27, 1999, 2:38:48 PM (26 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/KERNEL32.DEF
r1454 r1476 1 ; $Id: KERNEL32.DEF,v 1.4 5 1999-10-26 11:15:32 sandervlExp $1 ; $Id: KERNEL32.DEF,v 1.46 1999-10-27 12:38:44 phaller Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 19 19 _DosAliasMem = DOSCALLS.298 20 20 DosQuerySysState = DOSCALLS.368 21 22 _O32_RegCloseKey = PMWINX.541 23 _O32_RegCreateKeyEx = PMWINX.543 24 _O32_RegOpenKeyEx = PMWINX.550 25 _O32_RegQueryValueEx = PMWINX.553 26 _O32_RegSetValueEx = PMWINX.555 27 21 28 22 29 -
trunk/src/kernel32/conprop.cpp
r767 r1476 1 /* $Id: conprop.cpp,v 1. 8 1999-08-31 22:44:33phaller Exp $ */1 /* $Id: conprop.cpp,v 1.9 1999-10-27 12:38:45 phaller Exp $ */ 2 2 3 3 /* … … 6 6 * 1998/03/06 Patrick Haller (haller@zebra.fh-weingarten.de) 7 7 * 8 * @(#) conprop.cpp 8 * @(#) conprop.cpp 1.0.0 1998/03/06 PH Start from scratch 9 9 */ 10 10 … … 32 32 #define INCL_VIO 33 33 #define INCL_AVIO 34 #include <os2wrap.h> 34 #include <os2wrap.h> //Odin32 OS/2 api wrappers 35 35 #include <builtin.h> 36 36 … … 1891 1891 1892 1892 1893 1894 1895 1896 1893 /***************************************************************************** 1897 * Name : APIRET EXPENTRY ConsolePropertyLoad 1898 * Funktion : load properties from registry 1899 * Parameter : PICONSOLEOPTIONS pConsoleOptions 1900 * Variablen : 1901 * Ergebnis : APIRET 1902 * Bemerkung : 1903 * 1904 * Autor : Patrick Haller [1998/06/13 23:20] 1905 *****************************************************************************/ 1906 1907 APIRET EXPENTRY ConsolePropertyLoad(PICONSOLEOPTIONS pConsoleOptions) 1908 { 1909 dprintf (("KERNEL32: Console:ConsolePropertyLoad(%08xh) not implemented.\n", 1910 pConsoleOptions)); 1911 1912 // HKEY_CURRENT_USER/SOFTWARE/ODIN/<process name>/<option name> 1913 1914 return (NO_ERROR); 1915 } 1916 1917 1918 1919 /***************************************************************************** 1920 * Name : APIRET EXPENTRY ConsolePropertySave 1894 * Name : APIRET EXPENTRY ConsolePropertyApply 1921 1895 * Funktion : save properties from registry 1922 1896 * Parameter : PICONSOLEOPTIONS pConsoleOptions … … 1928 1902 *****************************************************************************/ 1929 1903 1930 APIRET EXPENTRY ConsolePropertySave(PICONSOLEOPTIONS pConsoleOptions) 1931 { 1932 dprintf (("KERNEL32: Console:ConsolePropertySave(%08xh) not implemented.\n", 1933 pConsoleOptions)); 1934 1935 return (NO_ERROR); 1936 } 1937 1938 1939 /***************************************************************************** 1940 * Name : APIRET EXPENTRY ConsolePropertyApply 1941 * Funktion : apply properties in memory to the console window 1942 * Parameter : PICONSOLEOPTIONS pConsoleOptions 1943 * Variablen : 1944 * Ergebnis : APIRET 1945 * Bemerkung : 1946 * 1947 * Autor : Patrick Haller [1998/06/13 23:20] 1948 *****************************************************************************/ 1949 1950 APIRET EXPENTRY ConsolePropertyApply(PICONSOLEOPTIONS pConsoleOptions) 1904 DWORD ConsolePropertyApply(PICONSOLEOPTIONS pConsoleOptions) 1951 1905 { 1952 1906 dprintf (("KERNEL32: Console:ConsolePropertyApply(%08xh) not implemented.\n", … … 1955 1909 return (NO_ERROR); 1956 1910 } 1957 1958 1959 1960 1961 1911 1962 1912 -
trunk/src/kernel32/conprop.h
r767 r1476 1 /* $Id: conprop.h,v 1. 5 1999-08-31 22:44:33phaller Exp $ */1 /* $Id: conprop.h,v 1.6 1999-10-27 12:38:46 phaller Exp $ */ 2 2 3 3 /* … … 55 55 MPARAM mp2); 56 56 57 57 /* default console properties */ 58 DWORD ConsolePropertyDefault(PICONSOLEOPTIONS pConsoleOptions); 58 59 /* read console properties */ 59 APIRET EXPENTRYConsolePropertyLoad(PICONSOLEOPTIONS pConsoleOptions);60 DWORD ConsolePropertyLoad(PICONSOLEOPTIONS pConsoleOptions); 60 61 61 62 /* write console properties */ 62 APIRET EXPENTRYConsolePropertySave(PICONSOLEOPTIONS pConsoleOptions);63 DWORD ConsolePropertySave(PICONSOLEOPTIONS pConsoleOptions); 63 64 64 65 /* apply console properties */ 65 APIRET EXPENTRYConsolePropertyApply(PICONSOLEOPTIONS pConsoleOptions);66 DWORD ConsolePropertyApply(PICONSOLEOPTIONS pConsoleOptions); 66 67 67 68 #ifdef __cplusplus -
trunk/src/kernel32/console.cpp
r1182 r1476 1 /* $Id: console.cpp,v 1.1 4 1999-10-08 09:52:33 sandervlExp $ */1 /* $Id: console.cpp,v 1.15 1999-10-27 12:38:47 phaller Exp $ */ 2 2 3 3 /* … … 384 384 *************************************/ 385 385 386 ConsoleGlobals.Options.fTerminateAutomatically = FALSE; 387 ConsoleGlobals.Options.fSpeakerEnabled = TRUE; 388 389 ConsoleGlobals.Options.fSetWindowPosition = FALSE; 390 ConsoleGlobals.Options.coordDefaultPosition.X = 0; 391 ConsoleGlobals.Options.coordDefaultPosition.Y = 0; 392 ConsoleGlobals.Options.coordDefaultSize.X = 80; 393 ConsoleGlobals.Options.coordDefaultSize.Y = 25; 386 // load defaults 387 ConsolePropertyDefault(&ConsoleGlobals.Options); 388 389 ConsoleGlobals.ulTimerFrequency = 10; /* cursor + blitter timer frequency */ 390 394 391 ConsoleGlobals.coordWindowSize.X = ConsoleGlobals.Options.coordDefaultSize.X; 395 392 ConsoleGlobals.coordWindowSize.Y = ConsoleGlobals.Options.coordDefaultSize.Y; 396 393 ConsoleGlobals.coordWindowPos.X = 0; 397 394 ConsoleGlobals.coordWindowPos.Y = 0; 398 399 ConsoleGlobals.Options.fQuickInsert = FALSE;400 ConsoleGlobals.Options.fInsertMode = FALSE;401 ConsoleGlobals.Options.fMouseActions = FALSE;402 ConsoleGlobals.Options.fToolbarActive = FALSE;403 404 ConsoleGlobals.Options.ucDefaultAttribute = 0x0007; /* 07 = grey on black */405 406 ConsoleGlobals.Options.ulTabSize = 8; /* tabulator size */407 ConsoleGlobals.Options.ulUpdateLimit = 8; /* scroll max. n lines */408 409 /* priority settings for message thread */410 ConsoleGlobals.Options.ulConsoleThreadPriorityClass = PRTYC_REGULAR;411 ConsoleGlobals.Options.ulConsoleThreadPriorityDelta = +10;412 413 ConsoleGlobals.Options.ucCursorDivisor = 10; /* timer divisor for blinking */414 415 ConsoleGlobals.ulTimerFrequency = 10; /* cursor + blitter timer frequency */416 395 417 396 -
trunk/src/kernel32/makefile
r1454 r1476 1 # $Id: makefile,v 1.4 7 1999-10-26 11:15:33 sandervlExp $1 # $Id: makefile,v 1.48 1999-10-27 12:38:48 phaller Exp $ 2 2 3 3 # … … 28 28 os2heap.OBJ vmutex.OBJ initterm.OBJ handlemanager.OBJ \ 29 29 hmdevice.obj hmopen32.obj hmobjects.obj hmevent.obj hmmutex.obj \ 30 hmsemaphore.obj wprocess.OBJ conprop.OBJ winimagelx.obj \30 hmsemaphore.obj wprocess.OBJ conprop.OBJ conprop2.obj winimagelx.obj \ 31 31 winimagebase.OBJ windllbase.OBJ winexebase.OBJ time.obj mmap.obj \ 32 32 winimagepe2lx.obj winimagepeldr.obj windllpe2lx.obj windlllx.obj windllpeldr.obj \ … … 81 81 $(PDWIN32_INCLUDE)\unicode.h \ 82 82 $(PDWIN32_INCLUDE)\heap.h \ 83 $(PDWIN32_INCLUDE)\wprocess.h 83 $(PDWIN32_INCLUDE)\wprocess.h 84 84 85 85 kobjects.obj: kobjects.cpp … … 100 100 101 101 atom.obj: atom.cpp \ 102 $(PDWIN32_INCLUDE)\unicode.h 102 $(PDWIN32_INCLUDE)\unicode.h 103 103 104 104 time.obj: time.cpp \ … … 132 132 os2heap.h 133 133 134 initterm.OBJ: .\initterm.cpp initterm.h heapshared.h 134 initterm.OBJ: .\initterm.cpp initterm.h heapshared.h 135 135 136 136 thunk.OBJ: \ … … 155 155 oslibexcept.cpp \ 156 156 $(PDWIN32_INCLUDE)\exceptions.h \ 157 oslibexcept.h 157 oslibexcept.h 158 158 159 159 devio.OBJ: \ … … 316 316 .\conprop.cpp 317 317 318 conprop2.OBJ: \ 319 .\conprop.h \ 320 .\conprop2.cpp 321 318 322 async.OBJ: \ 319 323 .\async.cpp \ … … 327 331 pefile.OBJ: pefile.cpp $(PDWIN32_INCLUDE)\pefile.h $(PDWIN32_INCLUDE)\winres.h 328 332 329 winimagebase.obj: winimagebase.cpp $(PDWIN32_INCLUDE)\winimagebase.h 333 winimagebase.obj: winimagebase.cpp $(PDWIN32_INCLUDE)\winimagebase.h 330 334 winimagepe2lx.obj: winimagepe2lx.cpp $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\winimagepe2lx.h 331 335 winimagepeldr.obj: winimagepeldr.cpp $(PDWIN32_INCLUDE)\winimagebase.h $(PDWIN32_INCLUDE)\winimagepeldr.h
Note:
See TracChangeset
for help on using the changeset viewer.