home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / msj / v10n08 / oleq0895.exe / SSDA.H < prev    next >
C/C++ Source or Header  |  1995-08-01  |  366b  |  22 lines

  1. #ifndef _SSDA_H
  2. #define _SSDA_H
  3.  
  4. class SharedSortedDWORDArray {
  5. public:
  6.     SharedSortedDWORDArray(LPCTSTR szName);
  7.     ~SharedSortedDWORDArray(void);
  8.  
  9.     BOOL Insert(DWORD id);
  10.     void Remove(DWORD id);
  11.     BOOL IsTop (DWORD id);
  12.  
  13. private:
  14.     HANDLE m_hsection;
  15.     HANDLE m_hmutex;
  16.     DWORD *m_pdwCount;
  17.     DWORD *m_pdwIDs; 
  18.     enum { MAX_DWORDS = 1000 };
  19. };
  20.  
  21. #endif
  22.