Mail Archives: djgpp/1996/05/22/12:48:37
> (0) I have found that Windows functions are in a number of tables
> of them, e.g. GetFilePortName is number 343 in the table USER, and
> that it is called as `WORD FAR PASCAL GetFilePortName(LPOSFTRUCT)
> LPOFSTRUCT lpofstruct; (display a "print to file" box and return the
> chosen file's details in arg `lpofstruct').
Good.
> (1) Where is FTP or WWW info about special interrupts that only
> work in Windows?
None such exist.
> (2) Where on FTP or WWW is a full listing of these Windows
> functions (names, arg patterns, what they do, what number position
> in which table)? The information on (0) is from `Undocumented
> Windows', which does not describe `documented' functions (documented
> where (including number and table name)?).
You need the import library files to get the DLL link numbers. These
libraries are likely to be copyrighted by MS, so you need a compiler
that supports Windows to get the data, or you can get someone to
extract the data.
> (3) Please: If one of these functions is the n'th function in the
> table QWERTY, and it has such and such an arg pattern, how do I call
> it from djgpp? If someone could write an interface that will let a
> djgpp program start under Windows (not in a DOS box) and call just
> one of these functions, say the abovementioned GetFilePortName, I
> can (given a source of information (2)) do the rest of the donkey
> work and make altered copies of GetFilePortName's interface matter
> to call each of the many other such Windows functions.
Check out RSXWIN. The author solved this problem already.
You may need to buy one of those books if you want to learn about
programming to the Windoze API.
Marc Singer
- Raw text -