ICallIndirect::GetIID method (callobj.h)

Retrieves the interface id supported by this ICallIndirect implementation.

Syntax

HRESULT GetIID(
  [out] IID    *piid,
  [out] BOOL   *pfDerivesFromIDispatch,
  [out] ULONG  *pcMethod,
  [out] LPWSTR *pwszInterface
);

Parameters

[out] piid

A pointer to the interface. This parameter is optional.

[out] pfDerivesFromIDispatch

Indicates whether the interface is derived from IDispatch. This parameter is optional.

[out] pcMethod

Receives the number of methods in the interface.

[out] pwszInterface

Receives the interface name if it is available.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_UNEXPECTED
An unexpected error has occurred.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header callobj.h

See also

ICallIndirect