| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | #ifndef NETDATA_OS_WINDOWS_WRAPPERS_H |
| 4 | #define NETDATA_OS_WINDOWS_WRAPPERS_H |
| 5 | |
| 6 | #include "../libnetdata.h" |
| 7 | |
| 8 | #if defined(OS_WINDOWS) |
| 9 | long netdata_registry_get_dword_from_open_key(unsigned int *out, void *lKey, char *name); |
| 10 | bool netdata_registry_get_dword(unsigned int *out, void *hKey, char *subKey, char *name); |
| 11 | |
| 12 | long netdata_registry_get_string_from_open_key(char *out, unsigned int length, void *lKey, char *name); |
| 13 | bool netdata_registry_get_string(char *out, unsigned int length, void *hKey, char *subKey, char *name); |
| 14 | |
| 15 | bool EnableWindowsPrivilege(const char *privilegeName); |
| 16 | |
| 17 | #endif // OS_WINDOWS |
| 18 | #endif //NETDATA_OS_WINDOWS_WRAPPERS_H |