Changeset 2550 for trunk/src/win32k/ldr/myldrGetResource.cpp
- Timestamp:
- Jan 28, 2000, 4:28:43 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/ldr/myldrGetResource.cpp
r847 r2550 1 /* $Id: myldrGetResource.cpp,v 1.2 2000-01-28 15:28:43 bird Exp $ 2 * 3 * Obsolete 4 * 5 * Copyright (c) 1998 knut st. osmundsen 6 * 7 * Project Odin Software License can be found in LICENSE.TXT 8 * 9 */ 1 10 #include <ldr.h> 2 11 3 12 4 13 /* 5 6 handle to modulehMod!7 idTypeidType?8 idNameidName?9 pointer To resourceppRes?14 Notes: form DosGetResource parameters 15 handle to module hMod! 16 idType idType? 17 idName idName? 18 pointer To resource ppRes? 10 19 11 20 … … 16 25 int LDRCALL myldrGetResource(USHORT idType, ULONG idName, USHORT hMod, PPVOID ppRes, ULONG ulP5) 17 26 { 18 19 20 21 22 23 24 25 27 int rc; 28 if ( ulP5 != 1 ) 29 kernel_printf(("_ldrGetResource: ulP5=%d (!=1)",ulP5 )); 30 if ( global_flag_resource ) 31 kernel_printf(("_ldrGetResource: idType:0x%x idName:0x%x hMod:0x%x *ppRes:0x%x p5:0x%x", idType, idName, hMod, *((PULONG)ppRes), ulP5)); 32 rc = _ldrGetResource(idType, idName, hMod, ppRes, ulP5); 33 if ( global_flag_resource ) 34 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 35 27 36 return rc; 28 37 } 29 38
Note:
See TracChangeset
for help on using the changeset viewer.