添加项目文件。

This commit is contained in:
Bruce
2025-02-19 21:09:40 +08:00
parent 11c6392497
commit 3a70be9491
135 changed files with 12698 additions and 0 deletions

13
AppLauncher/AppLauncher.h Normal file
View File

@@ -0,0 +1,13 @@
// 下列 ifdef 块是创建使从 DLL 导出更简单的
// 宏的标准方法。此 DLL 中的所有文件都是用命令行上定义的 APPLAUNCHER_EXPORTS
// 符号编译的。在使用此 DLL 的
// 任何其他项目上不应定义此符号。这样,源文件中包含此文件的任何其他项目都会将
// APPLAUNCHER_API 函数视为是从 DLL 导入的,而此 DLL 则将用此宏定义的
// 符号视为是被导出的。
#ifdef APPLAUNCHER_EXPORTS
#define APPLAUNCHER_API __declspec(dllexport)
#else
#define APPLAUNCHER_API __declspec(dllimport)
#endif
EXTERN_C APPLAUNCHER_API HRESULT LaunchApp (LPCWSTR strAppUserModelId, PDWORD pdwProcessId);