Aplicativos do Windows
Recolher sumário
Expandir sumário
EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

IInspectable::GetIids method

Gets the interfaces that are implemented by the current Windows Runtime class.

Syntax


HRESULT GetIids(
  [out]                      ULONG *iidCount,
  [out, size_is(,*iidCount)] IID   **iids
);

Parameters

iidCount [out]

Type: ULONG*

The number of interfaces that are implemented by the current Windows Runtime object, excluding the IUnknown and IInspectable implementations.

iids [out]

Type: IID**

A pointer to an array that contains an IID for each interface implemented by the current Windows Runtime object. The IUnknown and IInspectable interfaces are excluded.

Return value

Type: HRESULT

This function can return the following values.

Return codeDescription
S_OK

The HSTRING was created successfully.

E_OUTOFMEMORY

Failed to allocate iids.

 

Remarks

Use the GetIids method to discover the interfaces that are implemented by a Windows Runtime object.

A QueryInterface call on any IID in the iids array must succeed.

The caller is responsible for freeing the IID array by using the CoTaskMemFree function.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Inspectable.h

IDL

Inspectable.idl

See also

IInspectable

 

 

Mostrar:
© 2016 Microsoft