added an initial MARTA provider (only two functions stubbed)
Modified: trunk/reactos/baseaddress.xml
Modified: trunk/reactos/bootdata/packages/reactos.dff
Modified: trunk/reactos/lib/directory.xml
Added: trunk/reactos/lib/ntmarta/
Added: trunk/reactos/lib/ntmarta/ntmarta.c
Added: trunk/reactos/lib/ntmarta/ntmarta.def
Added: trunk/reactos/lib/ntmarta/ntmarta.h
Added: trunk/reactos/lib/ntmarta/ntmarta.rc
Added: trunk/reactos/lib/ntmarta/ntmarta.xml
_____
Modified: trunk/reactos/baseaddress.xml
--- trunk/reactos/baseaddress.xml 2005-07-26 19:46:07 UTC (rev
16758)
+++ trunk/reactos/baseaddress.xml 2005-07-26 21:17:06 UTC (rev
16759)
@@ -56,6 +56,7 @@
<property name="BASEADDRESS_WAVEMAP" value="0x76610000" />
<property name="BASEADDRESS_MPR" value="0x76620000" />
<property name="BASEADDRESS_SETUPAPI" value="0x76660000" />
+<property name="BASEADDRESS_NTMARTA" value="0x768A0000" />
<property name="BASEADDRESS_GDIPLUS" value="0x76a00000" />
<property name="BASEADDRESS_IMAGEHLP" value="0x76c90000" />
<property name="BASEADDRESS_FMIFS" value="0x76df0000" />
_____
Modified: trunk/reactos/bootdata/packages/reactos.dff
--- trunk/reactos/bootdata/packages/reactos.dff 2005-07-26 19:46:07 UTC
(rev 16758)
+++ trunk/reactos/bootdata/packages/reactos.dff 2005-07-26 21:17:06 UTC
(rev 16759)
@@ -114,6 +114,7 @@
lib\mswsock\mswsock.dll 1
lib\netapi32\netapi32.dll 1
lib\ntdll\ntdll.dll 1
+lib\ntmarta\ntmarta.dll 1
lib\objsel\objsel.dll 1
lib\ole32\ole32.dll 1
lib\oleaut32\oleaut32.dll 1
_____
Modified: trunk/reactos/lib/directory.xml
--- trunk/reactos/lib/directory.xml 2005-07-26 19:46:07 UTC (rev
16758)
+++ trunk/reactos/lib/directory.xml 2005-07-26 21:17:06 UTC (rev
16759)
@@ -190,6 +190,9 @@
<directory name="ntdll">
<xi:include href="ntdll/ntdll.xml" />
</directory>
+<directory name="ntmarta">
+ <xi:include href="ntmarta/ntmarta.xml" />
+</directory>
<directory name="objsel">
<xi:include href="objsel/objsel.xml" />
</directory>
Property changes on: trunk/reactos/lib/ntmarta
___________________________________________________________________
Name: svn:ignore
+ *.coff
*.dll
*.d
*.a
*.o
*.sym
*.map
*.tmp
*.gch
makefile
_____
Added: trunk/reactos/lib/ntmarta/ntmarta.c
--- trunk/reactos/lib/ntmarta/ntmarta.c 2005-07-26 19:46:07 UTC (rev
16758)
+++ trunk/reactos/lib/ntmarta/ntmarta.c 2005-07-26 21:17:06 UTC (rev
16759)
@@ -0,0 +1,89 @@
+/*
+ * ReactOS MARTA provider
+ * Copyright (C) 2004 ReactOS Team
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+/* $Id$
+ *
+ * PROJECT: ReactOS MARTA provider
+ * FILE: lib/ntmarta/ntmarta.c
+ * PURPOSE: ReactOS MARTA provider
+ * PROGRAMMER: Thomas Weidenmueller <w3seek(a)reactos.com>
+ *
+ * UPDATE HISTORY:
+ * 07/26/2005 Created
+ */
+#include <ntmarta.h>
+
+#define NDEBUG
+#include <debug.h>
+
+HINSTANCE hDllInstance;
+
+/**********************************************************************
+ * AccRewriteGetHandleRights EXPORTED
+ *
+ * @unimplemented
+ */
+DWORD STDCALL
+AccRewriteGetHandleRights(HANDLE handle,
+ SE_OBJECT_TYPE ObjectType,
+ SECURITY_INFORMATION SecurityInfo,
+ PSID* ppsidOwner,
+ PSID* ppsidGroup,
+ PACL* ppDacl,
+ PACL* ppSacl,
+ PSECURITY_DESCRIPTOR* ppSecurityDescriptor)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/**********************************************************************
+ * AccRewriteSetHandleRights EXPORTED
+ *
+ * @unimplemented
+ */
+DWORD STDCALL
+AccRewriteSetHandleRights(HANDLE handle,
+ SE_OBJECT_TYPE ObjectType,
+ SECURITY_INFORMATION SecurityInfo,
+ PSECURITY_DESCRIPTOR pSecurityDescriptor)
+{
+ UNIMPLEMENTED;
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+
+BOOL STDCALL
+DllMain(IN HINSTANCE hinstDLL,
+ IN DWORD dwReason,
+ IN LPVOID lpvReserved)
+{
+ switch (dwReason)
+ {
+ case DLL_PROCESS_ATTACH:
+ hDllInstance = hinstDLL;
+ break;
+ case DLL_THREAD_ATTACH:
+ case DLL_THREAD_DETACH:
+ case DLL_PROCESS_DETACH:
+ break;
+ }
+ return TRUE;
+}
+
Property changes on: trunk/reactos/lib/ntmarta/ntmarta.c
___________________________________________________________________
Name: svn:keywords
+ author date id revision
Name: svn:eol-style
+ native
_____
Added: trunk/reactos/lib/ntmarta/ntmarta.def
--- trunk/reactos/lib/ntmarta/ntmarta.def 2005-07-26 19:46:07 UTC
(rev 16758)
+++ trunk/reactos/lib/ntmarta/ntmarta.def 2005-07-26 21:17:06 UTC
(rev 16759)
@@ -0,0 +1,47 @@
+LIBRARY ntmarta.dll
+
+EXPORTS
+;AccFreeIndexArray
+;AccGetInheritanceSource
+;AccProvHandleGrantAccessRights;
+;AccRewriteGetExplicitEntriesFromAcl
+AccRewriteGetHandleRights@32
+;AccRewriteGetNamedRights
+;AccRewriteSetEntriesInAcl
+AccRewriteSetHandleRights@16
+;AccRewriteSetNamedRights
+;AccTreeResetNamedSecurityInfo
+;AccConvertAccessMaskToActrlAccess
+;AccConvertAccessToSD
+;AccConvertAccessToSecurityDescriptor
+;AccConvertAclToAccess
+;AccConvertSDToAccess
+;AccGetAccessForTrustee
+;AccGetExplicitEntries
+;AccLookupAccountName
+;AccLookupAccountSid;
+;AccLookupAccountTrustee
+;AccProvCancelOperation;
+;AccProvGetAccessInfoPerObjectType
+;AccProvGetAllRights
+;AccProvGetCapabilities
+;AccProvGetOperationResults
+;AccProvGetTrusteesAccess
+;AccProvGrantAccessRights
+;AccProvHandleGetAccessInfoPerObjectType
+;AccProvHandleGetAllRights
+;AccProvHandleGetTrusteesAccess
+;AccProvHandleIsAccessAudited
+;AccProvHandleIsObjectAccessible
+;AccProvHandleRevokeAccessRights
+;AccProvHandleRevokeAuditRights
+;AccProvHandleSetAccessRights
+;AccProvIsAccessAudited
+;AccProvIsObjectAccessible
+;AccProvRevokeAccessRights
+;AccProvSetAccessRights
+;AccSetEntriesInAList
+;EventGuidToName
+;EventNameFree
+
+; EOF
Property changes on: trunk/reactos/lib/ntmarta/ntmarta.def
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Added: trunk/reactos/lib/ntmarta/ntmarta.h
--- trunk/reactos/lib/ntmarta/ntmarta.h 2005-07-26 19:46:07 UTC (rev
16758)
+++ trunk/reactos/lib/ntmarta/ntmarta.h 2005-07-26 21:17:06 UTC (rev
16759)
@@ -0,0 +1,8 @@
+#include <windows.h>
+#include <accctrl.h>
+
+ULONG DbgPrint(PCH Format,...);
+
+extern HINSTANCE hDllInstance;
+
+/* EOF */
Property changes on: trunk/reactos/lib/ntmarta/ntmarta.h
___________________________________________________________________
Name: svn:keywords
+ author date id revision
Name: svn:eol-style
+ native
_____
Added: trunk/reactos/lib/ntmarta/ntmarta.rc
--- trunk/reactos/lib/ntmarta/ntmarta.rc 2005-07-26 19:46:07 UTC
(rev 16758)
+++ trunk/reactos/lib/ntmarta/ntmarta.rc 2005-07-26 21:17:06 UTC
(rev 16759)
@@ -0,0 +1,9 @@
+#include <windows.h>
+#include <reactos/resource.h>
+
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION "ReactOS MARTA Provider\0"
+#define REACTOS_STR_INTERNAL_NAME "ntmarta\0"
+#define REACTOS_STR_ORIGINAL_FILENAME "ntmarta.dll\0"
+#include <reactos/version.rc>
+
Property changes on: trunk/reactos/lib/ntmarta/ntmarta.rc
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Added: trunk/reactos/lib/ntmarta/ntmarta.xml
--- trunk/reactos/lib/ntmarta/ntmarta.xml 2005-07-26 19:46:07 UTC
(rev 16758)
+++ trunk/reactos/lib/ntmarta/ntmarta.xml 2005-07-26 21:17:06 UTC
(rev 16759)
@@ -0,0 +1,16 @@
+<module name="ntmarta" type="win32dll"
baseaddress="${BASEADDRESS_NTMARTA}" installbase="system32"
installname="ntmarta.dll">
+ <importlibrary definition="ntmarta.def" />
+ <include base="ntmarta">.</include>
+ <define name="UNICODE" />
+ <define name="_UNICODE" />
+ <define name="__USE_W32API" />
+ <define name="_WIN32_IE">0x0500</define>
+ <define name="_WIN32_WINNT">0x501</define>
+ <define name="WINVER">0x0600</define>
+ <library>ntdll</library>
+ <library>kernel32</library>
+ <library>advapi32</library>
+ <file>ntmarta.c</file>
+ <file>ntmarta.rc</file>
+ <pch>ntmarta.h</pch>
+</module>
Property changes on: trunk/reactos/lib/ntmarta/ntmarta.xml
___________________________________________________________________
Name: svn:eol-style
+ native