Hi all,
I have been struggling with an API call from C# now for at least 8 hours, and I need some assistance of what is happening - I do not need code examples, just an understanding of what is happening...
and the parameters are as follows:
and the enum parameter number 2 is one enumeration of items using another enumerations of each items current state...
Now my problem is with the enum and void pointer, on how to Marshal these data correctly... Actually I just need to know what the function does and how I will implement it in C#.
Thank you, any advice or insight will be appreciated.
I have been struggling with an API call from C# now for at least 8 hours, and I need some assistance of what is happening - I do not need code examples, just an understanding of what is happening...
Code:
long STDCALL DT_GetInfo(U32 deviceHandle, enum eITEMType ITEMType, void *pITEMS)
Code:
U32 hDev Item handle enum eITEMype ITEMType UI_DATASTATE void *pITEMS Pointer to the user interface structure buffer (provided by the application)
Now my problem is with the enum and void pointer, on how to Marshal these data correctly... Actually I just need to know what the function does and how I will implement it in C#.
Thank you, any advice or insight will be appreciated.