Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

IShellLink::SetDescription method

Sets the description for a Shell link object. The description can be any application-defined string.

Syntax


HRESULT SetDescription(
  LPCTSTR pszName
);

Parameters

pszName

Type: LPCTSTR

A pointer to a buffer containing the new description string.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

For Windows 2000 or later, the string specified by pszName must be no larger than INFOTIPSIZE. For systems prior to Windows 2000, the size of the string is limited by MAX_PATH.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 4.0 or later)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.