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.

135 lines
2.4 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. CDevQ.c
  5. Abstract:
  6. This module contains support for the Character Device Queue catagory
  7. of APIs for the NT server service.
  8. Author:
  9. David Treadwell (davidtr) 31-Dec-1991
  10. Revision History:
  11. --*/
  12. #include "srvsvcp.h"
  13. NET_API_STATUS NET_API_FUNCTION
  14. NetrCharDevQEnum (
  15. IN LPTSTR ServerName,
  16. IN LPTSTR UserName,
  17. IN OUT LPCHARDEVQ_ENUM_STRUCT InfoStruct,
  18. IN DWORD PreferedMaximumLength,
  19. OUT LPDWORD TotalEntries,
  20. IN OUT LPDWORD ResumeHandle
  21. )
  22. /*++
  23. Routine Description:
  24. This routine communicates with the server FSD to implement the
  25. NetCharDevEnum function.
  26. Arguments:
  27. None.
  28. Return Value:
  29. NET_API_STATUS - NO_ERROR or reason for failure.
  30. --*/
  31. {
  32. ServerName;
  33. UserName;
  34. InfoStruct;
  35. PreferedMaximumLength;
  36. TotalEntries;
  37. ResumeHandle;
  38. return ERROR_NOT_SUPPORTED;
  39. } // NetrCharDevQEnum
  40. /****************************************************************************/
  41. NET_API_STATUS
  42. NetrCharDevQGetInfo (
  43. IN LPTSTR ServerName,
  44. IN LPTSTR QueueName,
  45. IN LPTSTR UserName,
  46. IN DWORD Level,
  47. OUT LPCHARDEVQ_INFO CharDevQInfo
  48. )
  49. {
  50. ServerName;
  51. QueueName;
  52. UserName;
  53. Level;
  54. CharDevQInfo;
  55. return ERROR_NOT_SUPPORTED;
  56. }
  57. /****************************************************************************/
  58. NET_API_STATUS
  59. NetrCharDevQSetInfo (
  60. IN LPTSTR ServerName,
  61. IN LPTSTR QueueName,
  62. IN DWORD Level,
  63. IN LPCHARDEVQ_INFO CharDevQInfo,
  64. OUT LPDWORD ParmErr
  65. )
  66. {
  67. ServerName;
  68. QueueName;
  69. Level;
  70. CharDevQInfo;
  71. ParmErr;
  72. return ERROR_NOT_SUPPORTED;
  73. }
  74. /****************************************************************************/
  75. NET_API_STATUS
  76. NetrCharDevQPurge (
  77. IN LPTSTR ServerName,
  78. IN LPTSTR QueueName
  79. )
  80. {
  81. ServerName;
  82. QueueName;
  83. return ERROR_NOT_SUPPORTED;
  84. }
  85. /****************************************************************************/
  86. NET_API_STATUS
  87. NetrCharDevQPurgeSelf (
  88. IN LPTSTR ServerName,
  89. IN LPTSTR QueueName,
  90. IN LPTSTR ComputerName
  91. )
  92. {
  93. ServerName;
  94. QueueName;
  95. ComputerName;
  96. return ERROR_NOT_SUPPORTED;
  97. }