Author: ekohl Date: Sun Aug 16 19:11:21 2015 New Revision: 68722
URL: http://svn.reactos.org/svn/reactos?rev=68722&view=rev Log: [WLNOTIFY] Add the winlogon notification dll. Right now it exports only test functions for the winlogon notifications.
Added: trunk/reactos/dll/win32/wlnotify/ (with props) trunk/reactos/dll/win32/wlnotify/CMakeLists.txt (with props) trunk/reactos/dll/win32/wlnotify/precomp.h (with props) trunk/reactos/dll/win32/wlnotify/test.c (with props) trunk/reactos/dll/win32/wlnotify/wlnotify.c (with props) trunk/reactos/dll/win32/wlnotify/wlnotify.rc (with props) trunk/reactos/dll/win32/wlnotify/wlnotify.spec (with props) Modified: trunk/reactos/cmake/baseaddress.cmake trunk/reactos/cmake/baseaddress_dwarf.cmake
Modified: trunk/reactos/cmake/baseaddress.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/baseaddress.cmake?rev... ============================================================================== --- trunk/reactos/cmake/baseaddress.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/baseaddress.cmake [iso-8859-1] Sun Aug 16 19:11:21 2015 @@ -40,6 +40,7 @@ set(baseaddress_cabinet 0x75ac0000) set(baseaddress_dsound 0x75a50000) set(baseaddress_glu32 0x75950000) +set(baseaddress_wlnotify 0x758f0000) set(baseaddress_opengl32 0x75720000) set(baseaddress_riched20 0x75690000) set(baseaddress_smdll 0x75670000)
Modified: trunk/reactos/cmake/baseaddress_dwarf.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/baseaddress_dwarf.cma... ============================================================================== --- trunk/reactos/cmake/baseaddress_dwarf.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/baseaddress_dwarf.cmake [iso-8859-1] Sun Aug 16 19:11:21 2015 @@ -40,6 +40,7 @@ set(baseaddress_cabinet 0x75290000) set(baseaddress_dsound 0x751f0000) set(baseaddress_glu32 0x750a0000) +set(baseaddress_wlnotify 0x75040000) set(baseaddress_opengl32 0x74d90000) set(baseaddress_riched20 0x74cd0000) set(baseaddress_smdll 0x74cb0000)
Propchange: trunk/reactos/dll/win32/wlnotify/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Sun Aug 16 19:11:21 2015 @@ -0,0 +1 @@ +((CORE|ROSTESTS|ROSAPPS)-\d+)(,? ?((CORE|ROSTESTS|ROSAPPS)-\d+))*(,? ?(and |or )?((CORE|ROSTESTS|ROSAPPS)-\d+))?
Propchange: trunk/reactos/dll/win32/wlnotify/ ------------------------------------------------------------------------------ bugtraq:message = See issue %BUGID% for more details.
Propchange: trunk/reactos/dll/win32/wlnotify/ ------------------------------------------------------------------------------ bugtraq:url = https://jira.reactos.org/browse/%BUGID%
Propchange: trunk/reactos/dll/win32/wlnotify/ ------------------------------------------------------------------------------ tsvn:logminsize = 10
Added: trunk/reactos/dll/win32/wlnotify/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wlnotify/CMakeLis... ============================================================================== --- trunk/reactos/dll/win32/wlnotify/CMakeLists.txt (added) +++ trunk/reactos/dll/win32/wlnotify/CMakeLists.txt [iso-8859-1] Sun Aug 16 19:11:21 2015 @@ -0,0 +1,17 @@ + +spec2def(wlnotify.dll wlnotify.spec ADD_IMPORTLIB) + +list(APPEND SOURCE + test.c + wlnotify.c + precomp.h) + +add_library(wlnotify SHARED + ${SOURCE} + wlnotify.rc + ${CMAKE_CURRENT_BINARY_DIR}/wlnotify.def) + +set_module_type(wlnotify win32dll UNICODE ENTRYPOINT DllMain 12) +add_importlibs(wlnotify kernel32 ntdll) +add_pch(wlnotify precomp.h SOURCE) +add_cd_file(TARGET wlnotify DESTINATION reactos/system32 FOR all)
Propchange: trunk/reactos/dll/win32/wlnotify/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/wlnotify/precomp.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wlnotify/precomp.... ============================================================================== --- trunk/reactos/dll/win32/wlnotify/precomp.h (added) +++ trunk/reactos/dll/win32/wlnotify/precomp.h [iso-8859-1] Sun Aug 16 19:11:21 2015 @@ -0,0 +1,3 @@ +/**/ +#include <windows.h> +#include <winwlx.h>
Propchange: trunk/reactos/dll/win32/wlnotify/precomp.h ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/wlnotify/test.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wlnotify/test.c?r... ============================================================================== --- trunk/reactos/dll/win32/wlnotify/test.c (added) +++ trunk/reactos/dll/win32/wlnotify/test.c [iso-8859-1] Sun Aug 16 19:11:21 2015 @@ -0,0 +1,48 @@ +/* + * PROJECT: ReactOS system libraries + * LICENSE: GPL - See COPYING in the top level directory + * FILE: dll/win32/wlnotify/test.c + * PURPOSE: Winlogon notifications + * PROGRAMMER: Eric Kohl + */ + +#include "precomp.h" + +#define _NDEBUG +#include <debug.h> + + +VOID +WINAPI +TestLogonEvent( + PWLX_NOTIFICATION_INFO pInfo) +{ + DPRINT1("TestLogonEvent\n"); + DPRINT1("Size: %lu\n", pInfo->Size); + DPRINT1("Flags: %lx\n", pInfo->Flags); + DPRINT1("UserName: %S\n", pInfo->UserName); + DPRINT1("Domain: %S\n", pInfo->Domain); + DPRINT1("WindowStation: %S\n", pInfo->WindowStation); + DPRINT1("hToken: %p\n", pInfo->hToken); + DPRINT1("hDesktop: %p\n", pInfo->hDesktop); + DPRINT1("pStatusCallback: %p\n", pInfo->pStatusCallback); +} + + +VOID +WINAPI +TestLogoffEvent( + PWLX_NOTIFICATION_INFO pInfo) +{ + DPRINT1("TestLogoffEvent\n"); + DPRINT1("Size: %lu\n", pInfo->Size); + DPRINT1("Flags: %lx\n", pInfo->Flags); + DPRINT1("UserName: %S\n", pInfo->UserName); + DPRINT1("Domain: %S\n", pInfo->Domain); + DPRINT1("WindowStation: %S\n", pInfo->WindowStation); + DPRINT1("hToken: %p\n", pInfo->hToken); + DPRINT1("hDesktop: %p\n", pInfo->hDesktop); + DPRINT1("pStatusCallback: %p\n", pInfo->pStatusCallback); +} + +/* EOF */
Propchange: trunk/reactos/dll/win32/wlnotify/test.c ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/wlnotify/wlnotify.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wlnotify/wlnotify... ============================================================================== --- trunk/reactos/dll/win32/wlnotify/wlnotify.c (added) +++ trunk/reactos/dll/win32/wlnotify/wlnotify.c [iso-8859-1] Sun Aug 16 19:11:21 2015 @@ -0,0 +1,32 @@ +/* + * PROJECT: ReactOS system libraries + * LICENSE: GPL - See COPYING in the top level directory + * FILE: dll/win32/wlnotify/wlnotify.c + * PURPOSE: Winlogon notifications + * PROGRAMMER: Eric Kohl + */ + +#include "precomp.h" + +#define _NDEBUG +#include <debug.h> + + +BOOL +WINAPI +DllMain( + HINSTANCE hInstance, + DWORD dwReason, + LPVOID lpReserved) +{ + switch (dwReason) + { + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hInstance); + break; + } + + return TRUE; +} + +/* EOF */
Propchange: trunk/reactos/dll/win32/wlnotify/wlnotify.c ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/wlnotify/wlnotify.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wlnotify/wlnotify... ============================================================================== --- trunk/reactos/dll/win32/wlnotify/wlnotify.rc (added) +++ trunk/reactos/dll/win32/wlnotify/wlnotify.rc [iso-8859-1] Sun Aug 16 19:11:21 2015 @@ -0,0 +1,5 @@ +#define REACTOS_VERSION_DLL +#define REACTOS_STR_FILE_DESCRIPTION "Common DLL to receive Winlogon notifications" +#define REACTOS_STR_INTERNAL_NAME "wlnotify" +#define REACTOS_STR_ORIGINAL_FILENAME "wlnotify.dll" +#include <reactos/version.rc>
Propchange: trunk/reactos/dll/win32/wlnotify/wlnotify.rc ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/dll/win32/wlnotify/wlnotify.spec URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wlnotify/wlnotify... ============================================================================== --- trunk/reactos/dll/win32/wlnotify/wlnotify.spec (added) +++ trunk/reactos/dll/win32/wlnotify/wlnotify.spec [iso-8859-1] Sun Aug 16 19:11:21 2015 @@ -0,0 +1,2 @@ +@ stdcall TestLogonEvent(ptr) +@ stdcall TestLogoffEvent(ptr)
Propchange: trunk/reactos/dll/win32/wlnotify/wlnotify.spec ------------------------------------------------------------------------------ svn:eol-style = native