private static StartJob ( string printerName, string jobName, |
||
printerName | string | |
jobName | string | |
completionEvent | ||
job | IXpsPrintJob | |
jobStream | IXpsPrintJobStream | |
Résultat | void |
private static void StartJob(string printerName, string jobName, IntPtr completionEvent, out IXpsPrintJob job, out IXpsPrintJobStream jobStream)
{
int result = StartXpsPrintJob(printerName, jobName, null, IntPtr.Zero, completionEvent,
null, 0, out job, out jobStream, IntPtr.Zero);
if (result != 0)
throw new Win32Exception(result);
}