Ejemplo n.º 1
0
        private IntPtr IterateCallback(NativeMethods.FdiNotificationType fdint, NativeMethods.FdiNotification fdin)
        {
            switch (fdint)
            {
            case NativeMethods.FdiNotificationType.CopyFile:
                return(OutputFileOpen(fdin));

            default:
                return(IntPtr.Zero);
            }
        }
Ejemplo n.º 2
0
        private IntPtr ExtractCallback(NativeMethods.FdiNotificationType fdint, NativeMethods.FdiNotification fdin)
        {
            switch (fdint)
            {
            case NativeMethods.FdiNotificationType.CopyFile:
                return(CopyFiles(fdin));

            case NativeMethods.FdiNotificationType.CloseFileInfo:
                return(OutputFileClose(fdin));

            default:
                return(IntPtr.Zero);
            }
        }