IShellLinkDataList::AddDataBlock method

Adds a data block to a link.

Syntax


HRESULT AddDataBlock(
  [in] VOID *pDataBlock
);

Parameters

pDataBlock [in]

Type: VOID*

The data block structure. For a list of supported structures, see IShellLinkDataList.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM error code otherwise.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 5.0 or later)

See also

IShellLinkDataList

 

 

Show: