forward declare typedef'd struct
Posted
by Steve
on Stack Overflow
See other posts from Stack Overflow
or by Steve
Published on 2010-03-12T17:26:30Z
Indexed on
2010/03/12
17:27 UTC
Read the original article
Hit count: 447
c++
|forward-declaration
I can't figure out how to forward declare a windows struct. The definition is
typedef struct _CONTEXT
{
....
} CONTEXT, *PCONTEXT
I really don't want to pull into this header, as it gets included everywhere.
I've tried
struct CONTEXT
and
struct _CONTEXT
with no luck (redefinition of basic types with the actuall struct in winnt.h.
© Stack Overflow or respective owner