The filter graph manager exposes the IMediaTypeInfo interface to allow access by Automation client applications such as Microsoft® Visual Basic® to the media type information associated with pins on filters.
This interface is implemented by the filter graph manager for use by Automation client applications, such as Visual Basic.
Automation-compatible applications retrieve an object supporting this interface by calling the IPinInfo::get_ConnectionMediaType method. This interface then presents the major and minor media types as properties on an IMediaTypeInfo object.
Methods in Vtable Order
IUnknown methods Description QueryInterface Retrieves pointers to supported interfaces. AddRef Increments the reference count. Release Decrements the reference count. IDispatch methods Description GetTypeInfoCount Determines whether there is type information available for this dispinterface. GetTypeInfo Retrieves the type information for this dispinterface if GetTypeInfoCount returned successfully. GetIDsOfNames Converts text names of properties and methods (including arguments) to their corresponding DISPIDs. Invoke Calls a method or accesses a property in this dispinterface if given a DISPID and any other necessary parameters. IMediaTypeInfo methods Description get_Type Retrieves the GUID as a string. get_Subtype Retrieves the subtype GUID as a string.
Retrieves the subtype GUID as a string.
Syntax
HRESULT get_Subtype( BSTR *strType );
Parameters
- strType
- [out, retval] Pointer to a string containing the subtype GUID.
Return Value
Returns an HRESULT value.
Retrieves the major type GUID as a string.
Syntax
HRESULT get_Type( BSTR *strType );
Parameters
- strType
- [out, retval] Pointer to a string containing the major type GUID.
Return Value
Returns an HRESULT value.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.