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.

28 lines
914 B

  1. /************************************************************/
  2. /* Windows Write, Copyright 1985-1992 Microsoft Corporation */
  3. /************************************************************/
  4. /*---------------------------------------------------------------------------
  5. -- Structure: TXB
  6. -- Description and Usage:
  7. Describes a buffer.
  8. Maps the name of a buffer to the associated text, which is stored in
  9. docBuffer.
  10. -- Fields:
  11. hszName - pointer to a null terminated string in the heap which is
  12. the name of this buffer.
  13. cp - location in docBuffer
  14. dcp - amount of interest in docBuffer
  15. ----------------------------------------------------------------------------*/
  16. struct TXB
  17. {
  18. CHAR (**hszName)[];
  19. typeCP cp;
  20. typeCP dcp;
  21. };
  22. #define cbTxb (sizeof(struct TXB))
  23. #define cwTxb (cbTxb / sizeof(int))
  24. #define hszNil (0)
  25. #define cidstrRsvd (2)
  26.