PRB: C 6.0/6.0a BSEDOS.H Has Incorrect Prototypes

ID Number: Q66345

6.00 6.00a

OS/2

buglist6.00 buglist6.00a

Summary:

SYMPTOMS

The prototypes for DosPeekQueue() and DosFileLocks() in the

BSEDOS.H file are incorrect.

The fourth parameter for DosPeekQueue() is defined in the header

file as being of type PULONG, as shown in the following:

PULONG ppBuf

For OS/2 versions 1.x, the fourth parameter should be as follows:

PVOID FAR *ppBuf

The prototype is correct as it is for OS/2 version 2.0.

For OS/2 versions 1.x, the second and third parameters for

DosFileLocks() are defined as being of type PLONG, and should be of

type PFILELOCK.

This function does not exist in OS/2 version 2.0.

STATUS

Microsoft has confirmed this to be a problem in C versions 6.0 and

6.0a. We are researching this problem and will post new information

here as it becomes available.

Additional reference words: 2.00 6.00 6.00a