The following struct is currently implemented inside of a C++ .h (header) file. As far as I know most of the members of the struct are not C# defined types. I would like to make this struct user friendly for C#. How would I got about wrapping this struct in a dll or something and making the definition more C#-friendly?
Code:typedef struct { FILETIME date; DWORD dwRefId; BYTE btParam[512]; CHAR szImageFileName[1]; UCHAR szSerialNum[17]; //Unit serial number. RGBQUAD pixels[1]; RGBTRIPLE foreground; } CMD_DATAA, *PCMD_DATAA;




Reply With Quote