IShellLink::SetArguments

【勇芳软件工作室】汉化HomePreviousNext

[Now Supported on Windows NT]

设置shell链接对象的命令行参数。

HRESULT STDMETHODCALLTYPE SetArguments(

ISHELLLINK FAR*【pShlLnk】, 
LPCSTR 【Pointer to a buffer that receives the command-line arguments.】 
); 

参数

【pShlLnk】

指向IShellLink界面。在C ++中,此参数是隐式的。

【Pointer to a buffer that receives the command-line arguments.】

指向包含新命令行参数的缓冲区。

返回值

如果成功返回NOERROR,否则返回OLE定义的错误值。

当创建指向特殊标志作为参数的应用程序的链接(如编译器)时,此方法很有用。

也可以看看

IShellLink