diff --git a/include/Makefile.in b/include/Makefile.in index 037db11b0e8..62d0dfe9a4c 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -35,6 +35,7 @@ IDL_INCLUDES = \ WINDOWS_INCLUDES = \ accctrl.h \ + aclapi.h \ audevcod.h \ aviriff.h \ basetsd.h \ diff --git a/include/aclapi.h b/include/aclapi.h new file mode 100644 index 00000000000..98433bd10e9 --- /dev/null +++ b/include/aclapi.h @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2004 Mike McCormack + * + * 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 + */ + +#ifndef __WINE_ACLAPI_H +#define __WINE_ACLAPI_H + +#ifndef __WINESRC__ +# include +#endif +#include + +#ifdef __cplusplus +extern "C" { +#endif + +DWORD WINAPI GetNamedSecurityInfoA(LPSTR, SE_OBJECT_TYPE, SECURITY_INFORMATION, + PSID*, PSID*, PACL*, PACL*, PSECURITY_DESCRIPTOR*); +DWORD WINAPI GetNamedSecurityInfoW(LPWSTR, SE_OBJECT_TYPE, SECURITY_INFORMATION, + PSID*, PSID*, PACL*, PACL*, PSECURITY_DESCRIPTOR*); +#define GetNamedSecurityInfo WINELIB_NAME_AW(GetNamedSecurityInfo) + +DWORD WINAPI SetNamedSecurityInfoA(LPSTR, SE_OBJECT_TYPE, + SECURITY_INFORMATION, PSID, PSID, PACL, PACL); +DWORD WINAPI SetNamedSecurityInfoW(LPWSTR, SE_OBJECT_TYPE, + SECURITY_INFORMATION, PSID, PSID, PACL, PACL); +#define SetNamedSecurityInfo WINELIB_NAME_AW(SetNamedSecurityInfo) + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_ACLAPI_H */