From eae52fdaa9298e00f14b0b6256400d200db9c373 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Nov 2024 09:36:07 +0100 Subject: Adding upstream version 2.0.3. Signed-off-by: Daniel Baumann --- src/claim/ui.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/claim/ui.h (limited to 'src/claim/ui.h') diff --git a/src/claim/ui.h b/src/claim/ui.h new file mode 100644 index 000000000..583ed1cda --- /dev/null +++ b/src/claim/ui.h @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +#ifndef NETDATA_CLAIM_WINDOW_H_ +# define NETDATA_CLAIM_WINDOW_H_ 1 + +// https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation +// https://sourceforge.net/p/mingw/mailman/mingw-users/thread/4C8FD4EB.4050503@xs4all.nl/ +#define WINDOWS_MAX_PATH 8191 + +int netdata_claim_window_loop(HINSTANCE hInstance, int nCmdShow); + +#endif //NETDATA_CLAIM_WINDOW_H_ -- cgit v1.2.3