Annotation of mstools/samples/porttool/port.ini, revision 1.1

1.1     ! root        1: [PORTTOOL]
        !             2:     WinHelp=c:\ntsdk\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 CloseFile;;
        !            30:     CloseSound=CloseSound;Replaced by multimedia sound support;;
        !            31:     CountVoiceNotes=CountVoiceNotes;Replaced by multimedia sound support;;
        !            32:     DeviceCapabilities=DeviceCapabilities;Replaced by portable DeviceCapabilitiesEx;;
        !            33:     DeviceMode=DeviceMode;Replaced by portable DeviceModeEx;;
        !            34:     DlgDirSelect=DlgDirSelect;Replaced by portable DlgDirSelectEx;;
        !            35:     DlgDirSelectComboBox=DlgDirSelectComboBox;Replaced by portable DlgDirSelectComboBoxEx;;
        !            36:     DOS3Call=DOS3Call;Replaced by named, portable Win32 API;;
        !            37:     ExtDeviceMode=ExtDeviceMode;Replaced by portable ExtDeviceModeEx;;
        !            38:     FlushComm=FlushComm;Replaced by PurgeComm;;
        !            39:     FreeSelector=FreeSelector;No Win32 API equivalent;;
        !            40:     GetAspectRatioFilter=GetAspectRatioFilter;Replaced by portable GetAspectRatioFilterEx;;
        !            41:     GetBitmapDimension=GetBitmapDimension;Replaced by portable GetBitmapDimensionEx;;
        !            42:     GetBrushOrg=GetBrushOrg;Replaced by portable GetBrushOrgEx;;
        !            43:     GetClassWord=GetClassWord;Use GetClassLong for values that grow to 32-bits on Win32;;
        !            44:     GetCodeHandle=GetCodeHandle;No Win32 API equivalent;;
        !            45:     GetCodeInfo=GetCodeInfo;No Win32 API equivalent;;
        !            46:     GetCommError=GetCommError;Replaced by GetCommState;;
        !            47:     GetCurrentPDB=GetCurrentPDB;No Win32 API equivalent;;
        !            48:     GetCurrentPosition=GetCurrentPosition;Replaced by portable GetCurrentPositionEx;;
        !            49:     GetEnvironment=GetEnvironment;No Win32 API equivalent;;
        !            50:     GetInstanceData=GetInstanceData;No equivalent;use alternative supported IPC mechanism.;
        !            51:     GetKBCodePage=GetKBCodePage;No Win32 API equivalent;;
        !            52:     GetMetaFileBits=GetMetaFileBits;Replaced by portable GetMetaFileBitsEx;;
        !            53:     GetModuleUsage=GetModuleUsage;Always returns 1 on Win32;;
        !            54:     GetTempDrive=GetTempDrive;Implements Win16 functionality on Win32;;
        !            55:     GetTextExtent=GetTextExtent;Replaced by portable GetTextExtentPoint;;
        !            56:     GetTextExtentEx=GetTextExtentEx;Replaced by portable GetTextExtentExPoint;;
        !            57:     GetThresholdEvent=GetThresholdEvent;Replaced by multimedia sound support;;
        !            58:     GetThresholdStatus=GetThresholdStatus;Replaced by multimedia sound support;;
        !            59:     GetViewportExt=GetViewportExt;Replaced by portable GetViewportExtEx;;
        !            60:     GetViewportOrg=GetViewportOrg;Replaced by portable GetViewportOrgEx;;
        !            61:     GetWindowExt=GetWindowExt;Replaced by portable GetWindowExtEx;;
        !            62:     GetWindowOrg=GetWindowOrg;Replaced by portable GetWindowOrgEx;;
        !            63:     GetWindowWord=GetWindowWord;Use GetWindowLong for values that grow to 32-bits on Win32;;
        !            64:     GlobalDosAlloc=GlobalDosAlloc;No Win32 API equivalent;;
        !            65:     GlobalDosFree=GlobalDosFree;No Win32 API equivalent;;
        !            66:     GlobalPageLock=GlobalPageLock;No Win32 API equivalent;;
        !            67:     GlobalPageUnlock=GlobalPageUnlock;No Win32 API equivalent;;
        !            68:     LimitEMSPages=LimitEMSPages;No Win32 API equivalent;;
        !            69:     LocalNotify=LocalNotify;No Win32 Equivalent;;
        !            70:     MoveTo=MoveTo;Replaced by portable MoveToEx;;
        !            71:     NetBIOSCall=NetBIOSCall;Replaced by named, portable Win32 API;;
        !            72:     OffsetViewportOrg=OffsetViewportOrg;Replaced by portable OffsetViewportOrgEx;;
        !            73:     OffsetWindowOrg=OffsetWindowOrg;Replaced by portable OffsetWindowOrgEx;;
        !            74:     OpenComm=OpenComm;Replaced by OpenFile;;
        !            75:     OpenSound=OpenSound;Replaced by multimedia sound support;;
        !            76:     ProfClear=ProfClear;See tech. ref. for Win32 API profiling support;;
        !            77:     ProfFinish=ProfFinish;See tech. ref. for Win32 API profiling support;;
        !            78:     ProfFlush=ProfFlush;See tech. ref. for Win32 API profiling support;;
        !            79:     ProfInsChk=ProfInsChk;See tech. ref. for Win32 API profiling support;;
        !            80:     ProfSampRate=ProfSampRate;See tech. ref. for Win32 API profiling support;;
        !            81:     ProfSetup=ProfSetup;See tech. ref. for Win32 API profiling support;;
        !            82:     ProfStart=ProfStart;See tech. ref. for Win32 API profiling support;;
        !            83:     ProfStop=ProfStop;See tech. ref. for Win32 API profiling support;;
        !            84:     ReadComm=ReadComm;Replaced by ReadFile;;
        !            85:     RemoveFontResource=RemoveFontResource;Must use string, not handle, for filename;;
        !            86:     ScaleViewportExt=ScaleViewportExt;Replaced by portable ScaleViewportExtEx;;
        !            87:     ScaleWindowExt=ScaleWindowExt;Replaced by portable ScaleWindowExtEx;;
        !            88:     SetBitmapDimension=SetBitmapDimension;Replaced by portable SetBitmapDimensionEx;;
        !            89:     SetClassWord=SetClassWord;Use SetClassLong for values that grow to 32-bits on Win32;;
        !            90:     SetCommEventMask=;Replaced by SetCommMask;;
        !            91:     SetEnvironment=SetEnvironment;No Win32 API equivalent;;
        !            92:     SetMetaFileBits=SetMetaFileBits;Replaced by portable SetMetaFileBitsEx;;
        !            93:     SetResourceHandler=SetResourceHandler;No Win32 API equivalent (resource API in progress);;
        !            94:     SetSoundNoise=SetSoundNoise;Replaced by multimedia sound support;;
        !            95:     SetViewportExt=SetViewportExt;Replaced by portable SetViewportExtEx;;
        !            96:     SetViewportOrg=SetViewportOrg;Replaced by portable SetViewportOrgEx;;
        !            97:     SetVoiceAccent=SetVoiceAccent;Replaced by multimedia sound support;;
        !            98:     SetVoiceEnvelope=SetVoiceEnvelope;Replaced by multimedia sound support;;
        !            99:     SetVoiceNote=SetVoiceNote;Replaced by multimedia sound support;;
        !           100:     SetVoiceQueueSize=SetVoiceQueueSize;Replaced by multimedia sound support;;
        !           101:     SetVoiceSound=SetVoiceSound;Replaced by multimedia sound support;;
        !           102:     SetVoiceThreshold=SetVoiceThreshold;Replaced by multimedia sound support;;
        !           103:     SetWindowExt=SetWindowExt;Replaced by portable SetWindowExtEx;;
        !           104:     SetWindowOrg=SetWindowOrg;Replaced by portable SetWindowOrgEx;;
        !           105:     SetWindowWord=SetWindowWord;Use SetWindowLong for values that grow to 32-bits on Win32;;
        !           106:     StartSound=StartSound;Replaced by multimedia sound support;;
        !           107:     StopSound=StopSound;Replaced by multimedia sound support;;
        !           108:     SwitchStackBack=SwitchStackBack;No Win32 API equivalent;;
        !           109:     SwitchStackTo=SwitchStackTo;No Win32 API equivalent;;
        !           110:     SyncAllVoices=SyncAllVoices;Replaced by multimedia sound support;;
        !           111:     UngetCommChar=UngetCommChar;No Win32 equivalent;;
        !           112:     ValidateCodeSegments=ValidateCodeSegments;No Win32 API equivalent;;
        !           113:     ValidateFreeSpaces=ValidateFreeSpaces;No Win32 API equivalent;;
        !           114:     WaitSoundState=WaitSoundState;Replaced by multimedia sound support;;
        !           115:     WndProc=WindowProc;All WndProc's should be defined in a portable manner;WndProc(HWND hWnd, UINT uMsg, UINT uParam, LONG lParam);
        !           116:     WriteComm=WriteComm;Replaced by WriteFile;;
        !           117: 
        !           118: [MESSAGES]
        !           119:     EM_GETSEL=EM_GETSEL;wParam/lParam repacking, refer to tech. ref. for details;;
        !           120:     EM_LINESCROLL=EM_LINESCROLL;wParam/lParam repacking, refer to tech. ref. for details;;
        !           121:     EM_SETSEL=EM_SETSEL;wParam/lParam repacking, refer to tech. ref. for details;;
        !           122:     WM_ACTIVATE=WM_ACTIVATE;wParam/lParam repacking, refer to tech. ref. for details;;
        !           123:     WM_CHANGECBCHAIN=WM_CHANGECBCHAIN;wParam/lParam repacking, refer to tech. ref. for details;;
        !           124:     WM_CHARTOITEM=WM_CHARTOITEM;wParam/lParam repacking, refer to tech. ref. for details;;
        !           125:     WM_COMMAND=WM_COMMAND;wParam/lParam repacking, refer to tech. ref. for details;;
        !           126:     WM_CTLCOLOR=WM_CTLCOLOR;wParam/lParam repacking, refer to tech. ref. for details;;
        !           127:     WM_DDE_ACK=WM_DDE_ACK;wParam/lParam repacking, refer to tech. ref. for details;;
        !           128:     WM_DDE_ADVISE=WM_DDE_ADVISE;wParam/lParam repacking, refer to tech. ref. for details;;
        !           129:     WM_DDE_DATA=WM_DDE_DATA;wParam/lParam repacking, refer to tech. ref. for details;;
        !           130:     WM_DDE_EXECUTE=WM_DDE_EXECUTE;wParam/lParam repacking, refer to tech. ref. for details;;
        !           131:     WM_DDE_POKE=WM_DDE_POKE;wParam/lParam repacking, refer to tech. ref. for details;;
        !           132:     WM_HSCROLL=WM_HSCROLL;wParam/lParam repacking, refer to tech. ref. for details;;
        !           133:     WM_MDIACTIVATE=WM_MDIACTIVATE;wParam/lParam repacking, refer to tech. ref. for details;;
        !           134:     WM_MDISETMENU=WM_MDISETMENU;wParam/lParam repacking, refer to tech. ref. for details;;
        !           135:     WM_MENUCHAR=WM_MENUCHAR;wParam/lParam repacking, refer to tech. ref. for details;;
        !           136:     WM_MENUSELECT=WM_MENUSELECT;wParam/lParam repacking, refer to tech. ref. for details;;
        !           137:     WM_PARENTNOTIFY=WM_PARENTNOTIFY;wParam/lParam repacking, refer to tech. ref. for details;;
        !           138:     WM_VKEYTOITEM=WM_VKEYTOITEM;wParam/lParam repacking, refer to tech. ref. for details;;
        !           139:     WM_VSCROLL=WM_VSCROLL;wParam/lParam repacking, refer to tech. ref. for details;;
        !           140: 
        !           141: [STRUCTURES]
        !           142:     DCB=DCB;Changes to bitfields and additional structure members;;
        !           143: 
        !           144: [TYPES]
        !           145:     (WORD)=WORD;Check if incorrect cast of 32-bit value;Replace 16-bit data types with 32-bit types where possible;
        !           146: 
        !           147: [CONSTANTS]
        !           148:     GCW_HCURSOR=GetClassLong;Replaced by GCL_HCURSOR;;
        !           149:     GCW_HBRBACKGROUND=GetClassLong;Replaced by GCL_HBRBACKGROUND;;
        !           150:     GCW_HICON=GetClassLong;Replaced by GCL_HICON;;
        !           151:     GWW_HINSTANCE=GetWindowLong;Replaced by GWL_HINSTANCE;;
        !           152:     GWW_HWNDPARENT=GetWindowLong;Replaced by GWL_HWNDPARENT;;
        !           153:     GWW_ID=GetWindowLong;Replaced by GWL_ID;;
        !           154:     GWW_USERDATA=GetWindowLong;Replaced by GWL_USERDATA;;
        !           155: 
        !           156: [MACROS]
        !           157:     HIWORD=HIWORD;Check if HIWORD target is 16- or 32-bit;;
        !           158:     LOWORD=LOWORD;Check if LOWORD target is 16- or 32-bit;;
        !           159:     MAKEPOINT=MAKEPOINT;Replaced by LONG2POINT;;
        !           160: 
        !           161: [CUSTOM]
        !           162:     FAR=far;Win32 is non-segmented, thus FAR == NEAR == nothing!;;

unix.superglobalmegacorp.com

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