Sdílet prostřednictvím


IGlobalIdHandler::GetNewItemId

Generates an ID for a new item.

HRESULT GetNewItemId(
  const ITEM_FIELDS *pKeyAndVersionInfo,
  BYTE *pbId,
  ULONG cbId);

Parameters

  • pKeyAndVersionInfo
    [in] A list of ITEM_FIELDS structures that contain the key and version properties of the item that requires an ID.
  • pbId
    [in, out, size_is(cbId)] Returns a new item ID.
  • cbId
    [in] The number of bytes in pbId.

Return Value

  • S_OK

See Also

Reference

IGlobalIdHandler Interface