IShellLink::SetShowCmd  LCO.9U

[Now Supported on Windows NT]

Sets the show command for a shell link object. The show command sets the initial show state of the window.

HRESULT STDMETHODCALLTYPE SetShowCmd(

    ISHELLLINK FAR *pShlLnk,

 

    int iShowCmd

 

   );

 

 

Parameters

pShlLnk

Pointer to the IShellLink interface. In C++, this parameter is implicit.

iShowCmd

Show command. For a list of the show commands, see the description of the ShowWindow function.

 

Return Values

Returns NOERROR if successful or an OLE-defined error value otherwise.

See Also

IShellLink, ShowWindow