source: trunk/src/win32k/ldr/myldrOpenNewExe.cpp@ 847

Last change on this file since 847 was 847, checked in by bird, 26 years ago

Initial checkin of Win32k. (not tested & pe2lx not up-to-date!)

File size: 402 bytes
Line 
1#include <ldr.h>
2
3int LDRCALL myldrOpenNewExe(PCHAR pszName, USHORT lenName, ULONG p3, ULONG p4)
4{
5 char szName[CCHMAXPATH];
6 int i;
7
8 for (i = 0; i < lenName; i++)
9 szName[i] = pszName[i];
10 szName[i] = '\0';
11
12// kernel_printf(("_ldrOpenNewExe: pszName(p1):%s lenName(p2):0x%x param3:0x%x param4:0x%x", __StackToFlat(szName), lenName, p3, p4));
13
14 return _ldrOpenNewExe(pszName, lenName, p3, p4);
15}
16
17
18
Note: See TracBrowser for help on using the repository browser.