include: Add strongname.h.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Zebediah Figura 2019-07-11 14:23:44 -05:00 committed by Alexandre Julliard
parent 12d5b6899b
commit 2748296918
2 changed files with 40 additions and 0 deletions

View File

@ -612,6 +612,7 @@ SOURCES = \
sti.h \
storage.h \
strmif.idl \
strongname.h \
strsafe.h \
structuredquerycondition.idl \
svrapi.h \

View File

@ -0,0 +1,39 @@
/*
* Copyright (C) 2019 Zebediah Figura for CodeWeavers
*
* 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
*/
#ifndef __STRONG_NAME_H
#define __STRONG_NAME_H
#include <windows.h>
#include <wincrypt.h>
#include <ole2.h>
#include <corerror.h>
#define SN_INFLAG_FORCE_VER 0x00000001
#define SN_INFLAG_INSTALL 0x00000002
#define SN_INFLAG_ADMIN_ACCESS 0x00000004
#define SN_INFLAG_USER_ACCESS 0x00000008
#define SN_INFLAG_ALL_ACCESS 0x00000010
#define SN_INFLAG_RUNTIME 0x80000000
#define SN_OUTFLAG_WAS_VERIFIED 0x00000001
BOOLEAN __stdcall StrongNameSignatureVerification(const WCHAR *path, DWORD flags, DWORD *ret_flags);
BOOLEAN __stdcall StrongNameSignatureVerificationEx(const WCHAR *path, BOOLEAN force, BOOLEAN *verified);
#endif