ISyncMgrEvent::GetItemID method

Gets the ID of the item for which the event was logged.

Syntax


HRESULT GetItemID(
  [out] LPWSTR *ppszItemID
);

Parameters

ppszItemID [out]

Type: LPWSTR*

Contains a pointer to an item ID as a Unicode string.

Return value

Type: HRESULT

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

Remarks

The item ID can have a maximum length of MAX_SYNCMGR_ID, including the terrminating null character. The event is expected to allocate the string buffer using CoTaskMemAlloc, which Sync Center uses to deallocate the string buffer.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Syncmgr.h

IDL

Syncmgr.idl

 

 

Show: