Windows Dev Center

Expand Minimize

SafeArraySetIID function

Sets the GUID of the interface for the specified safe array.

Syntax


HRESULT SafeArraySetIID(
  _In_ SAFEARRAY *psa,
  _In_ REFGUID   guid
);

Parameters

psa [in]

The safe array descriptor.

guid [in]

The IID.

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.

 

Remarks

Windows Phone 8.1: This API is supported.

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft