终止进程 - TerminateProcess
函数简介
终止进程。
接口名称
TerminateProcess
DLL调用
int TerminateProcess(long instance, long pid)
参数说明
参数名 | 类型 | 说明 |
---|---|---|
instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
pid | 长整数型 | 进程ID |
示例
// 示例代码待补充
返回值
成功返回1,失败返回0
终止进程。
TerminateProcess
int TerminateProcess(long instance, long pid)
参数名 | 类型 | 说明 |
---|---|---|
instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
pid | 长整数型 | 进程ID |
// 示例代码待补充
成功返回1,失败返回0