weiss@theory.lcs.mit.edu (Paul G. Weiss) (07/02/90)
I have noticed an incompatibility between the version of OS/2 V1.20 that I received from Microsoft with the SDK and the version that my customers have received from IBM. The affected call is DosQCurDir. The third argument is a pointer to a variable that has the size of the buffer. It is documented as a PUSHORT. I had set the value of this variable equal to 0xffff to effectively disable the length check. This worked in the Microsoft version. It did not in the IBM version. If I set the variable to 0x7fff it worked in the IBM version, leading me to believe that IBM treats the parameter as a PSHORT instead of a PUSHORT.