source: trunk/src/kernel32/winfakepeldr.cpp@ 3721

Last change on this file since 3721 was 2802, checked in by sandervl, 26 years ago

Added new logging feature

File size: 2.5 KB
Line 
1/* $Id: winfakepeldr.cpp,v 1.4 2000-02-16 14:22:12 sandervl Exp $ */
2
3/*
4 * Win32 PE loader fake image class (RSRC_LOAD)
5 *
6 * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 * NOTE: RSRC_LOAD is a special flag to only load the resource directory
12 * of a PE image. Processing imports, sections etc is not done.
13 * Nor is it put into the linked list of dlls (if it's a dll).
14 * This is useful for GetVersionSize/Resource in case it wants to
15 * get version info of an image that is not loaded.
16 * So an instance of this type can't be used for anything but resource lookup!
17 */
18#define INCL_DOSFILEMGR /* File Manager values */
19#define INCL_DOSMODULEMGR
20#define INCL_DOSERRORS /* DOS Error values */
21#define INCL_DOSPROCESS /* DOS Process values */
22#define INCL_DOSMISC /* DOS Miscellanous values */
23#define INCL_WIN
24#define INCL_BASE
25#include <os2wrap.h> //Odin32 OS/2 api wrappers
26
27#include <misc.h>
28#include <win32type.h>
29#include <winfakepeldr.h>
30
31#define DBG_LOCALLOG DBG_winfakepeldr
32#include "dbglocal.h"
33
34//******************************************************************************
35//******************************************************************************
36Win32PeLdrRsrcImg::Win32PeLdrRsrcImg(char *szFileName)
37 : Win32ImageBase(-1),
38 Win32PeLdrImage(szFileName, FALSE, RSRC_LOAD)
39{
40}
41//******************************************************************************
42//******************************************************************************
43Win32PeLdrRsrcImg::~Win32PeLdrRsrcImg()
44{
45}
46//******************************************************************************
47//******************************************************************************
48BOOL Win32PeLdrRsrcImg::isDll()
49{
50 return FALSE;
51}
52//******************************************************************************
53//******************************************************************************
54ULONG Win32PeLdrRsrcImg::getApi(char *name)
55{
56 DebugInt3();
57 return 0;
58}
59//******************************************************************************
60//******************************************************************************
61ULONG Win32PeLdrRsrcImg::getApi(int ordinal)
62{
63 DebugInt3();
64 return 0;
65}
66//******************************************************************************
67//******************************************************************************
Note: See TracBrowser for help on using the repository browser.