Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to marshall union

Status
Not open for further replies.

borgrulze

Programmer
Apr 4, 2002
11
0
0
IN
I would to marshall this struct. the problem is that struct has a union within it. and also how can i marshal this variable [case(TYMED_HGLOBAL)] HGLOBAL hGlobal;

typedef struct tagSTGMEDIUM
{
DWORD tymed;
union {
[case(TYMED_HGLOBAL)] HGLOBAL hGlobal;
[default] ;
}
}

can someone plz help

bye
 
C# does not have a union element. Perhaps you meant to ask this question in the C++ forum?

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top