Talk:DosGetCp: Difference between revisions
Appearance
m Martini moved page Talk:OS2 API:CPI:LEGACY:DosGetCp to Talk:DosGetCp (Legacy) |
m Ak120 moved page Talk:DosGetCp (Legacy) to Talk:DosGetCp |
(No difference)
|
Latest revision as of 14:00, 14 August 2017
Martini (talk) 18:55, 17 October 2016 (CEST)
- you should know - there is two type of API functions
- old type - call convention Far16 Pascal
- new type - call convention Near32 C
- so DosGetCp is Far16 Pascal
- DosQueryCp is Near32 C
- they do almost the same
- for your reference DosGetCp is ordinal 130 and DosQueryCp is ordinal 291
- very often C function is implemented as wrapper to Pascal - that is why we have an issue with hi mem addresses (Pascal function can use firs 512M only)