OS/2, eCS & ArcaOS - Technical > Programming

EDM/2 - The API Project - Undocumented

<< < (2/7) > >>

Martin Iturbide:
Hello

I had finally republished (Courtesy of IBM) this two books on the EDM/2 (in wiki format) :
- Presentation Manager Programming Guide and Reference
- Graphics Programming Interface (GPI) Guide and Reference

Maybe there is no much interest because we already have online sources or the INF files, but it was useful also to have more information on the "The OS/2 API Project" inside the wiki.

There had been also interesting to find the "undocumented" API functions and try to find whatever information about it.

These last days I had been using AI (Gemini and Grok) to help me out create the wiki layout in a faster way from the IPF source.
So, a quality check will be also useful if someone cares.

Regards

Martin Iturbide:
Hello

I was checking the "Programming Guide and Reference Addendum".

On "Device Helper (DevHlp) Services and Function Codes" there is this one that I can not find:
- DevHlp_FileOpen
The strange thing is that is list the same code, 7Fh, than "DevHlp_OpenFile" that is on the same page.  Does this "DevHlp_FileOpen" exists or it is a mistake?

On " APIs Supporting High Memory Objects" there are two functions I can not find:
- DosQueryPageUsage
- DosOpenMutexWaitSem
Are those mistakes or the documentation is available somewhere else ?

Thanks in advance for any tip or info.

Regards

Dave Yeo:
Out of curiosity, I grepped x:\os2 for all 4 functions, nothing seems to use them. Or they're called by ordinal.
I also grepped \os2tk45. Found DosQueryPageUsage() only in os2386.lib, so a real function not prototyped. Also found DevHlp_OpenFile() in inc\devhlp.inc. Take a look at the inc for cardinal(?) and comment.
All but DevHlp_FileOpen are also in addendum.inf. I'd assume DevHlp_FileOpen is a typo with OpenFile reversed, a typo I could see making.

Rich Walsh:

--- Quote from: Martin Iturbide on May 16, 2025, 04:15:20 am ---- DosOpenMutexWaitSem

--- End quote ---

DosOpenMuxWaitSem

Martin Iturbide:
Thanks for the feedback.

What I understand is that:
1) DosQueryPageUsage - Exists, but it is undocumented.
2) DevHlp_FileOpen is a typo for "DevHlp_OpenFile"
3) DosOpenMutexWaitSem is typo for "DosOpenMuxWaitSem"

Regards

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version