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 / port.ini < prev    next >
INI File  |  1995-05-18  |  11KB  |  178 lines

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