dinput: Implement DIDBAM_PRESERVE BuildActionMap flag.
[wine.git] / include / strongname.h
blob1134d63d3b3bddd9532e10808df71a2fb2c3a450
1 /*
2 * Copyright (C) 2019 Zebediah Figura for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __STRONG_NAME_H
20 #define __STRONG_NAME_H
22 #include <windows.h>
23 #include <wincrypt.h>
24 #include <ole2.h>
25 #include <corerror.h>
27 #define SN_INFLAG_FORCE_VER 0x00000001
28 #define SN_INFLAG_INSTALL 0x00000002
29 #define SN_INFLAG_ADMIN_ACCESS 0x00000004
30 #define SN_INFLAG_USER_ACCESS 0x00000008
31 #define SN_INFLAG_ALL_ACCESS 0x00000010
32 #define SN_INFLAG_RUNTIME 0x80000000
34 #define SN_OUTFLAG_WAS_VERIFIED 0x00000001
36 BOOLEAN __stdcall StrongNameSignatureVerification(const WCHAR *path, DWORD flags, DWORD *ret_flags);
37 BOOLEAN __stdcall StrongNameSignatureVerificationEx(const WCHAR *path, BOOLEAN force, BOOLEAN *verified);
38 BOOLEAN __stdcall StrongNameTokenFromAssembly(const WCHAR *path, BYTE **token, ULONG *size);
40 #endif