---
name: "SafeArrayGetIID"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SafeArrayGetIID"
---

# SafeArrayGetIID(3w)

## NAME

**SafeArrayGetIID** (OLEAUT32.@)

## SYNOPSIS

HRESULT SafeArrayGetIID\
  (\
   SAFEARRAY\* *psa*,\
   GUID\*      *pGuid*\
  )

## DESCRIPTION

Get the **IID** from a SafeArray.

## PARAMS

*psa* **\[In\]**  Array to get the Id from.

*pGuid* **\[Out\]**  Destination for the **IID**.

## RETURNS

**Success:** **S\_OK**. pRinfo contains the **IID**, or **NULL** if there was none.

**Failure:** An **HRESULT** error code indicating the error.

## NOTES

See **[SafeArray(3w)](/SafeArray/3w.md)**.

## IMPLEMENTATION

Declared in **"oleauto.h"**.

Implemented in **"dlls/oleaut32/safearray.c"**.

Debug channel **"variant"**.
