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.

32 lines
1.1 KiB

  1. A range of FACILITY_INTERNET has been reserved for IIS components. IIS
  2. components may use values between 0xc800 and 0xcbff in the "code" field
  3. of an HRESULT.
  4. Since there is no automated way to enforce this range (and protect against
  5. duplicate codes) this text file tracks code usage. Whenever a new component
  6. needs to allocate codes within the IIS range, please update this file.
  7. .MC files used to generate HRESULTs allocated from this range should be of
  8. the following format:
  9. SeverityNames=(Success=0x0,
  10. CoError=0x2
  11. )
  12. FacilityNames=(Internet=0xc
  13. )
  14. Messageid=0xc??? Facility=Internet Severity=CoError SymbolicName=WHATEVER
  15. Language=English
  16. Your message goes here.
  17. .
  18. Also, ensure the .MC file is compiled with "mc -o {other_switches}". The
  19. -o switch tells MC.EXE to generate an "OLE-style" header file.
  20. Range Component Path to .MC file
  21. ~~~~~ ~~~~~~~~~ ~~~~~~~~~~~~~~~~
  22. c800-c80f metadata.dll iis\svcs\infocomm\metadata\interfac\mdmsg.mc
  23. c810-cbff {available}