Esempio n. 1
0
        public int WerReportSubmitEx(IntPtr hReportHandle, WER_CONSENT consent, int dwFlags)
        {
            WER_SUBMIT_RESULT pSubmitResult = (WER_SUBMIT_RESULT)0;
            int num = NativeMethods.WerReportSubmit(hReportHandle, consent, dwFlags, ref pSubmitResult);

            if (num != 0)
            {
                throw Marshal.GetExceptionForHR(num);
            }
            return((int)pSubmitResult);
        }
Esempio n. 2
0
 public static int WerReportSubmit(IntPtr hReportHandle, WER_CONSENT consent, int dwFlags)
 {
     return(implementation.WerReportSubmitEx(hReportHandle, consent, dwFlags));
 }
Esempio n. 3
0
 public static extern int WerReportSubmit(IntPtr hReportHandle, WER_CONSENT consent, int dwFlags, ref WER_SUBMIT_RESULT pSubmitResult);