|
Last change
on this file since 3670 was 2550, checked in by bird, 26 years ago |
|
Added module header on the obsolete files.
|
|
File size:
619 bytes
|
| Line | |
|---|
| 1 | /* $Id: myldrOpenNewExe.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 | */
|
|---|
| 10 | #include <ldr.h>
|
|---|
| 11 |
|
|---|
| 12 | int LDRCALL myldrOpenNewExe(PCHAR pszName, USHORT lenName, ULONG p3, ULONG p4)
|
|---|
| 13 | {
|
|---|
| 14 | char szName[CCHMAXPATH];
|
|---|
| 15 | int i;
|
|---|
| 16 |
|
|---|
| 17 | for (i = 0; i < lenName; i++)
|
|---|
| 18 | szName[i] = pszName[i];
|
|---|
| 19 | szName[i] = '\0';
|
|---|
| 20 |
|
|---|
| 21 | // kernel_printf(("_ldrOpenNewExe: pszName(p1):%s lenName(p2):0x%x param3:0x%x param4:0x%x", __StackToFlat(szName), lenName, p3, p4));
|
|---|
| 22 |
|
|---|
| 23 | return _ldrOpenNewExe(pszName, lenName, p3, p4);
|
|---|
| 24 | }
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.