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.
Retrieves the unique ID for a given element in a property array.
Syntax
HRESULT GetPropertyArrayElementID(
[in, out] LPWSTR pszArrayElementID,
[in] DWORD cchArrayElementID,
[in, out] DWORD *pdwcchArrayElementIDRequired
);
Parameters
[in, out] pszArrayElementID
Type: LPWSTR
On success, contains the unique ID for the element.
[in] cchArrayElementID
Type: DWORD
Specifies caller-allocated buffer size in characters.
[in, out] pdwcchArrayElementIDRequired
Type: DWORD*
On failure, contains the required size for pszArrayElementID.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Query is successful. |
|
Array node does not have a unique array element ID. |
|
pszArrayElementID was not large enough to store the value. The required buffer size is stored in *pdwcchArrayElementIDRequired. |
Remarks
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | icontact.h (include Contact.h) |
DLL | Wab32.dll (Version 6.0 or later) |