SafeArraySetIID function (oleauto.h)
Sets the GUID of the interface for the specified safe array.
Syntax
HRESULT SafeArraySetIID(
[in] SAFEARRAY *psa,
[in] REFGUID guid
);
Parameters
[in] psa
The safe array descriptor.
[in] guid
The IID.
Return value
This function can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
The argument psa is null or the array descriptor does not have the FADF_HAVEIID flag set. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oleauto.h |
Library | OleAut32.lib |
DLL | OleAut32.dll |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for