#pragma once #include #include struct Find_Result { int windows_sdk_version; // Zero if no Windows SDK found. wchar_t *windows_sdk_root = NULL; wchar_t *windows_sdk_um_library_path = NULL; wchar_t *windows_sdk_ucrt_library_path = NULL; wchar_t *windows_include_root = NULL; wchar_t *windows_include_um_path = NULL; wchar_t *windows_include_ucrt_path = NULL; wchar_t *windows_include_shared_path = NULL; wchar_t *vs_exe_path = NULL; wchar_t *vs_library_path = NULL; wchar_t *vs_include_path = NULL; }; enum SdkArch { ARCH_X86, ARCH_X64 }; Find_Result find_visual_studio_and_windows_sdk(SdkArch sdkArch); void free_resources(Find_Result *result);