mssip.h revision 4b9d6701570cb98fd36e209314239d104ec584d3
/*
* Copyright (C) 2002 Patrik Stridvall
*
* 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
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef __WINE_MSSIP_H
#define __WINE_MSSIP_H
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/**********************************************************************/
typedef CRYPT_HASH_BLOB CRYPT_DIGEST_DATA;
/**********************************************************************/
#define MSSIP_FLAGS_PROHIBIT_RESIZE_ON_CREATE 0x00010000
#define MSSIP_FLAGS_USE_CATALOG 0x00020000
#define SPC_INC_PE_RESOURCES_FLAG 0x80
#define SPC_INC_PE_DEBUG_INFO_FLAG 0x40
#define SPC_INC_PE_IMPORT_ADDR_TABLE_FLAG 0x20
#define MSSIP_ADDINFO_NONE 0
#define MSSIP_ADDINFO_FLAT 1
#define MSSIP_ADDINFO_CATMEMBER 2
#define MSSIP_ADDINFO_BLOB 3
#define MSSIP_ADDINFO_NONMSSIP 500
#define SIP_MAX_MAGIC_NUMBER 4
/**********************************************************************/
#include <pshpack8.h>
typedef struct SIP_SUBJECTINFO_ {
union {
struct MS_ADDINFO_FLAT_ *psFlat;
struct MS_ADDINFO_CATALOGMEMBER_ *psCatMember;
struct MS_ADDINFO_BLOB_ *psBlob;
#include <poppack.h>
#include <pshpack8.h>
typedef struct MS_ADDINFO_FLAT_ {
struct SIP_INDIRECT_DATA_ *pIndirectData;
#include <poppack.h>
#include <pshpack8.h>
typedef struct MS_ADDINFO_CATALOGMEMBER_ {
struct CRYPTCATSTORE_ *pStore;
struct CRYPTCATMEMBER_ *pMember;
#include <poppack.h>
#include <pshpack8.h>
typedef struct MS_ADDINFO_BLOB_ {
#include <poppack.h>
#include <pshpack8.h>
typedef struct SIP_INDIRECT_DATA_ {
#include <poppack.h>
#include <pshpack8.h>
typedef struct SIP_DISPATCH_INFO_ {
#include <poppack.h>
#include <pshpack8.h>
typedef struct SIP_ADD_NEWPROVIDER_
{
#include <poppack.h>
/**********************************************************************/
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_MSSIP_H */