Re: Help understanding how winapi works



ceh <cehupper@xxxxxxxxx> wrote:

Well, I suppose it's important to me the same way it's important to
the OS devs at MS.
My intent is to learn how the api works, not how to use the api

That's noble goal, but below a certain level, it doesn't help you to get
additional detail. Whether a particular API uses a linked list or a simple
array or a balanced tree to hold its requests is just not important. That's
called an "implementation detail", and if the detail changed, it wouldn't
change the operating system in any significant way.

There's all these internals books out there that do a lot of
Something happens
something else happens
A message is sent to the windows subsystem
Something else happens...

I want to know the "A message is sent to the windows subsystem" part.
To me, that is the most mysterious, most unexplained.

That kind of phrase is intentionally vague, because it means different
things at different times. Sometimes it means that a function is called.
Sometimes it means that a data structure gets added to a list. Sometimes
it means that a kernel call is made. Sometimes it means that an entry is
made in an array somewhere. The exact details depends on the exact API.

It is impossible to be more specific.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.



Relevant Pages

  • Re: Fortran 90 MAT FIle I/O module
    ... FMat_VarReadInfo is my api, it returns 0 on success, non-zero on error. ... Yes, the intent was to ... I just added those error tests before posting and good old copy/paste without reanalyzing the ... The intent is to test reading a variable from a MAT file and print the data to the screen. ...
    (comp.soft-sys.matlab)
  • Re: [patch 1/3] x86: a new API for drivers/etc to control cache and other page attributes
    ... the only API they have is change_page_attr. ... transparently handled in c_p_ano matter what the caller passes in. ... The new API is a lot simpler, and it is INTENT driven. ... This means that PAT no longer has to second guess various things ...
    (Linux-Kernel)
  • [Request for Comments] PMC(3) API
    ... I would like to solicit comments on the following API for using CPU ... performance monitoring counters in FreeBSD. ... The intent is to use this API to support PAPI and other 'portable' ...
    (freebsd-performance)