Contents Index Topic Contents | ||
Previous Topic: IShellLink::Resolve Next Topic: IShellLink::SetDescription |
IShellLink::SetArguments
HRESULT STDMETHODCALLTYPE SetArguments( LPCSTR pszArgs );Sets the command-line arguments for a shell link object.
- Returns NOERROR if successful, or an OLE-defined error value otherwise.
This method is useful when creating a link to an application that takes special flags as arguments, such as a compiler.
- pszArgs
- Address of a buffer that contains the new command-line arguments.
See also IShellLink
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.