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

102 lines
2.5 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
*/
2021-11-23 18:53:04 +08:00
DLL_EXPORT int FINSTDMETHODCALLTYPE CloseAllApplet();
2021-11-18 22:25:15 +08:00
/**
* @brief
* @detail
*
* @param
* @param
* @return
* @retval
* @note
* @attention
* @warning
* @exception
*/
2021-11-23 18:53:04 +08:00
DLL_EXPORT int FINSTDMETHODCALLTYPE CleanCache();
2021-11-18 22:25:15 +08:00
///小程序Api
/**打开小程序
*
* @param appstore
* @param appId appId
* @param param
* @param callback
* @return 01
*/
2021-11-23 18:53:04 +08:00
DLL_EXPORT int FINSTDMETHODCALLTYPE StartApplet(HWND hWnd, int appstore, const char* appid, const char* page_path,
IFinPacker* params, FinClipSDKCallback callback);
/**
* @brief Set the Applet Pos object
*
* @param appid
* @param appstore
* @param left
* @param top
* @param width
* @param height
* @return DLL_EXPORT
*/
DLL_EXPORT void FINSTDMETHODCALLTYPE SetAppletPos(const char* appid, int appstore, int left, int top, int width,
int height);
/**
* @brief
*
* @return DLL_EXPORT
*/
DLL_EXPORT int FINSTDMETHODCALLTYPE FinClipShutdown();
2021-11-18 22:25:15 +08:00
2021-11-23 18:53:04 +08:00
DLL_EXPORT int FINSTDMETHODCALLTYPE InvokeWebApi(const char* app_id, const char* api_name, const char* params);
2021-11-18 22:25:15 +08:00
#ifdef __cplusplus
}
#endif
#endif