Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Shell
Shell Reference
Shell Interfaces
IShellLinkDataList
 CopyDataBlock Method
IShellLinkDataList::CopyDataBlock Method

Retrieves a copy of a link's data block.

Syntax

HRESULT CopyDataBlock(      
    DWORD dwSig,     VOID **ppDataBlock );

Parameters

dwSig
[in] The data block's signature. The signature value for a particular type of data block can be found in its structure reference. For a list of supported data block types and their associated structures, see IShellLinkDataList.
ppDataBlock
[out] The address of a pointer to a copy of the data block structure. If IShellLinkDataList::CopyDataBlock returns a successful result, the calling application must free the memory when it is no longer needed by calling LocalFree.

Return Value

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

See Also

IShellLinkDataList
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker