Blender V5.3
BLI_winstuff.hh File Reference

Compatibility-like things for windows. More...

#include "BLI_sys_types.hh"
#include <windows.h>

Go to the source code of this file.

Classes

struct  dirent

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define _USE_MATH_DEFINES
#define S_ISREG(x)
#define S_ISDIR(x)

Typedefs

typedef unsigned int mode_t
typedef struct __dirstream DIR

Enumerations

enum class  blender::QoSMode { blender::DEFAULT = 0 , blender::HIGH = 1 , blender::ECO = 2 }
enum class  blender::QoSPrecedence { blender::JOB = 0 , blender::CMDLINE_ARG = 1 }

Functions

DIR * opendir (const char *path)
struct dirent * readdir (DIR *dp)
int closedir (DIR *dp)
const char * dirname (char *path)
bool blender::BLI_windows_is_store_install (void)
bool blender::BLI_windows_register_blend_extension (bool all_users)
bool blender::BLI_windows_unregister_blend_extension (bool all_users)
bool blender::BLI_windows_update_pinned_launcher (const char *launcher_path)
bool blender::BLI_windows_get_directx_driver_version (const wchar_t *deviceSubString, long long *r_driverVersion)
bool blender::BLI_windows_get_directx_intel_driver_info (uint64_t device_luid, int *driver_version_minor, int *driver_version_major, uint32_t *device_id)
bool blender::BLI_windows_is_build_version_greater_or_equal (DWORD majorVersion, DWORD minorVersion, DWORD buildNumber)
void blender::BLI_windows_get_default_root_dir (char root_dir[4])
int blender::BLI_windows_get_executable_dir (char r_dirpath[])
bool blender::BLI_windows_external_operation_supported (const char *filepath, const char *operation)
bool blender::BLI_windows_external_operation_execute (const char *filepath, const char *operation)
bool blender::BLI_windows_execute_self (const char *parameters, const bool wait, const bool elevated, const bool silent)
void blender::BLI_windows_process_set_qos (QoSMode qos_mode, QoSPrecedence qos_precedence)

Detailed Description

Compatibility-like things for windows.

Definition in file BLI_winstuff.hh.

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 34 of file BLI_winstuff.hh.

◆ S_ISDIR

◆ S_ISREG

#define S_ISREG ( x)

Typedef Documentation

◆ DIR

typedef struct __dirstream DIR

Intentionally opaque to users.

Definition at line 63 of file BLI_winstuff.hh.

◆ mode_t

typedef unsigned int mode_t

Definition at line 52 of file BLI_winstuff.hh.

Function Documentation

◆ closedir()

◆ dirname()

◆ opendir()

◆ readdir()