Source code of Windows XP (NT5)
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
866 B

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and Microsoft
  7. // QuickHelp documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10. #ifndef __PLEX_H__
  11. #define __PLEX_H__
  12. #define INTERNAL_(x) x
  13. struct FAR CPlex // warning variable length structure
  14. {
  15. CPlex FAR* pNext;
  16. UINT nMax;
  17. UINT nCur;
  18. /* BYTE data[maxNum*elementSize]; */
  19. INTERNAL_(void FAR*) data() { return this+1; }
  20. static INTERNAL_(CPlex FAR*) Create(CPlex FAR* FAR& head, UINT nMax, UINT cbElement);
  21. INTERNAL_(void) FreeDataChain(); // free this one and links
  22. };
  23. #endif //__PLEX_H__