Example #1
0
        private static unsafe void IOCompletionCallback_Context(Object state)
        {
            _IOCompletionCallback helper = (_IOCompletionCallback)state;

            Debug.Assert(helper != null, "_IOCompletionCallback cannot be null");
            helper._ioCompletionCallback(helper._errorCode, helper._numBytes, helper._pOVERLAP);
        }
Example #2
0
        private static void IOCompletionCallback_Context(object state)
        {
            _IOCompletionCallback helper = (_IOCompletionCallback)state;

            Debug.Assert(helper != null, "_IOCompletionCallback cannot be null");
            helper._ioCompletionCallback(helper._errorCode, helper._numBytes, helper._pNativeOverlapped);
        }
Example #3
0
        static internal void IOCompletionCallback_Context(Object state)
        {
            _IOCompletionCallback helper = (_IOCompletionCallback)state;

            Contract.Assert(helper != null, "_IOCompletionCallback cannot be null");
            helper._ioCompletionCallback(helper._errorCode, helper._numBytes, helper._pOVERLAP);
        }
Example #4
0
        internal static void IOCompletionCallback_Context(object state)
        {
            _IOCompletionCallback iocompletionCallback = (_IOCompletionCallback)state;

            iocompletionCallback._ioCompletionCallback(iocompletionCallback._errorCode, iocompletionCallback._numBytes, iocompletionCallback._pOVERLAP);
        }
Example #5
0
        internal static unsafe void IOCompletionCallback_Context(object state)
        {
            _IOCompletionCallback callback = (_IOCompletionCallback)state;

            callback._ioCompletionCallback(callback._errorCode, callback._numBytes, callback._pOVERLAP);
        }