Original Post
I'm trying to deal with an Directshow events, all encapsulated in a class called LDS. When I want the windows message handler to respond to these messages, I want it to call a prodcedure handleEvent which is a member function of LDS. I cannont, however, pass in an instance of the class to the message procedure, as whenever I alter the parameters, it won't work. Is is possible to alter the parameters? They are currently: LRESULT WINAPI MsgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) I want to append LDS &pLDS to the end, but it won't let me.