Microsoft Windows CE 3.0  

CMediaControl::GetTypeInfo

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Retrieves a type-information object, which can retrieve the type information for an interface.

HRESULT GetTypeInfo(
UINT
itinfo, 
LCID
lcid, 
ITypeInfo** 
pptinfo
);

Parameters

itinfo
Type information to return. Pass zero to retrieve type information for the IDispatchimplementation.
lcid
Locale ID for the type information. An object might 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.
pptinfo
Pointer to the type-information object requested.

Return Values

Returns an E_POINTER if pptinfois invalid. Returns TYPE_E_ELEMENTNOTFOUND if itinfois not zero. Returns S_OK if is successful. Otherwise, returns an HRESULTfrom one of the calls to retrieve the type. The HRESULTindicates the error and can be one of the following standard constants, or other values not listed.

E_FAIL Failure.
E_POINTER Null pointer argument.
E_INVALIDARG Invalid argument.
S_OK or NOERROR Success.