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.

132 lines
3.3 KiB

  1. /*++
  2. Copyright (c) 1989-1993 Microsoft Corporation
  3. Module Name:
  4. print.c
  5. Abstract:
  6. Provides entry points for the Print Functions from Win3.1
  7. Network provider design.
  8. All functions are obsolete. They either return WN_NOT_SUPPORTED
  9. or FALSE.
  10. Author:
  11. Chuck Y Chan (ChuckC) 25-Mar-1993
  12. Revision History:
  13. --*/
  14. #include <windows.h>
  15. #include <locals.h>
  16. void API WNetPrintMgrSelNotify (BYTE p1,
  17. LPQS2 p2,
  18. LPQS2 p3,
  19. LPJOBSTRUCT2 p4,
  20. LPJOBSTRUCT2 p5,
  21. LPWORD p6,
  22. LPSTR p7,
  23. WORD p8)
  24. {
  25. UNREFERENCED(p1) ;
  26. UNREFERENCED(p2) ;
  27. UNREFERENCED(p3) ;
  28. UNREFERENCED(p4) ;
  29. UNREFERENCED(p5) ;
  30. UNREFERENCED(p6) ;
  31. UNREFERENCED(p7) ;
  32. UNREFERENCED(p8) ;
  33. vLastCall = LAST_CALL_IS_LOCAL ;
  34. SetLastError(WN_NOT_SUPPORTED) ;
  35. return ;
  36. }
  37. WNETERR API WNetPrintMgrPrinterEnum (LPSTR lpszQueueName,
  38. LPSTR lpBuffer,
  39. LPWORD pcbBuffer,
  40. LPWORD cAvail,
  41. WORD usLevel)
  42. {
  43. UNREFERENCED(lpszQueueName) ;
  44. UNREFERENCED(lpBuffer) ;
  45. UNREFERENCED(pcbBuffer) ;
  46. UNREFERENCED(cAvail) ;
  47. UNREFERENCED(usLevel) ;
  48. vLastCall = LAST_CALL_IS_LOCAL ;
  49. return (SetLastError(WN_NOT_SUPPORTED)) ;
  50. }
  51. WNETERR API WNetPrintMgrChangeMenus(HWND p1,
  52. HANDLE FAR *p2,
  53. BOOL FAR *p3)
  54. {
  55. UNREFERENCED(p1) ;
  56. UNREFERENCED(p2) ;
  57. UNREFERENCED(p3) ;
  58. vLastCall = LAST_CALL_IS_LOCAL ;
  59. return (SetLastError(WN_NOT_SUPPORTED)) ;
  60. }
  61. WNETERR API WNetPrintMgrCommand (HWND p1,
  62. WORD p2)
  63. {
  64. UNREFERENCED(p1) ;
  65. UNREFERENCED(p2) ;
  66. vLastCall = LAST_CALL_IS_LOCAL ;
  67. return (SetLastError(WN_NOT_SUPPORTED)) ;
  68. }
  69. void API WNetPrintMgrExiting (void)
  70. {
  71. vLastCall = LAST_CALL_IS_LOCAL ;
  72. SetLastError(WN_NOT_SUPPORTED) ;
  73. return ;
  74. }
  75. BOOL API WNetPrintMgrExtHelp (DWORD p1)
  76. {
  77. UNREFERENCED(p1) ;
  78. vLastCall = LAST_CALL_IS_LOCAL ;
  79. SetLastError(WN_NOT_SUPPORTED) ;
  80. return FALSE ;
  81. }
  82. WORD API WNetPrintMgrMoveJob (HWND p1,
  83. LPSTR p2,
  84. WORD p3,
  85. int p4)
  86. {
  87. UNREFERENCED(p1) ;
  88. UNREFERENCED(p2) ;
  89. UNREFERENCED(p3) ;
  90. UNREFERENCED(p4) ;
  91. vLastCall = LAST_CALL_IS_LOCAL ;
  92. SetLastError(WN_NOT_SUPPORTED) ;
  93. return 0 ;
  94. }
  95. void API WNetPrintMgrStatusChange (LPSTR lpszQueueName,
  96. LPSTR lpszPortName,
  97. WORD wQueueStatus,
  98. WORD cJobsLeft,
  99. HANDLE hJCB,
  100. BOOL fDeleted)
  101. {
  102. UNREFERENCED(lpszQueueName) ;
  103. UNREFERENCED(lpszPortName) ;
  104. UNREFERENCED(wQueueStatus) ;
  105. UNREFERENCED(cJobsLeft) ;
  106. UNREFERENCED(hJCB) ;
  107. UNREFERENCED(fDeleted) ;
  108. vLastCall = LAST_CALL_IS_LOCAL ;
  109. SetLastError(WN_NOT_SUPPORTED) ;
  110. return ;
  111. }