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.

26 lines
854 B

  1. /*
  2. ** Copyright (c) 1991 Microsoft Corporation
  3. */
  4. //===========================================================================
  5. // FILE multbyte.h
  6. //
  7. // MODULE Host Resource Executor
  8. //
  9. // PURPOSE
  10. // This file defines macros to allow processor independent
  11. // manipulation of (possibly "foreign") multibyte records.
  12. //
  13. //
  14. // DESCRIBED IN Resource Executor design spec.
  15. //
  16. // MNEMONICS n/a
  17. //
  18. // HISTORY 1/17/92 mslin created
  19. //
  20. //===========================================================================
  21. #define GETUSHORT(p) (*p)
  22. #define GETULONG(p) (*p)
  23. #define GETUSHORTINC(a) GETUSHORT((a)); a++ /* Do NOT parenthesize! */
  24. #define GETULONGINC(a) GETULONG((a)); a++ /* Do NOT parenthesize! */