implemented WlxNegotiate()

svn path=/trunk/; revision=6781
This commit is contained in:
Thomas Bluemel 2003-11-24 15:28:54 +00:00
parent befdc5d94a
commit 950a4d9cea
4 changed files with 35 additions and 23 deletions

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.1 2003/11/24 14:25:28 weiden Exp $
# $Id: Makefile,v 1.2 2003/11/24 15:28:54 weiden Exp $
PATH_TO_TOP = ../..
@ -16,9 +16,6 @@ TARGET_CFLAGS = \
-Werror \
-fno-builtin
# require os code to explicitly request A/W version of structs/functions
TARGET_CFLAGS += -D_DISABLE_TIDENTS
TARGET_LFLAGS = -nostartfiles -nostdlib
TARGET_SDKLIBS = ntdll.a

View file

@ -16,9 +16,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: msgina.c,v 1.1 2003/11/24 14:25:28 weiden Exp $
/* $Id: msgina.c,v 1.2 2003/11/24 15:28:54 weiden Exp $
*
* PROJECT: ReactOS user32.dll
* PROJECT: ReactOS msgina.dll
* FILE: lib/msgina/msgina.c
* PURPOSE: ReactOS Logon GINA DLL
* PROGRAMMER: Thomas Weidenmueller (w3seek@users.sourceforge.net)
@ -27,6 +27,23 @@
*/
#include <windows.h>
#include <WinWlx.h>
#include "msgina.h"
/*
* @implemented
*/
BOOL WINAPI
WlxNegotiate(
DWORD dwWinlogonVersion,
PDWORD pdwDllVersion)
{
if(dwWinlogonVersion < GINA_VERSION)
return FALSE;
*pdwDllVersion = GINA_VERSION;
return TRUE;
}
BOOL STDCALL
DllMain(

View file

@ -0,0 +1,8 @@
#ifndef __MSGINA_H
#define __MSGINA_H
#define GINA_VERSION (WLX_VERSION_1_0)
#endif /* __MSGINA_H */
/* EOF */

View file

@ -1,7 +1,7 @@
/* $Id: stubs.c,v 1.1 2003/11/24 14:25:28 weiden Exp $
/* $Id: stubs.c,v 1.2 2003/11/24 15:28:54 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS user32.dll
* PROJECT: ReactOS msgina.dll
* FILE: lib/msgina/stubs.c
* PURPOSE: msgina.dll stubs
* PROGRAMMER: Thomas Weidenmueller (w3seek@users.sourceforge.net)
@ -16,11 +16,14 @@
DbgPrint("MSGINA: %s at %s:%d is UNIMPLEMENTED!\n",__FUNCTION__,__FILE__,__LINE__)
/*
* @unimplemented
*/
DWORD WINAPI
ShellShutdownDialog(
HWND hParent,
HWND hParent,
DWORD Unknown,
BOOL bHideLogoff)
BOOL bHideLogoff)
{
/* Return values:
* 0x00: Cancelled/Help
@ -158,19 +161,6 @@ WlxLogoff(
}
/*
* @unimplemented
*/
BOOL WINAPI
WlxNegotiate(
DWORD dwWinlogonVersion,
PDWORD pdwDllVersion)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @unimplemented
*/