API Legacy Functions Replacements: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
(13 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
!16Bit Function||API||32Bit Replacement Function||Description || References | !16Bit Function||API||32Bit Replacement Function||Description || References | ||
|- | |- | ||
|[[DosCallback]]|| || ||Eliminated in OS/2 2.0 || [ | |[[DosCallback]]|| || ||rowspan=25|Eliminated in OS/2 2.0 ||rowspan=26|[http://books.google.com/books?id=u7WbsmbttwYC&pg=PT370] | ||
|- | |- | ||
|[[DosCLIAccess]]|| || | |[[DosCLIAccess]]|| || | ||
|- | |- | ||
|[[DosFlagProcess]]|| || | |[[DosFlagProcess]]|| || | ||
|- | |- | ||
|[[DosGetEnv]]|| || | |[[DosGetEnv]]|| || | ||
|- | |- | ||
|GetHugeShift|| || | |GetHugeShift|| || | ||
|- | |- | ||
| | |[[DosGetInfoSeg]]|| || | ||
|- | |- | ||
|[[DosGetMachineMode]]|| || | |[[DosGetMachineMode]]|| || | ||
|- | |- | ||
|[[DosGetPID]]|| || | |[[DosGetPID]]|| || | ||
|- | |- | ||
|[[DosGetPPID]]|| || | |[[DosGetPPID]]|| || | ||
|- | |- | ||
|[[DosGetPrty]]|| || | |[[DosGetPrty]]|| || | ||
|- | |- | ||
|[[DosGetVersion]]|| || | |[[DosGetVersion]]|| || | ||
|- | |- | ||
|[[DosHoldSignal]]|| || | |[[DosHoldSignal]]|| || | ||
|- | |- | ||
|[[DosLockSeg]]|| || | |[[DosLockSeg]]|| || | ||
|- | |- | ||
|[[DosMemAvail]]|| || | |[[DosMemAvail]]|| || | ||
|- | |- | ||
|[[DosPortAccess]]|| || | |[[DosPortAccess]]|| || | ||
|- | |- | ||
|[[DosR2StackRealloc]]|| || | |[[DosR2StackRealloc]]|| || | ||
|- | |- | ||
|[[DosReadAsync]]|| || | |[[DosReadAsync]]|| || | ||
|- | |- | ||
|[[DosReallocHuge]]|| || | |[[DosReallocHuge]]|| || | ||
|- | |- | ||
|[[DosReallocSeg]]|| || | |[[DosReallocSeg]]|| || | ||
|- | |- | ||
|[[DosSendSignal]]|| || | |[[DosSendSignal]]|| || | ||
|- | |- | ||
|[[DosSetCp]]|| || | |[[DosSetCp]]|| || | ||
|- | |- | ||
|[[DosSetSigHandler]]|| || | |[[DosSetSigHandler]]|| || | ||
|- | |- | ||
|[[DosSetVec]]|| || | |[[DosSetVec]]|| || | ||
|- | |- | ||
|[[DosSizeSeg]]|| || | |[[DosSizeSeg]]|| || | ||
|- | |- | ||
|[[DosWriteAsync]]|| || | |[[DosWriteAsync]]|| || | ||
|- | |- | ||
|[[DosBufReset]]|| Dos16 || [[DosResetBuffer]] ||Renamed in OS/2 2.0 | |||
|[[DosBufReset]]|| Dos16 || [[DosResetBuffer]] ||Renamed in OS/2 2.0 | |||
|- | |- | ||
|[[DosChDir]]|| Dos16 || [[DosSetCurrentDir]] | |[[DosChDir]]|| Dos16 || [[DosSetCurrentDir]] | ||
Line 68: | Line 66: | ||
|[[DosGetCp]]|| Dos16 || [[DosQueryCp]] | |[[DosGetCp]]|| Dos16 || [[DosQueryCp]] | ||
|- | |- | ||
|[[ | |[[DosGetCtryInfo]]|| Dos16 || [[DosQueryCtryInfo]] | ||
|- | |- | ||
|[[DosGetDBCSEv]]|| Dos16 || [[DosQueryDBCSEnv]] | |[[DosGetDBCSEv]]|| Dos16 || [[DosQueryDBCSEnv]] | ||
Line 78: | Line 76: | ||
|[[DosGetProcAddr]]|| Dos16 || [[DosQueryProcAddr]] | |[[DosGetProcAddr]]|| Dos16 || [[DosQueryProcAddr]] | ||
|- | |- | ||
|[[ | |[[DosInsMessage]]|| Dos16 || [[DosInsertMessage]] | ||
|- | |- | ||
|[[DosMkDir]] [[DosMkDir2]] || Dos16 || [[DosCreateDir]] | |[[DosMkDir]] [[DosMkDir2]] || Dos16 || [[DosCreateDir]] | ||
Line 84: | Line 82: | ||
|[[DosNewSize]]|| Dos16 || [[DosSetFileSize]] | |[[DosNewSize]]|| Dos16 || [[DosSetFileSize]] | ||
|- | |- | ||
|[[DosPTrace|| Dos16 || [[DosDebug]] | |[[DosPTrace]]|| Dos16 || [[DosDebug]] | ||
|- | |- | ||
|[[DosQAppType|| Dos16 || [[DosQueryAppType]] | |[[DosQAppType]]|| Dos16 || [[DosQueryAppType]] | ||
|- | |- | ||
|[[DosQCurDir|| Dos16 || [[DosQueryCurrentDir]] | |[[DosQCurDir]]|| Dos16 || [[DosQueryCurrentDir]] | ||
|- | |- | ||
|[[DosQCurDisk|| Dos16 || [[DosQueryCurrentDisk]] | |[[DosQCurDisk]]|| Dos16 || [[DosQueryCurrentDisk]] | ||
|- | |- | ||
|[[DosQFHState|| Dos16 || [[DosQueryFHState]] | |[[DosQFHState]]|| Dos16 || [[DosQueryFHState]] | ||
|- | |- | ||
|[[ | |[[DosQFileInfo]]|| Dos16 || [[DosQueryFileInfo]] | ||
|- | |- | ||
|[[ | |[[DosQFileMode]]|| Dos16 || [[DosQueryFileMode]] | ||
|- | |- | ||
|[[DosQFSAttach|| Dos16 || [[DosQueryFSAttach]] | |[[DosQFSAttach]]|| Dos16 || [[DosQueryFSAttach]] | ||
|- | |- | ||
|[[DosQFSInfo|| Dos16 || [[DosQueryFSInfo]] | |[[DosQFSInfo]]|| Dos16 || [[DosQueryFSInfo]] | ||
|- | |- | ||
|[[DosQHandType|| Dos16 || [[DosQueryHType]] | |[[DosQHandType]]|| Dos16 || [[DosQueryHType]] | ||
|- | |- | ||
|[[ | |[[DosQPathInfo]]|| Dos16 || [[DosQueryPathInfo]] | ||
|- | |- | ||
|[[ | |[[DosQSysInfo]]|| Dos16 || [[DosQuerySysInfo]] | ||
|- | |- | ||
|[[DosQVerify|| Dos16 || [[DosQueryVerify]] | |[[DosQVerify]]|| Dos16 || [[DosQueryVerify]] | ||
|- | |- | ||
|[[ | |[[DosRmDir]]|| Dos16 || [[DosDeleteDir]] | ||
|- | |- | ||
|[[DosSelectDisk|| Dos16 || [[DosSetDefaultDisk]] | |[[DosSelectDisk]]|| Dos16 || [[DosSetDefaultDisk]] | ||
|- | |- | ||
|[[DosSetProcCp|| Dos16 || [[DosSetProcessCp]] | |[[DosSetProcCp]]|| Dos16 || [[DosSetProcessCp]] | ||
|- | |- | ||
|[[DosSetPrty|| Dos16 || [[DosSetPriority]] | |[[DosSetPrty]]|| Dos16 || [[DosSetPriority]] | ||
|- | |- | ||
|[[DosTimerAsync|| Dos16 || [[DosAsyncTimer]] | |[[DosTimerAsync]]|| Dos16 || [[DosAsyncTimer]] | ||
|- | |- | ||
|[[DosTimerStart|| Dos16 || [[DosStartTimer]] | |[[DosTimerStart]]|| Dos16 || [[DosStartTimer]] | ||
|- | |- | ||
|[[DosTimerStop]]||Dos16 ||[[DosStopTimer]] | |[[DosTimerStop]]||Dos16 ||[[DosStopTimer]] | ||
|- | |- | ||
|[[DosSemSet]]||Dos16|| | |[[DosSemSet]]||Dos16|| | ||
|- | |- | ||
| [[WinAllocMem]] || Dos16 || [[DosAllocMem ]] || Seems it was replaced on OS/2 2.0 || [http://www.edm2.com/index.php/Summary_of_the_IBM_OS/2_1991_Technical_Seminar] | |[[WinAllocMem]] || Dos16 || [[DosAllocMem ]] || Seems it was replaced on OS/2 2.0 || [http://www.edm2.com/index.php/Summary_of_the_IBM_OS/2_1991_Technical_Seminar] | ||
|- | |||
|[[WinQueryProfileData]] || || [[PrfQueryProfileData]] ||rowspan=4|Replaced by "Prf" since OS/2 1.2 ||rowspan=4|[http://books.google.com/books?id=cSMUxSP5pKgC&pg=PT434] | |||
|- | |||
|[[WinQueryProfileSize]] || || [[PrfQueryProfileSize]] | |||
|- | |||
|[[WinWriteProfileData]] || || [[PrfWriteProfileData]] | |||
|- | |- | ||
|[[WinWriteProfileString]] || || [[PrfWriteProfileString]] | |||
|} | |} | ||
[[Category:Draft]] | [[Category:Draft]] |