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); }
public static int WerReportSubmit(IntPtr hReportHandle, WER_CONSENT consent, int dwFlags) { return(implementation.WerReportSubmitEx(hReportHandle, consent, dwFlags)); }
public static extern int WerReportSubmit(IntPtr hReportHandle, WER_CONSENT consent, int dwFlags, ref WER_SUBMIT_RESULT pSubmitResult);