-----BEGIN PGP SIGNED MESSAGE-----
The attached archive contains source code for test applications that
are to be linked against current mingw.org w32api, as well as their
output on my machine.
Analyzing this output allows one to make certain observation regarding
the values of various flags and constants used by subj, which are not
documented in MSDN.
Since googling these values up is out of the question due to mingw.org
developers CNTP, this method has to be employed.
It boils down to calling subj with all possible flag/constant values
and observing the error value. Certain error values indicate illegal
flag/constant values or combinations, everything else is potentially
legal. By manipulating arguments in certain ways it is possible to
create situations where only a particular constant would allow a
function to complete successfully, thus proving beyond any doubt that
the value used in the call corresponds to symbolic name defined in MSDN.
Using this code it is possible to obtain the values for:
My conclusions regarding the values of these constants are documented
in source files (if you want to see all of them, just read the latest
tester_13.c file, the comments are spread throughout the file).
To reproduce these results one have to compile and run the testing
applications on stock NT 6.1.7601. The last (13th) test results were
obtained after installing considerable amount of codecs and filters on
top of stock NT 6.1.7601 (that should alter the output of earlier
tests; namely, filter enumeration didn't work, since i've had zero
filters; that must have changed, but i did not re-run the tests).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----