C api to C# GUI
I have a stream of bytes that I sort into structs.  Now I need to update a C# GUI using values from those structs.  Now I've found things about pinvoke and dllimport using Google but everything is calling c code from c#, I need to do the opposite.

The c# code has functions that spin dials/updates values, so once I have the values I need I want to just call those functions, with those values as parameters, my c code is all written and the gui is all coded and functional using dials that I drag with my mouse, I just need to glue these together.

Thanks for any help!
C api to C# GUI
===

I have a stream of bytes that I sort into structs.  Now I need to update a C# GUI using values from those structs.  Now I've found things about pinvoke and dllimport using Google but everything is calling c code from c#, I need to do the opposite.

The c# code has functions that spin dials/updates values, so once I have the values I need I want to just call those functions, with those values as parameters, my c code is all written and the gui is all coded and functional using dials that I drag with my mouse, I just need to glue these together.

Thanks for any help!