IShellLink::GetArguments
[Now
Supported on Windows NT]
Retrieves the
command-line arguments associated with a shell link object.
HRESULT STDMETHODCALLTYPE GetArguments(
ISHELLLINK FAR *pShlLnk, |
|
LPSTR pszArgs, |
|
int cchMaxPath |
|
); |
|
Parameters
pShlLnk
Pointer to
the IShellLink
pszArgs
Pointer to a
buffer that receives the command-line arguments.
cchMaxPath
Maximum
number of characters to copy to the buffer pointed to by pszArgs.
Return Values
Returns
NOERROR if successful or an OLE-defined error value otherwise.
See Also