|
Blender V4.3
|
Compatibility-like things for windows. More...
Go to the source code of this file.
Classes | |
| struct | dirent |
Macros | |
| #define | WIN32_LEAN_AND_MEAN |
| #define | NOMINMAX |
| #define | _USE_MATH_DEFINES |
| #define | S_ISREG(x) (((x) & _S_IFREG) == _S_IFREG) |
| #define | S_ISDIR(x) (((x) & _S_IFDIR) == _S_IFDIR) |
Typedefs | |
| typedef unsigned int | mode_t |
| typedef struct __dirstream | DIR |
Functions | |
| DIR * | opendir (const char *path) |
| struct dirent * | readdir (DIR *dp) |
| int | closedir (DIR *dp) |
| const char * | dirname (char *path) |
| bool | BLI_windows_is_store_install (void) |
| bool | BLI_windows_register_blend_extension (bool all_users) |
| bool | BLI_windows_unregister_blend_extension (bool all_users) |
| bool | BLI_windows_update_pinned_launcher (const char *launcher_path) |
| bool | BLI_windows_get_directx_driver_version (const wchar_t *deviceSubString, long long *r_driverVersion) |
| void | BLI_windows_get_default_root_dir (char root_dir[4]) |
| int | BLI_windows_get_executable_dir (char r_dirpath[]) |
| bool | BLI_windows_external_operation_supported (const char *filepath, const char *operation) |
| bool | BLI_windows_external_operation_execute (const char *filepath, const char *operation) |
| bool | BLI_windows_execute_self (const char *parameters, const bool wait, const bool elevated, const bool silent) |
Compatibility-like things for windows.
Definition in file BLI_winstuff.h.
| #define _USE_MATH_DEFINES |
Definition at line 46 of file BLI_winstuff.h.
| #define NOMINMAX |
Definition at line 21 of file BLI_winstuff.h.
| #define S_ISDIR | ( | x | ) | (((x) & _S_IFDIR) == _S_IFDIR) |
Definition at line 53 of file BLI_winstuff.h.
Referenced by autocomplete_directory(), BKE_appdir_app_templates(), blf_load_datafiles_dir(), BLI_dir_create_recursive(), BLI_file_read_data_as_mem_from_handle(), BLI_is_dir(), BLI_is_file(), blender::gpu::VKShaderCompiler::cache_dir_clear_old(), dir_create_recursive(), direntry_cmp(), filelist_readjob_list_dir(), blender::asset_system::AssetCatalogService::load_from_disk(), missing_files_find__recursive(), path_is_directory(), python_script_exec(), and recursive_operation_impl().
| #define S_ISREG | ( | x | ) | (((x) & _S_IFREG) == _S_IFREG) |
Definition at line 50 of file BLI_winstuff.h.
Referenced by copy_single_file(), direntry_cmp(), blender::asset_system::AssetCatalogService::load_from_disk(), and missing_files_find__recursive().
| #define WIN32_LEAN_AND_MEAN |
Definition at line 18 of file BLI_winstuff.h.
| typedef struct __dirstream DIR |
Intentionally opaque to users.
Definition at line 75 of file BLI_winstuff.h.
Definition at line 64 of file BLI_winstuff.h.
| bool BLI_windows_execute_self | ( | const char * | parameters, |
| const bool | wait, | ||
| const bool | elevated, | ||
| const bool | silent ) |
Launch our own executable.
| parameters | application parameters separated by spaces. |
| wait | whether to wait for the instance to exit. |
| elevated | run as administrator. Will do UAC prompt. |
| silent | Not show the launched program. |
Referenced by WM_platform_associate_set().
| bool BLI_windows_external_operation_execute | ( | const char * | filepath, |
| const char * | operation ) |
Referenced by BLI_file_external_operation_execute().
| bool BLI_windows_external_operation_supported | ( | const char * | filepath, |
| const char * | operation ) |
Referenced by BLI_file_external_operation_execute(), and BLI_file_external_operation_supported().
| void BLI_windows_get_default_root_dir | ( | char | root_dir[4] | ) |
Set the root_dir to the default root directory on MS-Windows, The string is guaranteed to be set with a length of 3 & null terminated, using a fall-back in case the root directory can't be found.
Referenced by BKE_appdir_folder_root(), BLI_path_abs(), BLI_path_rel(), file_expand_directory(), and parent_dir_until_exists_or_default_root().
| bool BLI_windows_get_directx_driver_version | ( | const wchar_t * | deviceSubString, |
| long long * | r_driverVersion ) |
Referenced by blender::gpu::detect_workarounds().
| int BLI_windows_get_executable_dir | ( | char | r_dirpath[] | ) |
| bool BLI_windows_is_store_install | ( | void | ) |
Referenced by associate_blend_exec(), associate_blend_poll(), and unassociate_blend_exec().
| bool BLI_windows_register_blend_extension | ( | bool | all_users | ) |
Referenced by arg_handle_extension_registration(), and WM_platform_associate_set().
| bool BLI_windows_unregister_blend_extension | ( | bool | all_users | ) |
Referenced by arg_handle_extension_registration(), and WM_platform_associate_set().
| bool BLI_windows_update_pinned_launcher | ( | const char * | launcher_path | ) |
| const char * dirname | ( | char * | path | ) |
Referenced by autocomplete_directory(), BKE_image_get_tile_info(), BKE_image_tile_filepath_exists(), blender_absolute_path(), bli_builddir(), BLI_dir_create_recursive(), BLI_dir_free_space(), BLI_filelist_dir_contents(), dir_create_recursive(), file_directory_new_exec(), fsmenu_read_system(), get_index_dir(), preferences_asset_library_add_exec(), ptcache_path(), render_result_exr_file_cache_path(), and seq_proxy_index_dir_set().
| DIR * opendir | ( | const char * | path | ) |