IDataModelScript::QueryInterface method (dbgmodel.h)

Retrieves pointers to the supported interfaces on an object. This method calls IUnknown::AddRef on the pointer it returns.

For more information, see IUnknown::QueryInterface and Introduction to COM.

Syntax

HRESULT QueryInterface(
  REFIID iid,
  PVOID  *iface
);

Parameters

iid

The interface ID. A pointer to an existing object provided as input.

iface

The returned pointer to the requested COM interface.

Return value

This method returns HRESULT which indicates success or failure.

Remarks

Standard COM method.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDataModelScript interface