[Now Supported on Windows NT]
检索与shell链接对象关联的命令行参数。
HRESULT STDMETHODCALLTYPE GetArguments(
ISHELLLINK FAR*【pShlLnk】, | |
LPSTR 【Pointer to a buffer that receives the command-line arguments.】, | |
INT【cchMaxPath】 | |
); |
参数
【pShlLnk】
指向IShellLink界面。在C ++中,此参数是隐式的。
【Pointer to a buffer that receives the command-line arguments.】
指向接收命令行参数的缓冲区。
【cchMaxPath】
要复制到【Pointer to a buffer that receives the command-line arguments.】指向的缓冲区的最大字符数。
返回值
如果成功返回NOERROR,否则返回OLE定义的错误值。
也可以看看