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.

118 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1991-1992 Microsoft Corporation
  3. Module Name:
  4. CDev.c
  5. Abstract:
  6. This module contains support for the Character Device catagory of
  7. APIs for the NT server service.
  8. Author:
  9. David Treadwell (davidtr) 20-Dec-1991
  10. Revision History:
  11. --*/
  12. #include "srvsvcp.h"
  13. NET_API_STATUS NET_API_FUNCTION
  14. NetrCharDevControl (
  15. IN LPTSTR ServerName,
  16. IN LPTSTR DeviceName,
  17. IN DWORD OpCode
  18. )
  19. /*++
  20. Routine Description:
  21. This routine communicates with the server FSP to implement the
  22. NetCharDevControl function.
  23. Arguments:
  24. None.
  25. Return Value:
  26. NET_API_STATUS - NO_ERROR or reason for failure.
  27. --*/
  28. {
  29. ServerName, DeviceName, OpCode;
  30. return ERROR_NOT_SUPPORTED;
  31. } // NetrCharDevControl
  32. NET_API_STATUS NET_API_FUNCTION
  33. NetrCharDevEnum (
  34. SRVSVC_HANDLE ServerName,
  35. LPCHARDEV_ENUM_STRUCT InfoStruct,
  36. DWORD PreferedMaximumLength,
  37. LPDWORD TotalEntries,
  38. LPDWORD ResumeHandle
  39. )
  40. /*++
  41. Routine Description:
  42. This routine communicates with the server FSD to implement the
  43. NetCharDevEnum function.
  44. Arguments:
  45. None.
  46. Return Value:
  47. NET_API_STATUS - NO_ERROR or reason for failure.
  48. --*/
  49. {
  50. ServerName, InfoStruct, PreferedMaximumLength, TotalEntries, ResumeHandle;
  51. return ERROR_NOT_SUPPORTED;
  52. } // NetrCharDevEnum
  53. NET_API_STATUS
  54. NetrCharDevGetInfo (
  55. IN LPTSTR ServerName,
  56. IN LPTSTR DeviceName,
  57. IN DWORD Level,
  58. OUT LPCHARDEV_INFO CharDevInfo
  59. )
  60. /*++
  61. Routine Description:
  62. This routine communicates with the server FSD to implement the
  63. NetCharDevGetInfo function.
  64. Arguments:
  65. None.
  66. Return Value:
  67. NET_API_STATUS - NO_ERROR or reason for failure.
  68. --*/
  69. {
  70. ServerName, DeviceName, Level, CharDevInfo;
  71. return ERROR_NOT_SUPPORTED;
  72. } // NetrCharDevGetInfo