ICallIndirect::GetIID method

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

piid [out]

A pointer to the interface. This parameter is optional.

pfDerivesFromIDispatch [out]

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

pcMethod [out]

Receives the number of methods in the inferface.

pwszInterface [out]

Receives the interface name if it is available.

Return value

This method can return the following values.

Return codeDescription
S_OK

The method completed successfully.

E_UNEXPECTED

An unexpected error has occurred.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Callobj.h

IDL

Callobj.idl

IID

IID_ICallIndirect is defined as D573B4B1-894E-11d2-B8B6-00C04FB9618A

See also

ICallIndirect

 

 

Show: