home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / porttool / portpriv.h < prev    next >
C/C++ Source or Header  |  1997-10-05  |  2KB  |  51 lines

  1.  
  2. /******************************************************************************\
  3. *       This is a part of the Microsoft Source Code Samples. 
  4. *       Copyright (C) 1993-1997 Microsoft Corporation.
  5. *       All rights reserved. 
  6. *       This source code is only intended as a supplement to 
  7. *       Microsoft Development Tools and/or WinHelp documentation.
  8. *       See these sources for detailed information regarding the 
  9. *       Microsoft samples programs.
  10. \******************************************************************************/
  11.  
  12. #include <windows.h>
  13.  
  14. // define ini file section names
  15. #define    IDS_PORTAPIS       200
  16. #define    IDS_PORTMESSAGES      201
  17. #define    IDS_PORTSTRUCTURES      202
  18. #define    IDS_PORTTYPES      203
  19. #define    IDS_PORTCONSTANTS      204
  20. #define    IDS_PORTCUSTOM      205
  21. #define    IDS_PORTMACROS      206
  22. #define    IDS_WINDOWSAPPNAME      207
  23. #define    IDS_INIFILE          209
  24. #define    IDS_MAPFILENAME      210
  25.  
  26.  
  27. // local constant defintions
  28. #define    FIFTY_K_LINE          51200
  29. #define    TEN_K_LINE          10240
  30. #define    TWO_K_LINE          2056
  31. #define    PT_APIS          0x00000002
  32. #define    PT_MESSAGES          0x00000004
  33. #define    PT_TYPES          0x00000008
  34. #define    PT_STRUCTURES      0x00000010
  35. #define    PT_MACROS          0x00000020
  36. #define    PT_CONSTANTS       0x00000040
  37. #define    PT_CUSTOM          0x00000080
  38. #define    PT_IGNORED          0x00010000
  39.  
  40.  
  41. // private port structure
  42. typedef struct tagPort
  43.     {
  44.     int    nSize;
  45.     int    nPosToken;
  46.     int    nPosHelpStr;
  47.     int    nPosIssue;
  48.     int    nPosSuggest;
  49.     DWORD  dwType;
  50.     }PORT, * LPPORT;
  51.