source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wincrypt.idl@ 1171

Last change on this file since 1171 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.2 KB
RevLine 
[1166]1/**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6/* This IDL is not for generation of wincrypt-header. Instead it is
7 there for having an ability to import wincrypt's types for use in
8 wsdbase.idl file.
9 Therefore DON'T add this IDL-file to Makefile!!!!!
10*/
11
12cpp_quote("#include <winapifamily.h>")
13
14cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
15
16#ifndef __WIDL__
17#ifndef FARPROC
18typedef int (__stdcall FARPROC) ();
19#endif
20#endif
21
22#ifndef PBYTE
23typedef BYTE *PBYTE;
24#endif
25
26#ifndef PDWORD
27typedef DWORD *PDWORD;
28#endif
29
30#ifndef size_t
31#if defined (_WIN64)
32typedef unsigned int size_t;
33#else
34typedef unsigned __int64 size_t;
35#endif
36#endif
37
38#ifndef VOID
39typedef void VOID;
40#endif
41
42#ifndef ULONG_PTR
43#if defined (_WIN64)
44typedef unsigned __int64 ULONG_PTR;
45#else
46typedef unsigned long ULONG_PTR;
47#endif
48#endif
49
50#ifndef BASETYPES
51#define BASETYPES
52typedef unsigned long ULONG;
53typedef ULONG *PULONG;
54typedef unsigned short USHORT;
55typedef USHORT *PUSHORT;
56typedef unsigned char UCHAR;
57typedef UCHAR *PUCHAR;
58typedef char *PSZ;
59#endif
60
61typedef WCHAR *NWPSTR,*LPWSTR,*PWSTR;
62typedef const WCHAR *LPCWSTR,*PCWSTR;
63
64#include "wincrypt.h"
65
66cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.