Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.