lmconfig.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _LMCONFIG_
  7. #define _LMCONFIG_
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #define REVISED_CONFIG_APIS
  12. NET_API_STATUS WINAPI NetConfigGet(LPCWSTR server,LPCWSTR component,LPCWSTR parameter,LPBYTE *bufptr);
  13. NET_API_STATUS WINAPI NetConfigGetAll(LPCWSTR server,LPCWSTR component,LPBYTE *bufptr);
  14. NET_API_STATUS WINAPI NetConfigSet(LPCWSTR server,LPCWSTR reserved1,LPCWSTR component,DWORD level,DWORD reserved2,LPBYTE buf,DWORD reserved3);
  15. NET_API_STATUS WINAPI NetRegisterDomainNameChangeNotification(PHANDLE NotificationEventHandle);
  16. NET_API_STATUS WINAPI NetUnregisterDomainNameChangeNotification(HANDLE NotificationEventHandle);
  17. typedef struct _CONFIG_INFO_0 {
  18. LPWSTR cfgi0_key;
  19. LPWSTR cfgi0_data;
  20. } CONFIG_INFO_0,*PCONFIG_INFO_0,*LPCONFIG_INFO_0;
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif