|
|
1.1 root 1: [PORTTOOL]
2: WinHelp=c:\mstools\bin\api32wh.hlp
3:
4: [Porttool data file format]
5: Supply the help file name and path above for access to winhelp
6: from within the environment.
7:
8: The format for the lines below is:
9: SearchKeyWord=HelpSearchString;Porting Issue;Suggested fix;
10:
11: Optional configurations:
12: SearchKeyWord=HelpSearchString;Porting Issue;
13: SearchKeyWord=HelpSearchString;
14: SearchKeyWord=HelpSearchString; ;Suggested fix;
15: SearchKeyWord=; ;Porting Issue;Suggested fix;
16: SearchKeyWord=; ;Porting Issue;
17: SearchKeyWord=; ; ;Suggested fix;
18:
19: Also, trailing semicolons are optional.
20:
21:
22: [APIS]
23: AccessResource=AccessResource;No Win32 API equivalent;Not necessary, just remove;
24: AddFontResource=AddFontResource;Must use string, not handle, for filename;;
25: AllocDStoCSAlias=AllocDStoCSAlias;No Win32 API equivalent;;
26: AllocResource=AllocResource;No Win32 API equivalent (resource API in progress);;
27: AllocSelector=AllocSelector;No Win32 API equivalent;;
28: ChangeSelector=ChangeSelector;No Win32 API equivalent;;
29: CloseComm=CloseComm;Replaced by CloseHandle;;
30: CloseSound=CloseSound;Replaced by multimedia sound support;;
31: CountVoiceNotes=CountVoiceNotes;Replaced by multimedia sound support;;
32: DefineHandleTable=DefineHandleTable;This function is now obsolete;;
33: DeviceCapabilities=DeviceCapabilities;Replaced by portable DeviceCapabilitiesEx;;
34: DeviceMode=DeviceMode;Replaced by portable DeviceModeEx;;
35: DlgDirSelect=DlgDirSelect;Replaced by portable DlgDirSelectEx;;
36: DlgDirSelectComboBox=DlgDirSelectComboBox;Replaced by portable DlgDirSelectComboBoxEx;;
37: DOS3Call=DOS3Call;Replaced by named, portable Win32 API;;
38: ExtDeviceMode=ExtDeviceMode;Replaced by portable ExtDeviceModeEx;;
39: FlushComm=FlushComm;Replaced by PurgeComm;;
40: FreeSelector=FreeSelector;No Win32 API equivalent;;
41: GetAspectRatioFilter=GetAspectRatioFilter;Replaced by portable GetAspectRatioFilterEx;;
42: GetBitmapDimension=GetBitmapDimension;Replaced by portable GetBitmapDimensionEx;;
43: GetBrushOrg=GetBrushOrg;Replaced by portable GetBrushOrgEx;;
44: GetClassWord=GetClassWord;Use GetClassLong for values that grow to 32-bits on Win32;;
45: GetCodeHandle=GetCodeHandle;No Win32 API equivalent;;
46: GetCodeInfo=GetCodeInfo;No Win32 API equivalent;;
47: GetCommError=GetCommError;Replaced by ClearCommError;;
48: GetCurrentPDB=GetCurrentPDB;No Win32 API equivalent;;
49: GetCurrentPosition=GetCurrentPosition;Replaced by portable GetCurrentPositionEx;;
50: GetEnvironment=GetEnvironment;No Win32 API equivalent;;
51: GetFreeSpace=GetFreeSpace;Replaced by GlobalMemoryStatus function;;
52: GetFreeSystemResources=GlobalMemoryStatus;Replaced by GlobalMemoryStatus function;;
53: GetInstanceData=GetInstanceData;No equivalent;use alternative supported IPC mechanism.;
54: GetKBCodePage=GetKBCodePage;No Win32 API equivalent;;
55: GetMetaFileBits=GetMetaFileBits;Replaced by portable GetMetaFileBitsEx;;
56: GetModuleUsage=GetModuleUsage;Always returns 1 on Win32;;
57: GetTempDrive=GetTempDrive;Implements Win16 functionality on Win32;;
58: GetTextExtent=GetTextExtent;Replaced by portable GetTextExtentPoint;;
59: GetTextExtentEx=GetTextExtentEx;Replaced by portable GetTextExtentExPoint;;
60: GetThresholdEvent=GetThresholdEvent;Replaced by multimedia sound support;;
61: GetThresholdStatus=GetThresholdStatus;Replaced by multimedia sound support;;
62: GetViewportExt=GetViewportExt;Replaced by portable GetViewportExtEx;;
63: GetViewportOrg=GetViewportOrg;Replaced by portable GetViewportOrgEx;;
64: GetWindowExt=GetWindowExt;Replaced by portable GetWindowExtEx;;
65: GetWindowOrg=GetWindowOrg;Replaced by portable GetWindowOrgEx;;
66: GetWindowWord=GetWindowWord;Use GetWindowLong for values that grow to 32-bits on Win32;;
67: GlobalCompact=GlobalCompact;This function is now obsolete;;
68: GlobalDosAlloc=GlobalDosAlloc;No Win32 API equivalent;;
69: GlobalDosFree=GlobalDosFree;No Win32 API equivalent;;
70: GlobalFix=GlobalFix;This function is now obsolete;;
71: GlobalLRUNewest=GlobalLRUNewest;This function is now obsolete;;
72: GlobalLRUNOldest=GlobalLRUNOldest;This function is now obsolete;;
73: GlobalNotify=GlobalNotify;This function is now obsolete;;
74: GlobalPageLock=GlobalPageLock;No Win32 API equivalent;;
75: GlobalPageUnlock=GlobalPageUnlock;No Win32 API equivalent;;
76: GlobalUnfix=GlobalUnfix;This function is now obsolete;;
77: GlobalUnwire=GlobalUnwire;This function is now obsolete;;
78: GlobalWire=GlobalWire;This function is now obsolete;;
79: LocalCompact=LocalCompact;This function is now obsolete;;
80: LocalInit=LocalInit;This function is now obsolete;;
81: LocalShrink=LocalShrink;This function is now obsolete;;
82: LockSegment=LockSegment;This function is now obsolete;;
83: LimitEMSPages=LimitEMSPages;No Win32 API equivalent;;
84: LocalNotify=LocalNotify;No Win32 Equivalent;;
85: MoveTo=MoveTo;Replaced by portable MoveToEx;;
86: NetBIOSCall=NetBIOSCall;Replaced by named, portable Win32 API;;
87: OffsetViewportOrg=OffsetViewportOrg;Replaced by portable OffsetViewportOrgEx;;
88: OffsetWindowOrg=OffsetWindowOrg;Replaced by portable OffsetWindowOrgEx;;
89: OpenComm=OpenComm;Replaced by OpenFile;;
90: OpenSound=OpenSound;Replaced by multimedia sound support;;
91: ProfClear=ProfClear;See tech. ref. for Win32 API profiling support;;
92: ProfFinish=ProfFinish;See tech. ref. for Win32 API profiling support;;
93: ProfFlush=ProfFlush;See tech. ref. for Win32 API profiling support;;
94: ProfInsChk=ProfInsChk;See tech. ref. for Win32 API profiling support;;
95: ProfSampRate=ProfSampRate;See tech. ref. for Win32 API profiling support;;
96: ProfSetup=ProfSetup;See tech. ref. for Win32 API profiling support;;
97: ProfStart=ProfStart;See tech. ref. for Win32 API profiling support;;
98: ProfStop=ProfStop;See tech. ref. for Win32 API profiling support;;
99: ReadComm=ReadComm;Replaced by ReadFile;;
100: RemoveFontResource=RemoveFontResource;Must use string, not handle, for filename;;
101: ScaleViewportExt=ScaleViewportExt;Replaced by portable ScaleViewportExtEx;;
102: ScaleWindowExt=ScaleWindowExt;Replaced by portable ScaleWindowExtEx;;
103: SetBitmapDimension=SetBitmapDimension;Replaced by portable SetBitmapDimensionEx;;
104: SetClassWord=SetClassWord;Use SetClassLong for values that grow to 32-bits on Win32;;
105: SetCommEventMask=;Replaced by SetCommMask;;
106: SetEnvironment=SetEnvironment;No Win32 API equivalent;;
107: SetMetaFileBits=SetMetaFileBits;Replaced by portable SetMetaFileBitsEx;;
108: SetResourceHandler=SetResourceHandler;No Win32 API equivalent (resource API in progress);;
109: SetSoundNoise=SetSoundNoise;Replaced by multimedia sound support;;
110: SetSwapAreaSize=SetSwapAreaSize;This function is now obsolete;;
111: SetViewportExt=SetViewportExt;Replaced by portable SetViewportExtEx;;
112: SetViewportOrg=SetViewportOrg;Replaced by portable SetViewportOrgEx;;
113: SetVoiceAccent=SetVoiceAccent;Replaced by multimedia sound support;;
114: SetVoiceEnvelope=SetVoiceEnvelope;Replaced by multimedia sound support;;
115: SetVoiceNote=SetVoiceNote;Replaced by multimedia sound support;;
116: SetVoiceQueueSize=SetVoiceQueueSize;Replaced by multimedia sound support;;
117: SetVoiceSound=SetVoiceSound;Replaced by multimedia sound support;;
118: SetVoiceThreshold=SetVoiceThreshold;Replaced by multimedia sound support;;
119: SetWindowExt=SetWindowExt;Replaced by portable SetWindowExtEx;;
120: SetWindowOrg=SetWindowOrg;Replaced by portable SetWindowOrgEx;;
121: SetWindowWord=SetWindowWord;Use SetWindowLong for values that grow to 32-bits on Win32;;
122: StartSound=StartSound;Replaced by multimedia sound support;;
123: StopSound=StopSound;Replaced by multimedia sound support;;
124: SwitchStackBack=SwitchStackBack;No Win32 API equivalent;;
125: SwitchStackTo=SwitchStackTo;No Win32 API equivalent;;
126: SyncAllVoices=SyncAllVoices;Replaced by multimedia sound support;;
127: UngetCommChar=UngetCommChar;No Win32 equivalent;;
128: UnlockSegment=UnlockSegment;This function is now obsolete;;
129: ValidateCodeSegments=ValidateCodeSegments;No Win32 API equivalent;;
130: ValidateFreeSpaces=ValidateFreeSpaces;No Win32 API equivalent;;
131: WaitSoundState=WaitSoundState;Replaced by multimedia sound support;;
132: WndProc=WindowProc;All WndProc's should be defined in a portable manner;WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LONG lParam);
133: WriteComm=WriteComm;Replaced by WriteFile;;
134:
135: [MESSAGES]
136: EM_GETSEL=EM_GETSEL;wParam/lParam repacking, refer to tech. ref. for details;;
137: EM_LINESCROLL=EM_LINESCROLL;wParam/lParam repacking, refer to tech. ref. for details;;
138: EM_SETSEL=EM_SETSEL;wParam/lParam repacking, refer to tech. ref. for details;;
139: WM_ACTIVATE=WM_ACTIVATE;wParam/lParam repacking, refer to tech. ref. for details;;
140: WM_CHANGECBCHAIN=WM_CHANGECBCHAIN;wParam/lParam repacking, refer to tech. ref. for details;;
141: WM_CHARTOITEM=WM_CHARTOITEM;wParam/lParam repacking, refer to tech. ref. for details;;
142: WM_COMMAND=WM_COMMAND;wParam/lParam repacking, refer to tech. ref. for details;;
143: WM_CTLCOLOR=WM_CTLCOLOR;wParam/lParam repacking, refer to tech. ref. for details;;
144: WM_DDE_ACK=WM_DDE_ACK;wParam/lParam repacking, refer to tech. ref. for details;;
145: WM_DDE_ADVISE=WM_DDE_ADVISE;wParam/lParam repacking, refer to tech. ref. for details;;
146: WM_DDE_DATA=WM_DDE_DATA;wParam/lParam repacking, refer to tech. ref. for details;;
147: WM_DDE_EXECUTE=WM_DDE_EXECUTE;wParam/lParam repacking, refer to tech. ref. for details;;
148: WM_DDE_POKE=WM_DDE_POKE;wParam/lParam repacking, refer to tech. ref. for details;;
149: WM_HSCROLL=WM_HSCROLL;wParam/lParam repacking, refer to tech. ref. for details;;
150: WM_MDIACTIVATE=WM_MDIACTIVATE;wParam/lParam repacking, refer to tech. ref. for details;;
151: WM_MDISETMENU=WM_MDISETMENU;wParam/lParam repacking, refer to tech. ref. for details;;
152: WM_MENUCHAR=WM_MENUCHAR;wParam/lParam repacking, refer to tech. ref. for details;;
153: WM_MENUSELECT=WM_MENUSELECT;wParam/lParam repacking, refer to tech. ref. for details;;
154: WM_PARENTNOTIFY=WM_PARENTNOTIFY;wParam/lParam repacking, refer to tech. ref. for details;;
155: WM_VKEYTOITEM=WM_VKEYTOITEM;wParam/lParam repacking, refer to tech. ref. for details;;
156: WM_VSCROLL=WM_VSCROLL;wParam/lParam repacking, refer to tech. ref. for details;;
157:
158: [STRUCTURES]
159: DCB=DCB;Changes to bitfields and additional structure members;;
160:
161: [TYPES]
162: (WORD)=WORD;Check if incorrect cast of 32-bit value;Replace 16-bit data types with 32-bit types where possible;
163:
164: [CONSTANTS]
165: GCW_HCURSOR=GetClassLong;Replaced by GCL_HCURSOR;;
166: GCW_HBRBACKGROUND=GetClassLong;Replaced by GCL_HBRBACKGROUND;;
167: GCW_HICON=GetClassLong;Replaced by GCL_HICON;;
168: GWW_HINSTANCE=GetWindowLong;Replaced by GWL_HINSTANCE;;
169: GWW_HWNDPARENT=GetWindowLong;Replaced by GWL_HWNDPARENT;;
170: GWW_ID=GetWindowLong;Replaced by GWL_ID;;
171: GWW_USERDATA=GetWindowLong;Replaced by GWL_USERDATA;;
172:
173: [MACROS]
174: HIWORD=HIWORD;Check if HIWORD target is 16- or 32-bit;;
175: LOWORD=LOWORD;Check if LOWORD target is 16- or 32-bit;;
176: MAKEPOINT=MAKEPOINT;Replaced by LONG2POINT;;
177:
178: [CUSTOM]
179: FAR=far;Win32 is non-segmented, thus FAR == NEAR == nothing!;;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.