Ignore:
Timestamp:
Jan 28, 2000, 4:28:43 PM (26 years ago)
Author:
bird
Message:

Added module header on the obsolete files.

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 */
    110#include <ldr.h>
    211
    312
    413/*
    5         Notes: form DosGetResource parameters
    6                 handle to module                        hMod!
    7                 idType                                          idType?
    8                 idName                                          idName?
    9                 pointer To resource                     ppRes?
     14    Notes: form DosGetResource parameters
     15        handle to module            hMod!
     16        idType                      idType?
     17        idName                      idName?
     18        pointer To resource         ppRes?
    1019
    1120
     
    1625int LDRCALL myldrGetResource(USHORT idType, ULONG idName, USHORT hMod, PPVOID ppRes, ULONG ulP5)
    1726{
    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));
     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));
    2635
    27         return rc;
     36    return rc;
    2837}
    2938
Note: See TracChangeset for help on using the changeset viewer.