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.

104 lines
1.9 KiB

  1. /*++ BUILD Version: 0003 // Increment this if a change has global effects
  2. Copyright (c) 1991-1999 Microsoft Corporation
  3. Module Name:
  4. lmconfig.h
  5. Abstract:
  6. This module defines the API function prototypes and data structures
  7. for the following groups of NT API functions:
  8. NetConfig
  9. Environment:
  10. User Mode - Win32
  11. Notes:
  12. You must include NETCONS.H before this file, since this file depends
  13. on values defined in NETCONS.H.
  14. --*/
  15. #ifndef _LMCONFIG_
  16. #define _LMCONFIG_
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. #define REVISED_CONFIG_APIS
  24. //
  25. // Function Prototypes - Config
  26. //
  27. NET_API_STATUS NET_API_FUNCTION
  28. NetConfigGet (
  29. IN LPCWSTR server OPTIONAL,
  30. IN LPCWSTR component,
  31. IN LPCWSTR parameter,
  32. #ifdef REVISED_CONFIG_APIS
  33. OUT LPBYTE *bufptr
  34. #else
  35. OUT LPBYTE *bufptr,
  36. OUT LPDWORD totalavailable
  37. #endif
  38. );
  39. NET_API_STATUS NET_API_FUNCTION
  40. NetConfigGetAll (
  41. IN LPCWSTR server OPTIONAL,
  42. IN LPCWSTR component,
  43. #ifdef REVISED_CONFIG_APIS
  44. OUT LPBYTE *bufptr
  45. #else
  46. OUT LPBYTE *bufptr,
  47. OUT LPDWORD totalavailable
  48. #endif
  49. );
  50. NET_API_STATUS NET_API_FUNCTION
  51. NetConfigSet (
  52. IN LPCWSTR server OPTIONAL,
  53. IN LPCWSTR reserved1 OPTIONAL,
  54. IN LPCWSTR component,
  55. IN DWORD level,
  56. IN DWORD reserved2,
  57. IN LPBYTE buf,
  58. IN DWORD reserved3
  59. );
  60. NET_API_STATUS NET_API_FUNCTION
  61. NetRegisterDomainNameChangeNotification(
  62. PHANDLE NotificationEventHandle
  63. );
  64. NET_API_STATUS NET_API_FUNCTION
  65. NetUnregisterDomainNameChangeNotification(
  66. HANDLE NotificationEventHandle
  67. );
  68. //
  69. // Data Structures - Config
  70. //
  71. typedef struct _CONFIG_INFO_0 {
  72. LPWSTR cfgi0_key;
  73. LPWSTR cfgi0_data;
  74. } CONFIG_INFO_0, *PCONFIG_INFO_0, *LPCONFIG_INFO_0;
  75. #ifdef __cplusplus
  76. }
  77. #endif
  78. #endif // _LMCONFIG_