Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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