IShellLink::GetArguments  VMW_LP

[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 IShellLink222Z_K0 interface. In C++, this parameter is implicit.

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

IShellLink