Leaked source code of windows server 2003
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.

89 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. data.h
  5. Abstract:
  6. data.h header file. Interface with GPD/PPD parsers and getting
  7. binary data.
  8. Environment:
  9. Windows NT Unidrv driver
  10. Revision History:
  11. 10/14/96 -amandan-
  12. Created
  13. dd-mm-yy -author-
  14. description
  15. --*/
  16. #ifndef _DATA_H_
  17. #define _DATA_H_
  18. BOOL
  19. BMergeFormToTrayAssignments(
  20. PDEV *
  21. );
  22. PGPDDRIVERINFO
  23. PGetDefaultDriverInfo(
  24. IN HANDLE hPrinter,
  25. IN PRAWBINARYDATA pRawData
  26. );
  27. PGPDDRIVERINFO
  28. PGetUpdateDriverInfo(
  29. IN PDEV * pPDev,
  30. IN HANDLE hPrinter,
  31. IN PINFOHEADER pInfoHeader,
  32. IN POPTSELECT pOptionsArray,
  33. IN PRAWBINARYDATA pRawData,
  34. IN WORD wMaxOptions,
  35. IN PDEVMODE pdmInput,
  36. IN PPRINTERDATA pPrinterData
  37. );
  38. /* VOID
  39. VFixOptionsArray(
  40. IN HANDLE hPrinter,
  41. IN PINFOHEADER pInfoHeader,
  42. OUT POPTSELECT pOptionsArray,
  43. IN PDEVMODE pdmInput,
  44. IN BOOL bMetric,
  45. PRECTL prcFormImageArea
  46. );
  47. */
  48. VOID
  49. VFixOptionsArray(
  50. PDEV *pPDev,
  51. PRECTL prcFormImageArea
  52. ) ;
  53. PWSTR
  54. PGetROnlyDisplayName(
  55. PDEV *pPDev,
  56. PTRREF loOffset,
  57. PWSTR wstrBuf,
  58. WORD wsize
  59. ) ;
  60. VOID
  61. VFixOptionsArrayWithPaperSizeID(
  62. PDEV *pPDev
  63. ) ;
  64. #endif // !_DATA_H_