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.

30 lines
659 B

  1. ;*** Message substitution block for resident messages
  2. Subst struc
  3. SubstType db ? ; value type (char, string, hex - see below)
  4. SubstPtr dw ? ; offset in RESGROUP of value
  5. Subst ends
  6. ENDOFSUBST equ 0 ; could be used after last subst of a set
  7. CHAR equ 1 ; a single character
  8. STRING equ 2 ; an ASCIIZ string
  9. HEX equ 3 ; a word value to be displayed in hex
  10. ; Note: RPrint is hard-coded for these values of
  11. ; CHAR, STRING, and HEXDWORD.
  12. ;*** Message text macro, equates
  13. msg macro name,text
  14. local EndText
  15. name db EndText-$-1 ;; message length byte
  16. db text
  17. public name
  18. EndText label byte
  19. endm
  20. CR equ 13
  21. LF equ 10
  22.