From cfb9429c6eeeb0bc45bbf11ee77bcefe648b4a06 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Fri, 12 Oct 2007 01:08:06 +0000 Subject: [PATCH] Sorry for this! Shell32 should be a Sync->Port not 100% sync. We needed this for a long time too! Good job janderwald! svn path=/trunk/; revision=29528 --- reactos/dll/win32/shell32/dialogs.c | 10 ++++++++++ reactos/dll/win32/shell32/shell32.spec | 1 + 2 files changed, 11 insertions(+) diff --git a/reactos/dll/win32/shell32/dialogs.c b/reactos/dll/win32/shell32/dialogs.c index eb5c1a18ba2..53ca8b650f5 100644 --- a/reactos/dll/win32/shell32/dialogs.c +++ b/reactos/dll/win32/shell32/dialogs.c @@ -406,6 +406,16 @@ int WINAPI RestartDialogEx(HWND hWndOwner, LPCWSTR lpwstrReason, DWORD uFlags, D return 0; } +/************************************************************************* + * LogoffWindowsDialog [SHELL32.54] + */ + +int WINAPI LogoffWindowsDialog(DWORD uFlags) +{ + ERR("LogoffWindowsDialog is UNIMPLEMENTED\n"); + ExitWindowsEx(EWX_LOGOFF, 0); + return 0; +} /************************************************************************* * RestartDialog [SHELL32.59] diff --git a/reactos/dll/win32/shell32/shell32.spec b/reactos/dll/win32/shell32/shell32.spec index 66e8cb96372..159bc11970a 100644 --- a/reactos/dll/win32/shell32/shell32.spec +++ b/reactos/dll/win32/shell32/shell32.spec @@ -49,6 +49,7 @@ 51 stdcall PathResolve(str long long) PathResolveAW 52 stdcall -noname PathGetArgs(str) PathGetArgsAW 53 stdcall DoEnvironmentSubst(long long) DoEnvironmentSubstAW + 54 stdcall -noname LogoffWindowsDialog(ptr) 55 stdcall -noname PathQuoteSpaces(ptr) PathQuoteSpacesAW 56 stdcall -noname PathUnquoteSpaces(str) PathUnquoteSpacesAW 57 stdcall -noname PathGetDriveNumber(str) PathGetDriveNumberAW