mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
added an initial MARTA provider (only two functions stubbed)
svn path=/trunk/; revision=16759
This commit is contained in:
parent
9c8f710c8a
commit
5887e9c4c9
8 changed files with 174 additions and 0 deletions
|
@ -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" />
|
||||
|
|
|
@ -114,6 +114,7 @@ lib\msvideo\msvfw32.dll 1
|
|||
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
|
||||
|
|
|
@ -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>
|
||||
|
|
89
reactos/lib/ntmarta/ntmarta.c
Normal file
89
reactos/lib/ntmarta/ntmarta.c
Normal file
|
@ -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@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;
|
||||
}
|
||||
|
47
reactos/lib/ntmarta/ntmarta.def
Normal file
47
reactos/lib/ntmarta/ntmarta.def
Normal file
|
@ -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
|
8
reactos/lib/ntmarta/ntmarta.h
Normal file
8
reactos/lib/ntmarta/ntmarta.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include <windows.h>
|
||||
#include <accctrl.h>
|
||||
|
||||
ULONG DbgPrint(PCH Format,...);
|
||||
|
||||
extern HINSTANCE hDllInstance;
|
||||
|
||||
/* EOF */
|
9
reactos/lib/ntmarta/ntmarta.rc
Normal file
9
reactos/lib/ntmarta/ntmarta.rc
Normal file
|
@ -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>
|
||||
|
16
reactos/lib/ntmarta/ntmarta.xml
Normal file
16
reactos/lib/ntmarta/ntmarta.xml
Normal file
|
@ -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>
|
Loading…
Reference in a new issue