I have a .dll written in C++ with a function defined like this:
EDK_API int EE_CognitivSetCurrentLevel ( unsigned int userId,
EE_CognitivLevel_t level,
EE_CognitivAction_t level1Action,
EE_CognitivAction_t level2Action,
EE_CognitivAction_t level3Action,
EE_CognitivAction_t level4Action
)
Set the current Cognitiv level and corresponding action types.
Parameters:
userId - user ID
level - current level (min: 1, max: 4)
level1Action - action type in level 1
level2Action - action type in level 2
level3Action - action type in level 3
level4Action - action type in level 4
usage of this function, as you can see above: if level = 1, it'll be called like this:
EE_CognitivSetCurrentLevel(userId,1,level1Action);
if level = 2, then:
EE_CognitivSetCurrentLevel(userId,2,level1Action,level2Action);
and so on...
How can I invoke this function in C#?
Thank you very much!