Module: wine Branch: master Commit: 0da02fb2465ff5a291dcc5e2c24200e8a5ff2cb5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0da02fb2465ff5a291dcc5e2c2...
Author: Eric Pouech eric.pouech@wanadoo.fr Date: Mon Apr 16 09:22:03 2007 +0200
acledit: Stubbed out acledit DLL, needed by SysInternals process explorer.
---
Makefile.in | 2 + configure | 3 ++ configure.ac | 1 + dlls/Makefile.in | 1 + dlls/acledit/Makefile.in | 13 +++++++++++ dlls/acledit/acledit.spec | 8 +++++++ dlls/acledit/main.c | 51 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 79 insertions(+), 0 deletions(-)
diff --git a/Makefile.in b/Makefile.in index 7fa8ef0..541ff0d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -157,6 +157,7 @@ ALL_MAKEFILES = \ dlls/Maketest.rules \ programs/Makeprog.rules \ dlls/Makefile \ + dlls/acledit/Makefile \ dlls/activeds/Makefile \ dlls/advapi32/Makefile \ dlls/advapi32/tests/Makefile \ @@ -498,6 +499,7 @@ dlls/Maketest.rules: dlls/Maketest.rules.in Make.rules programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules Makefile: Makefile.in Make.rules dlls/Makefile: dlls/Makefile.in Make.rules +dlls/acledit/Makefile: dlls/acledit/Makefile.in dlls/Makedll.rules dlls/activeds/Makefile: dlls/activeds/Makefile.in dlls/Makedll.rules dlls/advapi32/Makefile: dlls/advapi32/Makefile.in dlls/Makedll.rules dlls/advapi32/tests/Makefile: dlls/advapi32/tests/Makefile.in dlls/Maketest.rules diff --git a/configure b/configure index 85b24c5..e086a93 100755 --- a/configure +++ b/configure @@ -20203,6 +20203,8 @@ ac_config_files="$ac_config_files Makefile"
ac_config_files="$ac_config_files dlls/Makefile"
+ac_config_files="$ac_config_files dlls/acledit/Makefile" + ac_config_files="$ac_config_files dlls/activeds/Makefile"
ac_config_files="$ac_config_files dlls/advapi32/Makefile" @@ -21422,6 +21424,7 @@ do "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;; + "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;; "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;; "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;; "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;; diff --git a/configure.ac b/configure.ac index c9766dc..5f718c7 100644 --- a/configure.ac +++ b/configure.ac @@ -1492,6 +1492,7 @@ AC_CONFIG_FILES([dlls/Maketest.rules]) AC_CONFIG_FILES([programs/Makeprog.rules]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([dlls/Makefile]) +AC_CONFIG_FILES([dlls/acledit/Makefile]) AC_CONFIG_FILES([dlls/activeds/Makefile]) AC_CONFIG_FILES([dlls/advapi32/Makefile]) AC_CONFIG_FILES([dlls/advapi32/tests/Makefile]) diff --git a/dlls/Makefile.in b/dlls/Makefile.in index a0dcea0..f465d7a 100644 --- a/dlls/Makefile.in +++ b/dlls/Makefile.in @@ -16,6 +16,7 @@ EXTRADIRS = @GLU32FILES@ @OPENGLFILES@ @QUARTZFILES@ @XFILES@ # Subdir list
BASEDIRS = \ + acledit \ activeds \ advapi32 \ advpack \ diff --git a/dlls/acledit/Makefile.in b/dlls/acledit/Makefile.in new file mode 100644 index 0000000..083cd0b --- /dev/null +++ b/dlls/acledit/Makefile.in @@ -0,0 +1,13 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = acledit.dll +IMPORTS = kernel32 + +C_SRCS = \ + main.c + +@MAKE_DLL_RULES@ + +@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/acledit/acledit.spec b/dlls/acledit/acledit.spec new file mode 100644 index 0000000..e33cc59 --- /dev/null +++ b/dlls/acledit/acledit.spec @@ -0,0 +1,8 @@ +1 stub EditAuditInfo +2 stub EditOwnerInfo +3 stub EditPermissionInfo +4 stdcall DllMain(long long ptr) +5 stub FMExtensionProcW +6 stub SedDiscretionaryAclEditor +7 stub SedSystemAclEditor +8 stub SedTakeOwnership diff --git a/dlls/acledit/main.c b/dlls/acledit/main.c new file mode 100644 index 0000000..ca6836a --- /dev/null +++ b/dlls/acledit/main.c @@ -0,0 +1,51 @@ +/* + * Implementation of the AclEdit Interface + * + * Copyright 2006 Eric Pouech + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include <stdarg.h> + +#include "windef.h" +#include "winbase.h" +#include "winuser.h" +#include "winreg.h" +#include "winver.h" +#include "winnls.h" + +#include "wine/unicode.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(acledit); + +/***************************************************** + * DllMain + */ +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls( hinstDLL ); + break; + } + return TRUE; +}