Windows NT 4.0 source code leak
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.

50 lines
1.5 KiB

4 years ago
  1. /*****************************************************************************
  2. * *
  3. * CMDOBJ.H *
  4. * *
  5. * Copyright (C) Microsoft Corporation 1990. *
  6. * All Rights reserved. *
  7. * *
  8. *****************************************************************************/
  9. /*****************************************************************************
  10. * *
  11. * Defines *
  12. * *
  13. *****************************************************************************/
  14. /*
  15. These flags are combined together to specify which branch of the
  16. union in a JI is to be used.
  17. */
  18. #define fIMember 1
  19. #define fSzMember 2
  20. #define fSzFile 4
  21. /*****************************************************************************
  22. * *
  23. * Typedefs *
  24. * *
  25. *****************************************************************************/
  26. /*
  27. The Jump Information structure is placed in the command table and
  28. is used for all interfile and secondary window jumps.
  29. The char arrays contain 0-terminated strings. szMemberAndFile[]
  30. contains two contiguous 0-terminated strings.
  31. */
  32. typedef struct
  33. {
  34. BYTE bFlags; // combination of flags above
  35. HASH hash;
  36. union
  37. {
  38. BYTE iMember;
  39. CHAR szMemberAndFile[1]; // actually variable size
  40. CHAR szMemberOnly[1]; // actually variable size
  41. CHAR szFileOnly[1]; // actually variable size
  42. } uf;
  43. } JI, FAR *QJI;
  44. /* EOF */