PRB: Some Types Incorrectly Defined in the C 6.0 BSEDEV.H File

ID Number: Q71204

6.00 6.00a

OS/2

docerr

Summary:

The following types are incorrectly defined in the OS/2 BSEDEV.H

include file that ships with Microsoft C versions 6.0 and 6.0a:

PCODEPAGEINFO

PCPID

PLDTADDRINFO

PPTRDRAWDATA

More Information:

Each of the above identifiers is defined in BSEDEV.H with a typedef

statement, which is syntactically correct, but the structure name is

omitted. To correct this problem, change the include file as follows:

On line 501, change

typedef FAR *PCODEPAGEINFO;

to:

typedef CODEPAGEINFO FAR *PCODEPAGEINFO;

On line 507, change

typedef FAR *PCPID;

to:

typedef CPID FAR *PCPID;

On line 513, change

typedef FAR *PLDTADDRINFO;

to:

typedef LDTADDRINFO FAR *PLDTADDRINFO;

On line 520, change

typedef FAR *PPTRDRAWDATA;

to:

typedef PTRDRAWDATA FAR *PPTRDRAWDATA;

Additional reference words: 6.00 6.00a