设置是否把所有内存接口函数中的窗口句柄当作进程ID - SetMemoryHwndAsProcessId
函数简介
设置是否把所有内存接口函数中的窗口句柄当作进程ID。
接口名称
SetMemoryHwndAsProcessId
DLL调用
int SetMemoryHwndAsProcessId(long instance, int enable)
参数说明
参数名 | 类型 | 说明 |
---|---|---|
instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
enable | 整数型 | 是否启用(0:不启用,1:启用) |
示例
// 示例代码待补充
返回值
成功返回1,失败返回0