public void initializeDriver() { processInBoundDataCallbackDelegate callBackHandler = new processInBoundDataCallbackDelegate(processInBoundDataCallback); long pointer; pointer = (long)Marshal.GetFunctionPointerForDelegate(callBackHandler); INITIALISE(ref pointer);//we must pass in the pointer of the processInBoundDataCallback function here }
public void initializeDriver() { processInBoundDataCallbackDelegate callBackHandler = new processInBoundDataCallbackDelegate(processInBoundDataCallback); long pointer; pointer = (long)Marshal.GetFunctionPointerForDelegate(callBackHandler); INITIALISE(ref pointer);//we must pass in the pointer of the processInBoundDataCallback function here }