CodeSnip Old Code (SVN)
A repository for source code snippets, designed with Pascal in mind.
Brought to you by:
delphidabbler
changed | /trunk/Src/USimpleDispatch.pas |
--- a/trunk/Src/USimpleDispatch.pas +++ b/trunk/Src/USimpleDispatch.pas @@ -133,7 +133,8 @@ @param Index [in] Index of type information to return. Pass 0 to retrieve type information for the IDispatch implementation. @param LocaleID [in] The locale ID for the type information. - @param TypeInfo [out] Set to type information requested. We set to nil. + @param TypeInfo [out] Set to interface of type information requested. We + set to nil. @return Success or failure code. We return E_NOTIMPL. } function GetTypeInfoCount(out Count: Integer): HResult; stdcall; @@ -203,11 +204,12 @@ @param Index [in] Index of type information to return. Pass 0 to retrieve type information for the IDispatch implementation. @param LocaleID [in] The locale ID for the type information. - @param TypeInfo [out] Set to type information requested. We set to nil. + @param TypeInfo [out] Set to interface of type information requested. We set + to nil. @return Success or failure code. We return E_NOTIMPL. } begin - Pointer(TypeInfo) := nil; + ITypeInfo(TypeInfo) := nil; Result := E_NOTIMPL; end;