Annotation of mstools/mfc/src/plex.h, revision 1.1.1.1

1.1       root        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: 
                     11: #ifndef __PLEX_H__
                     12: #define __PLEX_H__
                     13: 
                     14: struct CPlex    // warning variable length structure
                     15: {
                     16:        CPlex* pNext;
                     17:        UINT nMax;
                     18:        UINT nCur;
                     19:        /* BYTE data[maxNum*elementSize]; */
                     20: 
                     21:        void* data() { return this+1; }
                     22: 
                     23:        static CPlex* Create(CPlex*& head, UINT nMax, UINT cbElement);
                     24:                        // like 'calloc' but no zero fill
                     25:                        // may throw memory exceptions
                     26: 
                     27:        void FreeDataChain();       // free this one and links
                     28: };
                     29: 
                     30: #endif //__PLEX_H__

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.