EXP_SZ_LINK structure (shlobj_core.h)

Holds an extra data block used by IShellLinkDataList. It holds expandable environment strings for the icon or target.

Syntax

typedef struct {
  DWORD cbSize;
  DWORD dwSignature;
  CHAR  szTarget[MAX_PATH];
  WCHAR swzTarget[MAX_PATH];
} EXP_SZ_LINK, *LPEXP_SZ_LINK;

Members

cbSize

Type: DWORD

The size of the EXP_SZ_LINK structure.

dwSignature

Type: DWORD

The structure's signature. It can have one of the following values.

Contains the link's target path.

EXP_SZ_ICON_SIG

Contains the links icon path.

szTarget[MAX_PATH]

Type: __wchar_t[MAX_PATH]

The null-terminated ANSI string with the path of the target or icon.

swzTarget[MAX_PATH]

Type: WCHAR[MAX_PATH]

The null-terminated Unicode string with the path of the target or icon.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header shlobj_core.h (include Shlobj.h)