wincrypt.idl 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. /* This IDL is not for generation of wincrypt-header. Instead it is
  6. there for having an ability to import wincrypt's types for use in
  7. wsdbase.idl file.
  8. Therefore DON'T add this IDL-file to Makefile!!!!!
  9. */
  10. cpp_quote("#include <winapifamily.h>")
  11. cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
  12. #ifndef __WIDL__
  13. #ifndef FARPROC
  14. typedef int (__stdcall FARPROC) ();
  15. #endif
  16. #endif
  17. #ifndef PBYTE
  18. typedef BYTE *PBYTE;
  19. #endif
  20. #ifndef PDWORD
  21. typedef DWORD *PDWORD;
  22. #endif
  23. #ifndef size_t
  24. #if defined (_WIN64)
  25. typedef unsigned int size_t;
  26. #else
  27. typedef unsigned __int64 size_t;
  28. #endif
  29. #endif
  30. #ifndef VOID
  31. typedef void VOID;
  32. #endif
  33. #ifndef ULONG_PTR
  34. #if defined (_WIN64)
  35. typedef unsigned __int64 ULONG_PTR;
  36. #else
  37. typedef unsigned long ULONG_PTR;
  38. #endif
  39. #endif
  40. #ifndef BASETYPES
  41. #define BASETYPES
  42. typedef unsigned long ULONG;
  43. typedef ULONG *PULONG;
  44. typedef unsigned short USHORT;
  45. typedef USHORT *PUSHORT;
  46. typedef unsigned char UCHAR;
  47. typedef UCHAR *PUCHAR;
  48. typedef char *PSZ;
  49. #endif
  50. typedef WCHAR *NWPSTR,*LPWSTR,*PWSTR;
  51. typedef const WCHAR *LPCWSTR,*PCWSTR;
  52. #include "wincrypt.h"
  53. cpp_quote("#endif")