MFCreateTranscodeSinkActivate function (mfidl.h)
Creates the transcode sink activation object.
The transcode sink activation object can be used to create any of the following file sinks:
- 3GP file sink
- MP3 file sink
- MP4 file sink
Syntax
HRESULT MFCreateTranscodeSinkActivate(
[out] IMFActivate **ppActivate
);
Parameters
[out] ppActivate
Receives a pointer to the IMFActivate interface. This interface is used to create the file sink instance from the activation object. Before doing so, query the returned pointer for the IMFTranscodeSinkInfoProvider interface and use that interface to initialize the object.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | mfidl.h |
Library | Mf.lib |
DLL | Mf.dll |