¡@

Home 

c# Programming Glossary: setfunc

Passing a C# callback function through Interop/pinvoke

http://stackoverflow.com/questions/7970128/passing-a-c-sharp-callback-function-through-interop-pinvoke

function that allows me to pass the above type int WINAPI SetFunc lpfnFunc f Here is my C# code for the delegate and function.. MyFunc string arg1 string arg2 Here is my C# code for the SetFunc Interop function DllImport lib.dll CharSet CharSet.Ansi public.. lib.dll CharSet CharSet.Ansi public static extern int SetFunc Func lpfn And finally here is the code where I call the SetFunc..