OS/2, eCS & ArcaOS - Technical > Programming

OS/2 Architecture Graphic

(1/2) > >>

Martin Iturbide:
Hi

I want to update the architecture graphic I made some time ago. But I want to try to understand more about some components that are not posted there.

Right now I want to start with the GPI API. I want to see if it can be represented somewhere on the graphic or not.  If GPI depends (needs) PM to run it should be on top of it, but if PM depends on GPI, GPI should on the down side of PM. But I have no idea about GPI, are there any command line apps (non PM) that can use GPI APIs?

Here it goes the graphic for people to remember it:

Martin Iturbide:
I think that GPI should be a small box inside PM.  I think that if pmgpi.dll contains all GPI functions, maybe it is a component of PM.

Andreas Schnellbacher:

--- Quote from: Martin Iturbide on November 21, 2014, 10:42:33 pm ---I think that GPI should be a small box inside PM.  I think that if pmgpi.dll contains all GPI functions, maybe it is a component of PM.

--- End quote ---
Sure. They chose the prefixes well in those days.

Martin Iturbide:
I'm still not sure if "Control Program" should be at the down of "Presentation Manager". Does anybody knows if PM required "Control Program" to function? 

Control Program looks like an important set of instructions (don't laugh if my ignorance please :) ) and if PM uses/requires that instructions, I'm drawing this interpretation wrong.   

Dave Yeo:
The control API is the basic stuff, all you need for DOS like functionality and what everything else is built on top of (excepting stuff built on DOS such as winos2). To quote cp1.inf from the toolbox

--- Quote ---The lowest-level functions supplied by the OS/2 operating system are those provided by the kernel and the kernel's subsystems-the control programs of the operating system. The Control Program functions involve the most basic aspects of program execution, such as memory management, file handling, and process, thread, and session management. They also involve more sophisticated programming tasks, such as exception handling and interprocess communications. The names of all the system functions in the Control Program API are prefixed with the letters "Dos", as in DosAllocMem.
--- End quote ---
So pretty much everything is on top of "Control Program"

Navigation

[0] Message Index

[#] Next page

Go to full version