Leaked source code of windows server 2003
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.

52 lines
1.2 KiB

  1. /***
  2. *chkesp.c
  3. *
  4. * Copyright (c) 2002, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Defines the default load config struct linked into images.
  8. *
  9. *Revision History:
  10. * 03-07-02 DRS Initial version
  11. *
  12. *******************************************************************************/
  13. #if !defined(_M_IX86)
  14. #error No need to compile this module for any platform besides x86
  15. #endif
  16. #include <windows.h>
  17. extern DWORD_PTR __security_cookie; /* /GS security cookie */
  18. /*
  19. * The following two names are automatically created by the linker for any
  20. * image that has the safe exception table present.
  21. */
  22. extern PVOID __safe_se_handler_table[]; /* base of safe handler entry table */
  23. extern BYTE __safe_se_handler_count; /* absolute symbol whose address is
  24. the count of table entries */
  25. const
  26. IMAGE_LOAD_CONFIG_DIRECTORY32 _load_config_used = {
  27. sizeof(_load_config_used),
  28. 0,
  29. 0,
  30. 0,
  31. 0,
  32. 0,
  33. 0,
  34. 0,
  35. 0,
  36. 0,
  37. 0,
  38. 0,
  39. 0,
  40. 0,
  41. 0,
  42. 0,
  43. 0,
  44. (DWORD)&__security_cookie,
  45. (DWORD)__safe_se_handler_table,
  46. (DWORD)&__safe_se_handler_count
  47. };