| Last change
 on this file since 1031 was             847, checked in by bird, 26 years ago | 
        
          | 
Initial checkin of Win32k. (not tested & pe2lx not up-to-date!)
 | 
        
          | File size:
            1.1 KB | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: rcdata.cpp,v 1.1 1999-09-06 02:20:08 bird Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * PE2LX RCDATA resources | 
|---|
| 5 | * | 
|---|
| 6 | * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl) | 
|---|
| 7 | * | 
|---|
| 8 | * | 
|---|
| 9 | * Project Odin Software License can be found in LICENSE.TXT | 
|---|
| 10 | * | 
|---|
| 11 | */ | 
|---|
| 12 |  | 
|---|
| 13 | /******************************************************************************* | 
|---|
| 14 | *   Header Files                                                               * | 
|---|
| 15 | *******************************************************************************/ | 
|---|
| 16 | #include "pe2lx.h" | 
|---|
| 17 | #include "rcdata.h" | 
|---|
| 18 |  | 
|---|
| 19 | //****************************************************************************** | 
|---|
| 20 | //****************************************************************************** | 
|---|
| 21 | BOOL ShowRCData(LXHeaderSuper &OS2Exe, int id, char *data, int size) | 
|---|
| 22 | { | 
|---|
| 23 | ltassert((ULONG)data > MINPTR && (ULONG)data+size < MAXPTR); | 
|---|
| 24 | cout << "RCData/Version resource with id " << id << " , size " << size << endl; | 
|---|
| 25 | return OS2Exe.StoreResource(id, RT_RCDATA, size, data); | 
|---|
| 26 | } | 
|---|
| 27 | //****************************************************************************** | 
|---|
| 28 | //****************************************************************************** | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.