Changeset 2875 for trunk/kLdr/testcase


Ignore:
Timestamp:
Nov 12, 2006, 9:59:45 AM (19 years ago)
Author:
bird
Message:

Got the stub loader working (but without stack allocation/switching).

Location:
trunk/kLdr/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/testcase/Makefile.kmk

    r2873 r2875  
    113113TEMPLATE_TSTBAREPROG_EXTENDS = TSTBARE
    114114ifneq ($(filter win win32 win64,$(BUILD_TARGET)),)
    115 TEMPLATE_TSTBAREPROG_LDFLAGS += -Entry:WinMain -FIXED:NO
     115TEMPLATE_TSTBAREPROG_LDFLAGS += -Entry:WindowsMain -FIXED:NO
    116116else
    117117TEMPLATE_TSTBAREPROG_LDFLAGS.nt += -FIXED:NO
  • trunk/kLdr/testcase/tstExeMainStub.c

    r2873 r2875  
    3636
    3737#elif defined(__WIN__)
    38 # include <windows.h>
     38/* nothing */
    3939
    4040#elif defined(__NT__)
     
    6464 * Window 'main'
    6565 */
    66 int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR pszCmdLine, int nCmdShow)
     66int WindowsMain(void)
    6767{
    6868    int rc;
Note: See TracChangeset for help on using the changeset viewer.