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.

28 lines
846 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. struct FAR CPlex // warning variable length structure
  13. {
  14. CPlex FAR* pNext;
  15. UINT nMax;
  16. UINT nCur;
  17. /* BYTE data[maxNum*elementSize]; */
  18. INTERNAL_(void FAR*) data() { return this+1; }
  19. static INTERNAL_(CPlex FAR*) Create(CPlex FAR* FAR& head, DWORD mp, UINT nMax, UINT cbElement);
  20. INTERNAL_(void) FreeDataChain(DWORD mp); // free this one and links
  21. };
  22. #endif //__PLEX_H__