ISynchronousDataRetriever::GetIdParameters
Gets the ID format schema of the provider.
The following examples show how to implement GetIdParameters. The first example
declares the ID format schema by using a const structure. The second example returns the ID format schema.
const ID_PARAMETERS c_idParams = { sizeof(ID_PARAMETERS), // dwSize { FALSE, sizeof(GUID) }, // replicaId { FALSE, sizeof(SYNC_GID) }, // itemId { FALSE, 1 }, // changeUnitId };
STDMETHODIMP CItemStore::GetIdParameters(
ID_PARAMETERS * pIdParameters)
{
if (NULL == pIdParameters)
{
return E_POINTER;
}
else
{
*pIdParameters = c_idParams;
return S_OK;
}
}
Show: