CreateDispTypeInfo.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

CreateDispTypeInfo (OLEAUT32.31)

SYNOPSIS

HRESULT CreateDispTypeInfo
 (
  INTERFACEDATA* pidata,
  LCID           lcid,
  ITypeInfo**    pptinfo
 )

PARAMS

pidata [In] Description of the interface to build type information for.

lcid [In] Locale Id.

pptinfo [Out] Destination for created ITypeInfo object.

DESCRIPTION

Build type information for an object so it can be called through an IDispatch interface.

RETURNS

Success: S_OK. pptinfo contains the created ITypeInfo object.

Failure: E_INVALIDARG, if one or more arguments is invalid.

NOTES

This call allows an objects methods to be accessed through IDispatch, by building an ITypeInfo object that IDispatch can use to call through.

IMPLEMENTATION

Defined in "oleauto.h".

Implemented in "dlls/oleaut32/typelib.c".

Debug channel "ole".