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
-----
typedef struct lineinitializeexparams_tag
DWORD dwNeededSize; DWORD dwUsedSize; DWORD dwOptions; union {
HANDLE hEvent; HANDLE hCompletionPort; } Handles; DWORD dwCompletionKey;
} LINEINITIALIZEEXPARAMS, FAR *LPLINEINITIALIZEEXPARAMS;
---
Cheers
Steve
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.