Link to home
Start Free TrialLog in
Avatar of sb8gq
sb8gq

asked on

Converting C/C++ Types with Union Structs to VB types

I am trying to convert the following C type definition into a VB type, but I don't know how to handle the UNION part of the Definition

-----
typedef struct lineinitializeexparams_tag {  DWORD  dwTotalSize;
  DWORD  dwNeededSize;  DWORD  dwUsedSize;  DWORD  dwOptions; union {
  HANDLE  hEvent;  HANDLE  hCompletionPort; } Handles;  DWORD  dwCompletionKey;
} LINEINITIALIZEEXPARAMS, FAR *LPLINEINITIALIZEEXPARAMS;


---

Cheers

Steve
ASKER CERTIFIED SOLUTION
Avatar of prozak
prozak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial