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 code | Description |
|---|---|
|
The function succeeded. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also