拖动文件到窗口 - SendDropFiles
函数简介
拖动文件到指定窗口
接口名称
SendDropFiles
DLL调用
int SendDropFiles(long instance, long hwnd, string file_path)
参数定义:
ola
(长整型数): OLAPlug对象的指针,由DLL版本 CreateCOLAPlugInterFace 接口生成hwnd
(长整型数): 窗口句柄file_path
(字符串): 文件路径
返回值
整型数:
0 : 失败
1 : 成功