Exemple #1
0
        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
        }
Exemple #2
0
        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
        }