.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CreateDispTypeInfo 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCreateDispTypeInfo\fR (OLEAUT32.31) .SH SYNOPSIS HRESULT CreateDispTypeInfo ( INTERFACEDATA* \fIpidata\fR, LCID \fIlcid\fR, ITypeInfo** \fIpptinfo\fR ) .SH PARAMS \fIpidata\fR \fB[In]\fR Description of the interface to build type information for. .PP \fIlcid\fR \fB[In]\fR Locale Id. .PP \fIpptinfo\fR \fB[Out]\fR Destination for created \fBITypeInfo\fR object. .PP .SH DESCRIPTION .PP Build type information for an object so it can be called through an IDispatch interface. .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. \fIpptinfo\fR contains the created \fBITypeInfo\fR object. .PP \fBFailure:\fR \fBE_INVALIDARG\fR, if one or more arguments is invalid. .SH NOTES .PP This call allows an objects methods to be accessed through IDispatch, by building an \fBITypeInfo\fR object that IDispatch can use to call through. .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/typelib.c"\fR. .PP Debug channel \fB"ole"\fR.