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.

92 lines
3.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: trustglu.h
  8. //
  9. //--------------------------------------------------------------------------
  10. //
  11. // trustglue.h
  12. //
  13. // This is TEMPORARY housing for this data, permanent housing will
  14. // be winbase.h
  15. //
  16. //////////////////////////////////////////////////////////////////
  17. //
  18. // Subject form for CAB files that uses WIN_TRUST_SUBJECT_FILE
  19. //
  20. //////////////////////////////////////////////////////////////////
  21. #define WIN_TRUST_SUBJTYPE_CABINET \
  22. { 0xd17c5374, \
  23. 0xa392, \
  24. 0x11cf, \
  25. { 0x9d, 0xf5, 0x0, 0xaa, 0x0, 0xc1, 0x84, 0xe0 } \
  26. }
  27. //////////////////////////////////////////////////////////////////
  28. //
  29. // Extended subject forms that use the newer, improved subject
  30. // form WIN_TWIN_TRUST_SUBJECT_FILE_AND_DISPLAY
  31. //
  32. //////////////////////////////////////////////////////////////////
  33. #define WIN_TRUST_SUBJTYPE_RAW_FILEEX \
  34. { 0x6f458110, \
  35. 0xc2f1, \
  36. 0x11cf, \
  37. { 0x8a, 0x69, 0x0, 0xaa, 0x0, 0x6c, 0x37, 0x6 } \
  38. }
  39. #define WIN_TRUST_SUBJTYPE_PE_IMAGEEX \
  40. { 0x6f458111, \
  41. 0xc2f1, \
  42. 0x11cf, \
  43. { 0x8a, 0x69, 0x0, 0xaa, 0x0, 0x6c, 0x37, 0x6 } \
  44. }
  45. #define WIN_TRUST_SUBJTYPE_JAVA_CLASSEX \
  46. { 0x6f458113, \
  47. 0xc2f1, \
  48. 0x11cf, \
  49. { 0x8a, 0x69, 0x0, 0xaa, 0x0, 0x6c, 0x37, 0x6 } \
  50. }
  51. #define WIN_TRUST_SUBJTYPE_CABINETEX \
  52. { 0x6f458114, \
  53. 0xc2f1, \
  54. 0x11cf, \
  55. { 0x8a, 0x69, 0x0, 0xaa, 0x0, 0x6c, 0x37, 0x6 } \
  56. }
  57. //////////////////////////////////////////////////////////////////
  58. //
  59. // Subject forms
  60. //
  61. //////////////////////////////////////////////////////////////////
  62. //
  63. // from winbase.h
  64. //
  65. // typedef struct _WIN_TRUST_SUBJECT_FILE {
  66. //
  67. // HANDLE hFile;
  68. // LPCWSTR lpPath;
  69. //
  70. // } WIN_TRUST_SUBJECT_FILE, *LPWIN_TRUST_SUBJECT_FILE;
  71. //
  72. typedef struct _WIN_TRUST_SUBJECT_FILE_AND_DISPLAY {
  73. HANDLE hFile; // handle to the open file if you got it
  74. LPCWSTR lpPath; // the path to open if you don't
  75. LPCWSTR lpDisplayName; // (optional) display name to show to user
  76. // in place of path
  77. } WIN_TRUST_SUBJECT_FILE_AND_DISPLAY, *LPWIN_TRUST_SUBJECT_FILE_AND_DISPLAY;