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.
Gets the item ID.
HRESULT GetItemId(
DWORD * pdwCcItemId,
LPWSTR wszItemId);
Parameters
- pdwCcItemId
[in, out] Specifies the number of characters in wszItemId. Returns the number of characters required to retrieve the value when wszItemId is too small, or returns the number of characters written.
- wszItemId
[in, out, string, size_is(*pdwCcItemId)] Returns the item ID.
Return Value
S_OK
E_POINTER
HRESULT_FROM_WIN32(ERROR_MORE_DATA) when wszItemId is too small. In this case, the required number of bytes is returned in pdwCcItemId.