Microsoft DirectX 8.0 |
This interface provides Automation-compatible methods for retrieving the media type of a pin connection.
Microsoft® Visual Basic® applications can use this interface to retrieve the media type of a pin connection. The IPinInfo::get_ConnectionMediaType method returns an object that supports this interface. The major type and minor type GUIDs are retrieved as properties on the object.
C/C++ applications should call the IPin::ConnectionMediaType method instead.
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.