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...
Expand|Select|Wrap|Line Numbers
- long STDCALL DT_GetInfo(U32 deviceHandle, enum eITEMType ITEMType, void *pITEMS)
Expand|Select|Wrap|Line Numbers
- 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.