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.

107 lines
2.6 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. nexus.h
  5. Abstract:
  6. Contains some thunking for Net APIs
  7. Author:
  8. Danilo Almeida (t-danal) 06-27-96
  9. Revision History:
  10. --*/
  11. #include "nexus.h"
  12. NET_API_STATUS NET_API_FUNCTION
  13. NetGetDCName (
  14. LPCWSTR servername,
  15. LPCWSTR domainname,
  16. LPBYTE *bufptr
  17. )
  18. {
  19. return NetGetDCNameW(servername,
  20. domainname,
  21. bufptr);
  22. }
  23. NET_API_STATUS NET_API_FUNCTION
  24. NetServerEnum(
  25. LPCWSTR ServerName,
  26. DWORD Level,
  27. LPBYTE * BufPtr,
  28. DWORD PrefMaxLen,
  29. LPDWORD EntriesRead,
  30. LPDWORD TotalEntries,
  31. DWORD ServerType,
  32. LPCWSTR Domain,
  33. LPDWORD ResumeHandle
  34. )
  35. {
  36. return NetServerEnumW(ServerName,
  37. Level,
  38. BufPtr,
  39. PrefMaxLen,
  40. EntriesRead,
  41. TotalEntries,
  42. ServerType,
  43. Domain,
  44. ResumeHandle);
  45. }
  46. NET_API_STATUS NET_API_FUNCTION
  47. NetUserChangePassword(
  48. LPCWSTR domainname, // pointer to server or domain name string
  49. LPCWSTR username, // pointer to user name string
  50. LPCWSTR oldpassword, // pointer to old password string
  51. LPCWSTR newpassword // pointer to new password string
  52. )
  53. {
  54. return ERROR_CALL_NOT_IMPLEMENTED;
  55. }
  56. /*
  57. HANDLE WINAPI
  58. AddPrinterW(
  59. LPWSTR pName, // pointer to server name
  60. DWORD Level, // printer info. structure level
  61. LPBYTE pPrinter // pointer to structure
  62. )
  63. {
  64. SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
  65. return NULL;
  66. }
  67. BOOL WINAPI
  68. SetJobW(
  69. HANDLE hPrinter, // handle of printer object
  70. DWORD JobId, // job-identification value
  71. DWORD Level, // structure level
  72. LPBYTE Job, // address of job info structures
  73. DWORD Command // job-command value
  74. )
  75. {
  76. SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
  77. return FALSE;
  78. }
  79. BOOL WINAPI
  80. EnumPrintersW(
  81. DWORD Flags, // types of printer objects to enumerate
  82. LPTSTR Name, // name of printer object
  83. DWORD Level, // specifies type of printer info structure
  84. LPBYTE pPrinterEnum,// points to buffer to receive printer info structures
  85. DWORD cbBuf, // size, in bytes, of array
  86. LPDWORD pcbNeeded, // points to num of bytes copied or required
  87. LPDWORD pcReturned // points to num of printer info. structures copied
  88. )
  89. {
  90. SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
  91. return FALSE;
  92. }
  93. */