Source code of Windows XP (NT5)
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.

90 lines
1.6 KiB

  1. /*++ BUILD Version: 0003 // Increment this if a change has global effects
  2. Copyright (c) 1991-1995 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. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. #define REVISED_CONFIG_APIS
  21. //
  22. // Function Prototypes - Config
  23. //
  24. NET_API_STATUS NET_API_FUNCTION
  25. NetConfigGet (
  26. IN LPTSTR server OPTIONAL,
  27. IN LPTSTR component,
  28. IN LPTSTR parameter,
  29. #ifdef REVISED_CONFIG_APIS
  30. OUT LPBYTE *bufptr
  31. #else
  32. OUT LPBYTE *bufptr,
  33. OUT LPDWORD totalavailable
  34. #endif
  35. );
  36. NET_API_STATUS NET_API_FUNCTION
  37. NetConfigGetAll (
  38. IN LPTSTR server OPTIONAL,
  39. IN LPTSTR component,
  40. #ifdef REVISED_CONFIG_APIS
  41. OUT LPBYTE *bufptr
  42. #else
  43. OUT LPBYTE *bufptr,
  44. OUT LPDWORD totalavailable
  45. #endif
  46. );
  47. NET_API_STATUS NET_API_FUNCTION
  48. NetConfigSet (
  49. IN LPTSTR server OPTIONAL,
  50. IN LPTSTR reserved1 OPTIONAL,
  51. IN LPTSTR component,
  52. IN DWORD level,
  53. IN DWORD reserved2,
  54. IN LPBYTE buf,
  55. IN DWORD reserved3
  56. );
  57. //
  58. // Data Structures - Config
  59. //
  60. typedef struct _CONFIG_INFO_0 {
  61. LPTSTR cfgi0_key;
  62. LPTSTR cfgi0_data;
  63. } CONFIG_INFO_0, *PCONFIG_INFO_0, *LPCONFIG_INFO_0;
  64. #ifdef __cplusplus
  65. }
  66. #endif
  67. #endif // _LMCONFIG_