SafeArrayGetIID function (oleauto.h)
Gets the GUID of the interface contained within the specified safe array.
Syntax
HRESULT SafeArrayGetIID(
[in] SAFEARRAY *psa,
[out] GUID *pguid
);
Parameters
[in] psa
An array descriptor created by SafeArrayCreate.
[out] pguid
The GUID of the interface.
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 |