1
0
Fork 0
phizclip-desktop-demo/vendor/finclip/include/finclip_wrapper.h

84 lines
2.2 KiB
C
Raw Normal View History

2021-11-18 22:25:15 +08:00
#ifndef __H_FINCLIP_WRAPPER_H__
#define __H_FINCLIP_WRAPPER_H__
#include "finclip_api.h"
#include <windows.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief SDI
* @detail
*
* @param hinstance
* @param configpacker
* @return 01
*/
DLL_EXPORT int FINSTDMETHODCALLTYPE Initialize(HINSTANCE hinstance, IFinConfigPacker* configpacker);
/**
* @brief
* @detail
*
* @param
* @param
* @return
* @retval
* @note
* @attention
* @warning
* @exception
*/
DLL_EXPORT IPackerFactory* FINSTDMETHODCALLTYPE GetPackerFactory();
/**
* @brief
* @detail
*
* @param
* @param
* @return
* @retval
* @note
* @attention
* @warning
* @exception
*/
DLL_EXPORT HRESULT FINSTDMETHODCALLTYPE CloseAllApplet();
/**
* @brief
* @detail
*
* @param
* @param
* @return
* @retval
* @note
* @attention
* @warning
* @exception
*/
DLL_EXPORT HRESULT FINSTDMETHODCALLTYPE CleanCache();
///小程序Api
/**打开小程序
*
* @param appstore
* @param appId appId
* @param param
* @param callback
* @return 01
*/
DLL_EXPORT HRESULT FINSTDMETHODCALLTYPE StartApplet(HWND hWnd, int apptype, const char* appid, const char* page_path,
IFinPacker* params, FinClipSDKCallback callback);
DLL_EXPORT HWND FINSTDMETHODCALLTYPE SetAppletPos(const char* appid, int appstore, int left, int top, int width,
int height);
DLL_EXPORT HRESULT FINSTDMETHODCALLTYPE FinClipShutdown();
#ifdef __cplusplus
}
#endif
#endif