IShellLink::GetShowCmd

[Now Supported on Windows NT]

Retrieves the show command for a shell link object.

HRESULT STDMETHODCALLTYPE GetShowCmd(

ISHELLLINK FAR *pShlLnk,  
int *piShowCmd  
);  

Parameters

pShlLnk

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

piShowCmd

Pointer to the show command. For a list of 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