Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: global.hxx
  8. //
  9. // Contents: Microsoft Internet Security
  10. //
  11. // History: 28-May-1997 pberkman created
  12. //
  13. //--------------------------------------------------------------------------
  14. #define STRICT
  15. #define NO_ANSIUNI_ONLY
  16. #pragma warning(push,3)
  17. #include <windows.h>
  18. #include <assert.h>
  19. #include <regstr.h>
  20. #include <string.h>
  21. #include <malloc.h>
  22. #include <memory.h>
  23. #include <stdlib.h>
  24. #include <stddef.h>
  25. #include <stdio.h>
  26. #include <wchar.h>
  27. #include <tchar.h>
  28. #include <time.h>
  29. #include <shellapi.h>
  30. #include <prsht.h>
  31. #include <commctrl.h>
  32. #include <wininet.h>
  33. #pragma warning (pop)
  34. // unreferenced inline function has been removed
  35. #pragma warning (disable: 4514)
  36. // unreferenced formal parameter
  37. #pragma warning (disable: 4100)
  38. // conditional expression is constant
  39. #pragma warning (disable: 4127)
  40. // assignment within conditional expression
  41. #pragma warning (disable: 4706)
  42. // nonstandard extension used : nameless struct/union
  43. #pragma warning (disable: 4201)
  44. #include <dbgdef.h>
  45. #include <unicode.h>
  46. #include "crtem.h"
  47. #include "crypttls.h"
  48. #include "wincrypt.h"
  49. #include "wintrust.h"
  50. #include "cryptreg.h"
  51. #include "sipbase.h"
  52. #include "mssip.h"
  53. #include "gendefs.h"
  54. #include "pkicrit.h"
  55. #define DBG_SS (DBG_SS_SIP)
  56. #define SIPFUNC_PUTSIGNATURE "CryptSIPDllPutSignedDataMsg"
  57. #define SIPFUNC_GETSIGNATURE "CryptSIPDllGetSignedDataMsg"
  58. #define SIPFUNC_REMSIGNATURE "CryptSIPDllRemoveSignedDataMsg"
  59. #define SIPFUNC_CREATEINDIRECT "CryptSIPDllCreateIndirectData"
  60. #define SIPFUNC_VERIFYINDIRECT "CryptSIPDllVerifyIndirectData"
  61. #define SIPFUNC_ISMYTYPE "CryptSIPDllIsMyFileType"
  62. #define SIPFUNC_ISMYTYPE2 "CryptSIPDllIsMyFileType2"
  63. extern HCRYPTOIDFUNCSET hPutFuncSet;
  64. extern HCRYPTOIDFUNCSET hGetFuncSet;
  65. extern HCRYPTOIDFUNCSET hRemoveFuncSet;
  66. extern HCRYPTOIDFUNCSET hCreateFuncSet;
  67. extern HCRYPTOIDFUNCSET hVerifyFuncSet;
  68. extern HCRYPTOIDFUNCSET hIsMyFileFuncSet;
  69. extern HCRYPTOIDFUNCSET hIsMyFileFuncSet2;
  70. extern BOOL _Guid2Sz(GUID *pgGuid, char *pszGuid);
  71. extern BOOL _QueryRegisteredIsMyFileType(HANDLE hFile, LPCWSTR pwszFile, GUID *pgSubject);
  72. #pragma hdrstop