acledit: Stubbed out acledit DLL, needed by SysInternals process explorer.
This commit is contained in:
parent
fdb368789c
commit
0da02fb246
|
@ -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
|
||||
|
|
|
@ -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" ;;
|
||||
|
|
|
@ -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])
|
||||
|
|
|
@ -16,6 +16,7 @@ EXTRADIRS = @GLU32FILES@ @OPENGLFILES@ @QUARTZFILES@ @XFILES@
|
|||
# Subdir list
|
||||
|
||||
BASEDIRS = \
|
||||
acledit \
|
||||
activeds \
|
||||
advapi32 \
|
||||
advpack \
|
||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue