コード例 #1
0
        private IntPtr IterateCallback(NativeMethods.FdiNotificationType fdint, NativeMethods.FdiNotification fdin)
        {
            switch (fdint)
            {
            case NativeMethods.FdiNotificationType.CopyFile:
                return(OutputFileOpen(fdin));

            default:
                return(IntPtr.Zero);
            }
        }
コード例 #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);
            }
        }