|
|
1.1 ! root 1: ! 2: /******************************************************************************\ ! 3: * This is a part of the Microsoft Source Code Samples. ! 4: * Copyright (C) 1993 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 TEN_K_LINE 10240 ! 29: #define TWO_K_LINE 2056 ! 30: #define PT_APIS 0x00000002 ! 31: #define PT_MESSAGES 0x00000004 ! 32: #define PT_TYPES 0x00000008 ! 33: #define PT_STRUCTURES 0x00000010 ! 34: #define PT_MACROS 0x00000020 ! 35: #define PT_CONSTANTS 0x00000040 ! 36: #define PT_CUSTOM 0x00000080 ! 37: #define PT_IGNORED 0x00010000 ! 38: ! 39: ! 40: // private port structure ! 41: typedef struct tagPort ! 42: { ! 43: int nSize; ! 44: int nPosToken; ! 45: int nPosHelpStr; ! 46: int nPosIssue; ! 47: int nPosSuggest; ! 48: DWORD dwType; ! 49: }PORT, * LPPORT;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.