dl
dl_windows.h 文件参考

win32相关接口 更多...

#include <string>
#include <string_view>
#include "system/dl_platform.h"
#include "dl_type.h"

浏览该文件的源代码.

class  dl::Win32::SystemMutex
 多开限制,返回真表示可以启动 更多...
 

命名空间

namespace  dl
 
namespace  dl::Win32
 Windows平台接口
 

枚举

enum  dl::Win32::WindowsSearchType {
  dl::Win32::EWST_PROGRAM = 1 << 0 , dl::Win32::EWST_PROGRAM_X86 = 1 << 1 , dl::Win32::EWST_APPDATA_LOCAL = 1 << 2 , dl::Win32::EWST_PROGRAM_DATA = 1 << 3 ,
  dl::Win32::EWST_ALL = 0xffffffff
}
 

函数

bool dl::Win32::OpenUrl (std::string_view url, std::string_view cmd={}, std::string_view work_path={})
 打开网页、文件夹、文件、程序
 
std::string dl::Win32::SearchPathX (std::string_view path_child, int type)
 常见路径搜索
 
Size dl::Win32::GetWorkArea ()
 返回工作区大小(请优先使用glfw)
 
Size dl::Win32::GetDesktopSize ()
 返回桌面大小(请优先使用glfw)
 

详细描述

win32相关接口

版本
1.0
作者
lveyou
日期
24-04-12
注解
必须使用 DL_PLATFORM == DL_PLATFORM_WIN32 来判断,避免未包含头文件引起误判

在文件 dl_windows.h 中定义.