| Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get_ItemWithTypeProviderLang method retrieves a MetaProperty object that matches the specified MetaPropertyType, GuideDataProvider, and language.
Syntax
HRESULT get_ItemWithTypeProviderLang(
IMetaPropertyType* ptype,
IGuideDataProvider* pprovider,
long lang,
IMetaProperty** ppprop
);
Parameters
ptype
[in] IMetaPropertyType interface pointer of an object that specifies the metaproperty type.
ppprovider
[in] IGuideDataProvider interface pointer of an object that specifies the data provider.
lang
[in] Language identifier, or 0 to retrieve a language-neutral item.
pprop
[out] Address of a variable to receive a pointer to the IMetaProperty interface of the MetaProperty object.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
| S_OK | The method succeeded. |
| E_INVALIDARG | A matching object was not found. |
| E_POINTER | Data cannot be read from or written to a supplied address. |
See Also