home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / WIN_NT / LMAPI.ZIP / H / LMCONFIG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-07  |  1.5 KB  |  80 lines

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