ISyncMgrSyncItemContainer::GetSyncItem method (syncmgr.h)

Gets a specified sync item.

Syntax

HRESULT GetSyncItem(
  [in]  LPCWSTR          pszItemID,
  [out] ISyncMgrSyncItem **ppItem
);

Parameters

[in] pszItemID

Type: LPCWSTR*

A pointer to a buffer containing the item ID representing the desired item. The ID is of maximum length MAX_SYNCMGR_ID including the terminating null character.

[out] ppItem

Type: ISyncMgrSyncItem**

When this method returns, contains the address of a pointer to an ISyncMgrSyncItem instance representing the sync item.

Return value

Type: HRESULT

Returns S_OK if successful, or an error value otherwise. Returns E_INVALIDARG if the handler does not recognize the ID specified at ppszItemID.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header syncmgr.h