mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Some more ideas for winlogon (it does not compile yet).
svn path=/trunk/; revision=559
This commit is contained in:
parent
8d5b94094a
commit
11cbd32ea6
3 changed files with 97 additions and 0 deletions
23
reactos/services/winlogon/init.c
Normal file
23
reactos/services/winlogon/init.c
Normal file
|
@ -0,0 +1,23 @@
|
|||
/* $Id: init.c,v 1.1 1999/06/18 22:40:47 ea Exp $
|
||||
*
|
||||
* resctos/services/winlogon/init.c
|
||||
*
|
||||
*/
|
||||
#include <windows.h>
|
||||
|
||||
BOOL
|
||||
Initialize(VOID)
|
||||
{
|
||||
/* SERVICES CONTROLLER */
|
||||
NtCreateProcess(
|
||||
L"\\\\??\\C:\reactos\system\services.exe"
|
||||
);
|
||||
/* LOCAL SECURITY AUTORITY SUBSYSTEM */
|
||||
NtCreateProcess(
|
||||
L"\\\\??\\C:\reactos\system\lsass.exe"
|
||||
);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
36
reactos/services/winlogon/makefile
Normal file
36
reactos/services/winlogon/makefile
Normal file
|
@ -0,0 +1,36 @@
|
|||
# $Id: makefile,v 1.1 1999/06/18 22:40:47 ea Exp $
|
||||
#
|
||||
# Logon/login Application
|
||||
#
|
||||
# ReactOS Operating System
|
||||
#
|
||||
TARGET=winlogon
|
||||
|
||||
OBJECTS = $(TARGET).o init.o $(TARGET).coff
|
||||
|
||||
LIBS = ../../lib/ntdll/ntdll.a
|
||||
|
||||
all: $(TARGET).exe
|
||||
|
||||
.phony: all
|
||||
|
||||
clean:
|
||||
- $(RM) $(TARGET).o
|
||||
- $(RM) $(TARGET).exe
|
||||
- $(RM) $(TARGET).sym
|
||||
- $(RM) $(TARGET).coff
|
||||
|
||||
.phony: clean
|
||||
|
||||
$(TARGET).coff: $(TARGET).rc
|
||||
$(RC) $(TARGET).rc $(TARGET).coff
|
||||
|
||||
$(TARGET).exe: $(OBJECTS) $(LIBS)
|
||||
$(LD) \
|
||||
$(OBJECTS) \
|
||||
$(LIBS) \
|
||||
-o $(TARGET).exe \
|
||||
--subsystem native
|
||||
$(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
|
||||
|
||||
include ../../rules.mak
|
38
reactos/services/winlogon/winlogon.rc
Normal file
38
reactos/services/winlogon/winlogon.rc
Normal file
|
@ -0,0 +1,38 @@
|
|||
#include "../../include/defines.h"
|
||||
#include "../../include/reactos/resource.h"
|
||||
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
|
||||
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
#else
|
||||
FILEFLAGS 0x0L
|
||||
#endif
|
||||
FILEOS 0x40004L
|
||||
FILETYPE 0x2L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", RES_STR_COMPANY_NAME
|
||||
VALUE "FileDescription", "ReactOS Logon Application\0"
|
||||
VALUE "FileVersion", RES_STR_FILE_VERSION
|
||||
VALUE "InternalName", "winlogon\0"
|
||||
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
|
||||
VALUE "OriginalFilename", "winlogon.exe\0"
|
||||
VALUE "ProductName", RES_STR_PRODUCT_NAME
|
||||
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
||||
|
Loading…
Reference in a new issue