Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Gets the item ID.
Syntax
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.