Changeset 1054 for trunk/src/kernel32/old
- Timestamp:
- Sep 25, 1999, 9:07:34 PM (26 years ago)
- Location:
- trunk/src/kernel32/old
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/old/lang.cpp
r1053 r1054 1 /* $Id: lang.cpp,v 1.3 1999-09-25 19:07:03 sandervl Exp $ */ 1 2 /* 2 3 * Win32 language API functions for OS/2 -
trunk/src/kernel32/old/makefile
r955 r1054 1 # $Id: makefile,v 1. 1 1999-09-15 23:32:58sandervl Exp $1 # $Id: makefile,v 1.2 1999-09-25 19:06:17 sandervl Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 PDWIN32_INCLUDE = ..\..\ include10 PDWIN32_LIB = ..\..\ lib11 PDWIN32_BIN = . .\..\bin12 PDWIN32_TOOLS = ..\..\ tools\bin9 PDWIN32_INCLUDE = ..\..\..\include\old 10 PDWIN32_LIB = ..\..\..\lib 11 PDWIN32_BIN = . 12 PDWIN32_TOOLS = ..\..\..\tools\bin 13 13 14 14 … … 16 16 17 17 18 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) /Tm+19 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) /Tm+18 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\..\win 19 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\..\win 20 20 21 21 … … 51 51 rc -r console.rc console.res 52 52 rc console.res $@ 53 $(CP) $@ $(PDWIN32_BIN)54 53 55 54 $(TARGET).lrf: makefile … … 67 66 $(TARGET).LIB: $(TARGET)exp.def 68 67 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def 69 $(CP) $@ $(PDWIN32_LIB)70 68 71 69 $(TARGET)exp.def: $(TARGET).def … … 331 329 $(PDWIN32_INCLUDE)\unicode.h 332 330 333 virtual.obj: virtual.cpp $(PDWIN32_INCLUDE)\ win\virtual.h $(PDWIN32_INCLUDE)\handlemanager.h mmap.h331 virtual.obj: virtual.cpp $(PDWIN32_INCLUDE)\handlemanager.h mmap.h 334 332 mmap.obj: mmap.cpp mmap.h $(PDWIN32_INCLUDE)\vmutex.h oslibdos.h 335 333 336 334 pefile.OBJ: pefile.cpp $(PDWIN32_INCLUDE)\pefile.h 337 winimage.OBJ: winimage.cpp $(PDWIN32_INCLUDE)\winimage.h $(PDWIN32_INCLUDE)\windll.h $(PDWIN32_INCLUDE)\pefile.h $(PDWIN32_INCLUDE)\winres.h initterm.h $(PDWIN32_INCLUDE)\win\virtual.hoslibmisc.h335 winimage.OBJ: winimage.cpp $(PDWIN32_INCLUDE)\winimage.h $(PDWIN32_INCLUDE)\windll.h $(PDWIN32_INCLUDE)\pefile.h $(PDWIN32_INCLUDE)\winres.h initterm.h oslibmisc.h 338 336 winimgres.OBJ: winimgres.cpp $(PDWIN32_INCLUDE)\winimage.h $(PDWIN32_INCLUDE)\windll.h $(PDWIN32_INCLUDE)\pefile.h $(PDWIN32_INCLUDE)\winexe.h $(PDWIN32_INCLUDE)\winres.h 339 337 windll.OBJ: windll.cpp $(PDWIN32_INCLUDE)\winimage.h $(PDWIN32_INCLUDE)\windll.h oslibmisc.h -
trunk/src/kernel32/old/mmap.cpp
r955 r1054 1 /* $Id: mmap.cpp,v 1. 1 1999-09-15 23:32:58sandervl Exp $ */1 /* $Id: mmap.cpp,v 1.2 1999-09-25 19:06:17 sandervl Exp $ */ 2 2 3 3 /* … … 24 24 #include <stdlib.h> 25 25 #include <string.h> 26 #include < win\virtual.h>26 #include <virtual.h> 27 27 #include <vmutex.h> 28 28 #include <handlemanager.h> -
trunk/src/kernel32/old/virtual.cpp
r955 r1054 1 /* $Id: virtual.cpp,v 1. 1 1999-09-15 23:33:01sandervl Exp $ */1 /* $Id: virtual.cpp,v 1.2 1999-09-25 19:06:17 sandervl Exp $ */ 2 2 3 3 /* … … 19 19 #include <stdlib.h> 20 20 #include <string.h> 21 #include < win\virtual.h>21 #include <virtual.h> 22 22 #include <heapstring.h> 23 23 #include <handlemanager.h> -
trunk/src/kernel32/old/windll.cpp
r955 r1054 1 /* $Id: windll.cpp,v 1. 1 1999-09-15 23:33:01sandervl Exp $ */1 /* $Id: windll.cpp,v 1.2 1999-09-25 19:06:17 sandervl Exp $ */ 2 2 3 3 /* … … 42 42 void _System SetLastError(ULONG ulError); 43 43 44 BOOL WIN32API RegisterLxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint, 45 PVOID pResData) 46 { 47 return TRUE; 48 } 49 BOOL WIN32API UnregisterLxDll(HINSTANCE hInstance) 50 { 51 return TRUE; 52 } 44 53 //****************************************************************************** 45 54 //****************************************************************************** -
trunk/src/kernel32/old/winimage.cpp
r955 r1054 1 /* $Id: winimage.cpp,v 1. 1 1999-09-15 23:33:02sandervl Exp $ */1 /* $Id: winimage.cpp,v 1.2 1999-09-25 19:06:17 sandervl Exp $ */ 2 2 3 3 /* … … 36 36 #include "oslibmisc.h" 37 37 #include "initterm.h" 38 #include < win\virtual.h>38 #include <virtual.h> 39 39 40 40 char szErrorTitle[] = "Win32 for OS/2"; -
trunk/src/kernel32/old/winres.cpp
r955 r1054 1 /* $Id: winres.cpp,v 1. 1 1999-09-15 23:33:02sandervl Exp $ */1 /* $Id: winres.cpp,v 1.2 1999-09-25 19:06:17 sandervl Exp $ */ 2 2 3 3 /* … … 447 447 //****************************************************************************** 448 448 //****************************************************************************** 449 ULONG Win32Resource::getOS2Size() 450 { 451 switch(type) { 452 case NTRT_NEWBITMAP: 453 case NTRT_BITMAP: 454 return QueryConvertedBitmapSize((WINBITMAPINFOHEADER *)winresdata, ressize); 455 456 case NTRT_CURSOR: 457 return QueryConvertedCursorSize((CursorComponent *)winresdata, ressize); 458 459 case NTRT_ICON: 460 return QueryConvertedIconSize((WINBITMAPINFOHEADER *)winresdata, ressize); 461 462 case NTRT_GROUP_ICON: 463 case NTRT_GROUP_CURSOR: 464 case NTRT_ACCELERATORS: 465 case NTRT_NEWMENU: 466 case NTRT_MENU: 467 case NTRT_NEWDIALOG: 468 case NTRT_DIALOG: 469 case NTRT_FONTDIR: 470 case NTRT_FONT: 471 case NTRT_MESSAGETABLE: 472 case NTRT_RCDATA: 473 case NTRT_VERSION: 474 case NTRT_STRING: 475 default: 476 dprintf(("Win32Resource::getOS2Size SHOULDN'T BE CALLED for this resource type (%d) (NOT IMPLEMENTED)!!", type)); 477 break; 478 } 479 return 0; 480 } 481 //****************************************************************************** 482 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.