| Last change
 on this file since 1209 was             847, checked in by bird, 26 years ago | 
        
          | 
Initial checkin of Win32k. (not tested & pe2lx not up-to-date!)
 | 
        
          | File size:
            808 bytes | 
      
      
| Line |  | 
|---|
| 1 | #include <ldr.h> | 
|---|
| 2 |  | 
|---|
| 3 |  | 
|---|
| 4 | /* | 
|---|
| 5 | Notes: form DosGetResource parameters | 
|---|
| 6 | handle to module                        hMod! | 
|---|
| 7 | idType                                          idType? | 
|---|
| 8 | idName                                          idName? | 
|---|
| 9 | pointer To resource                     ppRes? | 
|---|
| 10 |  | 
|---|
| 11 |  | 
|---|
| 12 | */ | 
|---|
| 13 | static global_flag_resource = 0; | 
|---|
| 14 |  | 
|---|
| 15 |  | 
|---|
| 16 | int LDRCALL myldrGetResource(USHORT idType, ULONG idName, USHORT hMod, PPVOID ppRes, ULONG ulP5) | 
|---|
| 17 | { | 
|---|
| 18 | int rc; | 
|---|
| 19 | if ( ulP5 != 1 ) | 
|---|
| 20 | kernel_printf(("_ldrGetResource: ulP5=%d (!=1)",ulP5 )); | 
|---|
| 21 | if ( global_flag_resource ) | 
|---|
| 22 | kernel_printf(("_ldrGetResource:      idType:0x%x idName:0x%x hMod:0x%x *ppRes:0x%x p5:0x%x", idType, idName, hMod, *((PULONG)ppRes), ulP5)); | 
|---|
| 23 | rc = _ldrGetResource(idType, idName, hMod, ppRes, ulP5); | 
|---|
| 24 | if ( global_flag_resource ) | 
|---|
| 25 | kernel_printf(("_ldrGetResource-post: idType:0x%x idName:0x%x hMod:0x%x *ppRes:0x%x p5:0x%x", idType, idName, hMod, *((PULONG)ppRes), ulP5)); | 
|---|
| 26 |  | 
|---|
| 27 | return rc; | 
|---|
| 28 | } | 
|---|
| 29 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.