Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SafeArrayGetIID function

Gets the GUID of the interface contained within the specified safe array.

Syntax


HRESULT SafeArrayGetIID(
  _In_  SAFEARRAY *psa,
  _Out_ GUID      *pguid
);

Parameters

psa [in]

An array descriptor created by SafeArrayCreate.

pguid [out]

The GUID of the interface.

Return value

This function can return one of these values.

Return codeDescription
S_OK

Success.

E_INVALIDARG

The argument psa is null or the array descriptor does not have the FADF_HAVEIID flag set.

 

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Show:
© 2016 Microsoft