Export (0) Print
Expand All
Expand Minimize

MFCreateTranscodeSinkActivate function

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

The transcode sink activation object exposes the IMFTranscodeSinkInfoProvider interface.

Syntax


HRESULT MFCreateTranscodeSinkActivate(
  _Out_   **ppActivate
);

Parameters

ppActivate [out]

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfidl.h

Library

Mf.lib

DLL

Mf.dll

See also

Media Foundation Functions
IMFTranscodeSinkInfoProvider

 

 

Community Additions

ADD
Show:
© 2014 Microsoft