Callback_Thread

I'm confuzzled on how you use this, specifically I'm using the MIDI functions and I want to have my midiInProc held on another thread but I can't seem to figure out how to use CALLBACK_THREAD functionality. I can do it just fine on CALLBACK_FUNCTION but that keeps it on the same thread... so Iunno...
Last edited on
A Call Back function is a function who's pointer you pass to a DLL or system service to process the data passed from it.

When you say "I want my input data being held on another thread" I'm not sure what you mean. Input data is held by a variable, it's trickey but this input data can be passed to the thread on the stack. Can you post a sample of your code?
I didn't meanthe actual data but i want the midiInProc function held on another thread how can i do that?
No, I know how to create threads, but I don't know how to set up the midiInOpen using the CALLBACK_THREAD parameter.
I don't know what you mean by "CALLBACK_THREAD" parameter, are you using Win32 or another API?
Bump: anyone?
Topic archived. No new replies allowed.