Last change
on this file since 1186 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
|
Rev | Line | |
---|
[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 |
|
---|
| 12 | cpp_quote("#include <winapifamily.h>")
|
---|
| 13 |
|
---|
| 14 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
| 15 |
|
---|
| 16 | #ifndef __WIDL__
|
---|
| 17 | #ifndef FARPROC
|
---|
| 18 | typedef int (__stdcall FARPROC) ();
|
---|
| 19 | #endif
|
---|
| 20 | #endif
|
---|
| 21 |
|
---|
| 22 | #ifndef PBYTE
|
---|
| 23 | typedef BYTE *PBYTE;
|
---|
| 24 | #endif
|
---|
| 25 |
|
---|
| 26 | #ifndef PDWORD
|
---|
| 27 | typedef DWORD *PDWORD;
|
---|
| 28 | #endif
|
---|
| 29 |
|
---|
| 30 | #ifndef size_t
|
---|
| 31 | #if defined (_WIN64)
|
---|
| 32 | typedef unsigned int size_t;
|
---|
| 33 | #else
|
---|
| 34 | typedef unsigned __int64 size_t;
|
---|
| 35 | #endif
|
---|
| 36 | #endif
|
---|
| 37 |
|
---|
| 38 | #ifndef VOID
|
---|
| 39 | typedef void VOID;
|
---|
| 40 | #endif
|
---|
| 41 |
|
---|
| 42 | #ifndef ULONG_PTR
|
---|
| 43 | #if defined (_WIN64)
|
---|
| 44 | typedef unsigned __int64 ULONG_PTR;
|
---|
| 45 | #else
|
---|
| 46 | typedef unsigned long ULONG_PTR;
|
---|
| 47 | #endif
|
---|
| 48 | #endif
|
---|
| 49 |
|
---|
| 50 | #ifndef BASETYPES
|
---|
| 51 | #define BASETYPES
|
---|
| 52 | typedef unsigned long ULONG;
|
---|
| 53 | typedef ULONG *PULONG;
|
---|
| 54 | typedef unsigned short USHORT;
|
---|
| 55 | typedef USHORT *PUSHORT;
|
---|
| 56 | typedef unsigned char UCHAR;
|
---|
| 57 | typedef UCHAR *PUCHAR;
|
---|
| 58 | typedef char *PSZ;
|
---|
| 59 | #endif
|
---|
| 60 |
|
---|
| 61 | typedef WCHAR *NWPSTR,*LPWSTR,*PWSTR;
|
---|
| 62 | typedef const WCHAR *LPCWSTR,*PCWSTR;
|
---|
| 63 |
|
---|
| 64 | #include "wincrypt.h"
|
---|
| 65 |
|
---|
| 66 | cpp_quote("#endif")
|
---|
Note:
See
TracBrowser
for help on using the repository browser.