mirror of
https://github.com/modernw/AppInstallerForWin8.git
synced 2026-06-16 20:10:00 +10:00
添加项目文件。
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#ifdef TOASTNOTICE_EXPORTS
|
||||
#define TOASTNOTICE_API __declspec(dllexport)
|
||||
#else
|
||||
#define TOASTNOTICE_API __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
#include <windef.h>
|
||||
|
||||
typedef void (*_NOTICE_PRESS_CALLBACK) (void);
|
||||
typedef _NOTICE_PRESS_CALLBACK NOTICE_PRESS_CALLBACK;
|
||||
// ʹÓà COM ´´½¨µÄ IStream *
|
||||
typedef HANDLE HISTREAM;
|
||||
|
||||
extern "C" TOASTNOTICE_API bool CreateToastNotification (LPCWSTR identityName, LPCWSTR title, LPCWSTR text, NOTICE_PRESS_CALLBACK callback, HISTREAM imgFile);
|
||||
extern "C" TOASTNOTICE_API HRESULT CreateShortcutWithAppIdA (LPCSTR pszShortcutPath, LPCSTR pszTargetPath, LPCSTR pszAppId);
|
||||
extern "C" TOASTNOTICE_API HRESULT CreateShortcutWithAppIdW (LPCWSTR pszShortcutPath, LPCWSTR pszTargetPath, LPCWSTR pszAppId);
|
||||
Reference in New Issue
Block a user