Esempio n. 1
0
        public int WerReportAddFile(IntPtr hReportHandle, string pwxPath, WER_FILE_TYPE repFileType, int dwFileFlags)
        {
            int num = NativeMethods.WerReportAddFile(hReportHandle, pwxPath, repFileType, dwFileFlags);

            if (num != 0)
            {
                throw Marshal.GetExceptionForHR(num);
            }
            return(num);
        }
Esempio n. 2
0
 public static int WerReportAddFile(IntPtr hReportHandle, string pwxPath, WER_FILE_TYPE repFileType, int dwFileFlags)
 {
     return(implementation.WerReportAddFile(hReportHandle, pwxPath, repFileType, dwFileFlags));
 }
Esempio n. 3
0
 public static extern int WerReportAddFile(IntPtr hReportHandle, string pwxPath, WER_FILE_TYPE repFileType, int dwFileFlags);