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); }
public static int WerReportAddFile(IntPtr hReportHandle, string pwxPath, WER_FILE_TYPE repFileType, int dwFileFlags) { return(implementation.WerReportAddFile(hReportHandle, pwxPath, repFileType, dwFileFlags)); }
public static extern int WerReportAddFile(IntPtr hReportHandle, string pwxPath, WER_FILE_TYPE repFileType, int dwFileFlags);