mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 00:53:03 +00:00
added stubs for aclui.dll
svn path=/trunk/; revision=10462
This commit is contained in:
parent
692929e156
commit
a201e6c460
11 changed files with 266 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $Id: baseaddress.cfg,v 1.19 2004/08/08 20:26:42 gvg Exp $
|
# $Id: baseaddress.cfg,v 1.20 2004/08/10 00:09:40 weiden Exp $
|
||||||
#
|
#
|
||||||
# Please try to keep this up2date. Please clean up
|
# Please try to keep this up2date. Please clean up
|
||||||
# after yourself.
|
# after yourself.
|
||||||
|
@ -6,6 +6,7 @@
|
||||||
# REACTOS
|
# REACTOS
|
||||||
|
|
||||||
TARGET_BASE_LIB_ACLEDIT =0x71b70000
|
TARGET_BASE_LIB_ACLEDIT =0x71b70000
|
||||||
|
TARGET_BASE_LIB_ACLUI =0x71550000
|
||||||
TARGET_BASE_LIB_ADVAPI32 =0x77dc0000
|
TARGET_BASE_LIB_ADVAPI32 =0x77dc0000
|
||||||
TARGET_BASE_LIB_CABINET =0x75120000
|
TARGET_BASE_LIB_CABINET =0x75120000
|
||||||
TARGET_BASE_LIB_CARDS =0x701a0000
|
TARGET_BASE_LIB_CARDS =0x701a0000
|
||||||
|
|
|
@ -29,6 +29,11 @@ extern "C" {
|
||||||
#include <accctrl.h>
|
#include <accctrl.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
|
|
||||||
|
DEFINE_GUID(IID_ISecurityInformation, 0x965fc360, 0x16ff, 0x11d0, 0x0091, 0xcb,0x00,0xaa,0x00,0xbb,0xb7,0x23);
|
||||||
|
DEFINE_GUID(IID_ISecurityInformation2, 0xc3ccfdb4, 0x6f88, 0x11d2, 0x00a3, 0xce,0x00,0xc0,0x4f,0xb1,0x78,0x2a);
|
||||||
|
DEFINE_GUID(IID_IEffectivePermission, 0x3853dc76, 0x9f35, 0x407c, 0x0088, 0xa1,0xd1,0x93,0x44,0x36,0x5f,0xbc);
|
||||||
|
DEFINE_GUID(IID_ISecurityObjectTypeInfo, 0xfc3066eb, 0x79ef, 0x444b, 0x0091, 0x11,0xd1,0x8a,0x75,0xeb,0xf2,0xfa);
|
||||||
|
|
||||||
/* FIXME - defined in structs.h already!? avoid conflicts! */
|
/* FIXME - defined in structs.h already!? avoid conflicts! */
|
||||||
typedef struct _OBJECT_TYPE_LIST {
|
typedef struct _OBJECT_TYPE_LIST {
|
||||||
WORD Level;
|
WORD Level;
|
||||||
|
|
8
reactos/lib/aclui/.cvsignore
Normal file
8
reactos/lib/aclui/.cvsignore
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
*.coff
|
||||||
|
*.dll
|
||||||
|
*.d
|
||||||
|
*.a
|
||||||
|
*.o
|
||||||
|
*.sym
|
||||||
|
*.map
|
||||||
|
*.tmp
|
48
reactos/lib/aclui/Makefile
Normal file
48
reactos/lib/aclui/Makefile
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
# $Id: Makefile,v 1.1 2004/08/10 00:09:40 weiden Exp $
|
||||||
|
|
||||||
|
PATH_TO_TOP = ../..
|
||||||
|
|
||||||
|
TARGET_TYPE = dynlink
|
||||||
|
|
||||||
|
TARGET_NAME = aclui
|
||||||
|
|
||||||
|
TARGET_INSTALLDIR = system32
|
||||||
|
|
||||||
|
TARGET_BASE = $(TARGET_BASE_LIB_ACLUI)
|
||||||
|
|
||||||
|
TARGET_CFLAGS = \
|
||||||
|
-I./include \
|
||||||
|
-D__USE_W32API \
|
||||||
|
-DUNICODE \
|
||||||
|
-D_UNICODE \
|
||||||
|
-D__REACTOS__ \
|
||||||
|
-D_WIN32_WINNT=0x501 \
|
||||||
|
-DWINVER=0x600 \
|
||||||
|
-Wall \
|
||||||
|
-Werror \
|
||||||
|
-fno-builtin
|
||||||
|
|
||||||
|
TARGET_LFLAGS = -nostartfiles -nostdlib
|
||||||
|
|
||||||
|
TARGET_SDKLIBS = ntdll.a kernel32.a advapi32.a user32.a
|
||||||
|
|
||||||
|
TARGET_GCCLIBS = gcc
|
||||||
|
|
||||||
|
TARGET_PCH =
|
||||||
|
|
||||||
|
TARGET_CLEAN =
|
||||||
|
|
||||||
|
TARGET_OBJECTS = aclui.o stubs.o
|
||||||
|
|
||||||
|
DEP_OBJECTS = $(TARGET_OBJECTS)
|
||||||
|
|
||||||
|
include $(PATH_TO_TOP)/rules.mak
|
||||||
|
|
||||||
|
include $(TOOLS_PATH)/helper.mk
|
||||||
|
|
||||||
|
include $(TOOLS_PATH)/depend.mk
|
||||||
|
|
||||||
|
%/TAGS:
|
||||||
|
etags -o $(@D)/TAGS $(@D)/\*.c
|
||||||
|
|
||||||
|
etags: ./TAGS
|
61
reactos/lib/aclui/aclui.c
Normal file
61
reactos/lib/aclui/aclui.c
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
/*
|
||||||
|
* ReactOS kernel
|
||||||
|
* Copyright (C) 2004 ReactOS Team
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program 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 General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
*/
|
||||||
|
/* $Id: aclui.c,v 1.1 2004/08/10 00:09:40 weiden Exp $
|
||||||
|
*
|
||||||
|
* PROJECT: ReactOS Access Control List Editor
|
||||||
|
* FILE: lib/acledit/acledit.c
|
||||||
|
* PURPOSE: Access Control List Editor
|
||||||
|
* PROGRAMMER: Thomas Weidenmueller (w3seek@users.sourceforge.net)
|
||||||
|
*
|
||||||
|
* Based on guess work and on this nice article:
|
||||||
|
* http://www.sysinternals.com/ntw2k/info/acledit.shtml
|
||||||
|
*
|
||||||
|
* UPDATE HISTORY:
|
||||||
|
* 07/09/2004 Created
|
||||||
|
*/
|
||||||
|
#define INITGUID
|
||||||
|
#include <windows.h>
|
||||||
|
#include <aclui.h>
|
||||||
|
#include "internal.h"
|
||||||
|
#include "resource.h"
|
||||||
|
|
||||||
|
HINSTANCE hDllInstance;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
BOOL STDCALL
|
||||||
|
DllMain(HINSTANCE hinstDLL,
|
||||||
|
DWORD dwReason,
|
||||||
|
LPVOID lpvReserved)
|
||||||
|
{
|
||||||
|
switch (dwReason)
|
||||||
|
{
|
||||||
|
case DLL_PROCESS_ATTACH:
|
||||||
|
hDllInstance = hinstDLL;
|
||||||
|
break;
|
||||||
|
case DLL_THREAD_ATTACH:
|
||||||
|
break;
|
||||||
|
case DLL_THREAD_DETACH:
|
||||||
|
break;
|
||||||
|
case DLL_PROCESS_DETACH:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
22
reactos/lib/aclui/aclui.def
Normal file
22
reactos/lib/aclui/aclui.def
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
LIBRARY alui.dll
|
||||||
|
|
||||||
|
EXPORTS
|
||||||
|
CreateSecurityPage@4 @1
|
||||||
|
EditSecurity@8 @2
|
||||||
|
;ACLUI.3
|
||||||
|
;ACLUI.4
|
||||||
|
;ACLUI.5
|
||||||
|
;ACLUI.6
|
||||||
|
;ACLUI.7
|
||||||
|
;ACLUI.8
|
||||||
|
;ACLUI.9
|
||||||
|
;ACLUI.10
|
||||||
|
;ACLUI.11
|
||||||
|
;ACLUI.12
|
||||||
|
;ACLUI.13
|
||||||
|
;ACLUI.14
|
||||||
|
;ACLUI.15
|
||||||
|
IID_ISecurityInformation DATA @16
|
||||||
|
|
||||||
|
|
||||||
|
; EOF
|
22
reactos/lib/aclui/aclui.edf
Normal file
22
reactos/lib/aclui/aclui.edf
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
LIBRARY aclui.dll
|
||||||
|
|
||||||
|
EXPORTS
|
||||||
|
CreateSecurityPage=CreateSecurityPage@4 @1
|
||||||
|
EditSecurity=EditSecurity@8 @2
|
||||||
|
;ACLUI.3
|
||||||
|
;ACLUI.4
|
||||||
|
;ACLUI.5
|
||||||
|
;ACLUI.6
|
||||||
|
;ACLUI.7
|
||||||
|
;ACLUI.8
|
||||||
|
;ACLUI.9
|
||||||
|
;ACLUI.10
|
||||||
|
;ACLUI.11
|
||||||
|
;ACLUI.12
|
||||||
|
;ACLUI.13
|
||||||
|
;ACLUI.14
|
||||||
|
;ACLUI.15
|
||||||
|
IID_ISecurityInformation DATA @16
|
||||||
|
|
||||||
|
|
||||||
|
; EOF
|
40
reactos/lib/aclui/aclui.rc
Normal file
40
reactos/lib/aclui/aclui.rc
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
#include <reactos/resource.h>
|
||||||
|
#include <defines.h>
|
||||||
|
#include "resource.h"
|
||||||
|
|
||||||
|
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
|
||||||
|
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
|
||||||
|
FILEFLAGSMASK 0x3fL
|
||||||
|
#ifdef _DEBUG
|
||||||
|
FILEFLAGS 0x1L
|
||||||
|
#else
|
||||||
|
FILEFLAGS 0x0L
|
||||||
|
#endif
|
||||||
|
FILEOS 0x40004L
|
||||||
|
FILETYPE 0x2L
|
||||||
|
FILESUBTYPE 0x0L
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", RES_STR_COMPANY_NAME
|
||||||
|
VALUE "FileDescription", "ReactOS Access Control List Editor\0"
|
||||||
|
VALUE "FileVersion", RES_STR_FILE_VERSION
|
||||||
|
VALUE "InternalName", "aclui\0"
|
||||||
|
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
|
||||||
|
VALUE "OriginalFilename", "aclui.dll\0"
|
||||||
|
VALUE "ProductName", RES_STR_PRODUCT_NAME
|
||||||
|
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
|
|
8
reactos/lib/aclui/internal.h
Normal file
8
reactos/lib/aclui/internal.h
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#ifndef __ACLUI_INTERNAL_H
|
||||||
|
#define __ACLUI_INTERNAL_H
|
||||||
|
|
||||||
|
extern HINSTANCE hDllInstance;
|
||||||
|
|
||||||
|
#endif /* __ACLUI_INTERNAL_H */
|
||||||
|
|
||||||
|
/* EOF */
|
8
reactos/lib/aclui/resource.h
Normal file
8
reactos/lib/aclui/resource.h
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#ifndef __ACLUI_RESOURCE_H
|
||||||
|
#define __ACLUI_RESOURCE_H
|
||||||
|
|
||||||
|
#define IDI_DEVMGR 100
|
||||||
|
|
||||||
|
#endif /* __ACLUI_RESOURCE_H */
|
||||||
|
|
||||||
|
/* EOF */
|
42
reactos/lib/aclui/stubs.c
Normal file
42
reactos/lib/aclui/stubs.c
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
/* $Id: stubs.c,v 1.1 2004/08/10 00:09:40 weiden Exp $
|
||||||
|
*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS Access Control List Editor
|
||||||
|
* FILE: lib/acledit/stubs.c
|
||||||
|
* PURPOSE: acledit.dll stubs
|
||||||
|
* PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
|
||||||
|
* NOTES: If you implement a function, remove it from this file
|
||||||
|
*
|
||||||
|
* Based on guess work and on this nice article:
|
||||||
|
* http://www.sysinternals.com/ntw2k/info/acledit.shtml
|
||||||
|
*
|
||||||
|
* UPDATE HISTORY:
|
||||||
|
* 07/09/2004 Created
|
||||||
|
*/
|
||||||
|
#include <windows.h>
|
||||||
|
#include <aclui.h>
|
||||||
|
#include "internal.h"
|
||||||
|
|
||||||
|
ULONG DbgPrint(PCH Format,...);
|
||||||
|
|
||||||
|
#define UNIMPLEMENTED \
|
||||||
|
DbgPrint("ACLUI: %s at %s:%d is UNIMPLEMENTED!\n",__FUNCTION__,__FILE__,__LINE__)
|
||||||
|
|
||||||
|
|
||||||
|
HPROPSHEETPAGE
|
||||||
|
WINAPI
|
||||||
|
CreateSecurityPage(LPSECURITYINFO psi)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL
|
||||||
|
WINAPI
|
||||||
|
EditSecurity(HWND hwndOwner, LPSECURITYINFO psi)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue