IDispatch::GetTypeInfo method (oaidl.h)
Retrieves the type information for an object, which can then be used to get the type information for an interface.
Syntax
HRESULT GetTypeInfo(
[in] UINT iTInfo,
[in] LCID lcid,
[out] ITypeInfo **ppTInfo
);
Parameters
[in] iTInfo
The type information to return. Pass 0 to retrieve type information for the IDispatch implementation.
[in] lcid
The locale identifier for the type information. An object may be able to return different type information for different languages. This is important for classes that support localized member names. For classes that do not support localized member names, this parameter can be ignored.
[out] ppTInfo
The requested type information object.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
The iTInfo parameter was not 0. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |
See also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla