The dll has a structure whose fields are callbacks:
typedef struct callbacks { char(*callback1)(params); void(*callback2)(void); char(*callback3)(params); } Callbacks; How to present all this in C #? At the moment I am thinking about IntPtr , but maybe I'm wrong?