Microsoft KB Archive/71204

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:58, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

PSS ID Number: Q71204 Article last modified on 01-25-1995

6.00 6.00a

OS/2

The information in this article applies to:
- Microsoft C for OS/2, versions 6.0 and 6.0a

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 KBCategory: kbtool kbdocerr KBSubcategory: TlsMisc

=================================================================

Copyright Microsoft Corporation 1995.