Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
675 B

  1. /*++
  2. Copyright (c) 1995-1996 Microsoft Corporation
  3. Module Name:
  4. jobhlp.hxx
  5. Abstract:
  6. Helper functions for Job Object
  7. Author:
  8. Ram Viswanathan (ramv) 11-18-95
  9. Revision History:
  10. --*/
  11. HRESULT
  12. Set(LPJOB_INFO_2 lpJobInfo2,
  13. BSTR bstrPrinterName,
  14. LONG lJobId
  15. );
  16. HRESULT
  17. GetJobInfo( DWORD dwLevel,
  18. LPBYTE *ppJobInfo,
  19. BSTR bstrPrinterName,
  20. LONG lJobId);
  21. //conversion routines for status
  22. BOOL
  23. JobStatusWinNTToADs(DWORD dwWinNTStatus,
  24. DWORD *pdwADsStatus);
  25. BOOL
  26. JobStatusADsToWinNT(DWORD dwADsStatus,
  27. DWORD *pdwWinNTStatus);