mingw-w64/mingw-w64-headers/include/certbase.h
Corinna Vinschen 1fa64ac2c6 * basetsd.h: Change long to __LONG32 where appropriate.
* basetyps.h: Ditto.
	* certbase.h: Ditto.
	* correg.h: Ditto.
	* dbdaoint.h: Ditto.
	* esent.h: Ditto.
	* fci.h: Ditto.
	* fdi.h: Ditto.
	* filehc.h: Ditto.
	* winbase.h: Ditto.
	* comutil.h: Ditto.
	(_bstr_t::Data_t::AddRef): Call InterlockedIncrement with argument
	casted to LONG *.
	(_bstr_t::Data_t::Release): Call InterlockedDecrement with argument
	casted to LONG *.


git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5316 4407c894-4637-0410-b4f5-ada5f102cad1
2012-08-02 13:59:14 +00:00

52 lines
1.1 KiB
C

/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif
#ifndef __certbase_h__
#define __certbase_h__
#include "wtypes.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __MIDL_user_allocate_free_DEFINED__
#define __MIDL_user_allocate_free_DEFINED__
void *__RPC_API MIDL_user_allocate(size_t);
void __RPC_API MIDL_user_free(void *);
#endif
typedef struct _CERTTRANSBLOB {
unsigned __LONG32 cb;
BYTE *pb;
} CERTTRANSBLOB;
typedef struct _CERTVIEWRESTRICTION {
DWORD ColumnIndex;
LONG SeekOperator;
LONG SortOrder;
BYTE *pbValue;
DWORD cbValue;
} CERTVIEWRESTRICTION;
extern RPC_IF_HANDLE __MIDL_itf_certbase_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_certbase_0000_v0_0_s_ifspec;
#ifdef __cplusplus
}
#endif
#endif