获取进程启动命令行 - GetCommandLine
函数简介
获取进程启动命令行。
接口名称
GetCommandLine
DLL调用
long GetCommandLine(long instance, long hwnd)
参数说明
参数名 | 类型 | 说明 |
---|---|---|
instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
hwnd | 长整数型 | 窗口句柄 |
示例
// 示例代码待补充
返回值
返回二进制字符串的指针
注意事项
- 返回的字符串指针需调用FreeStringPtr释放内存