Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MFCreateASFMediaSinkActivate
Collapse the table of content
Expand the table of content

MFCreateASFMediaSinkActivate function

Creates an activation object that can be used to create the ASF media sink.

Syntax


HRESULT MFCreateASFMediaSinkActivate(
   LPCWSTR           pwszFileName,
   IMFASFContentInfo *pContentInfo,
   IMFActivate       **ppIActivate
);

Parameters

pwszFileName

Null-terminated wide-character string that contains the output file name.

pContentInfo

A pointer to the IMFASFContentInfo interface of an initialized ASF Header Object object. Use this interface to configure the ASF media sink.

ppIActivate

Receives a pointer to the IMFActivate interface. The caller must release the interface.

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The function succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wmcontainer.h

Library

Mf.lib

DLL

Mf.dll

See also

Media Foundation Functions
Activation Objects

 

 

Community Additions

ADD
Show:
© 2015 Microsoft