Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The QueryMediaType method indicates whether the service provider associated with the current address supports the media type or types indicated by lMediaType.
Syntax
HRESULT QueryMediaType(
[in] long lMediaType,
[out] VARIANT_BOOL *pfSupport
);
Parameters
[in] lMediaType
Media type or types being queried.
[out] pfSupport
Pointer to a VARIANT_BOOL indicating whether the media type is supported. If the returned value is VARIANT_TRUE, the media is supported; if it is VARIANT_FALSE, the media is not supported.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Method succeeded. |
|
The pfSupport parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | tapi3if.h (include Tapi3.h) |
| Library | Uuid.lib |
| DLL | Tapi3.dll |