Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes the Digital Living Network Alliance (DLNA) media sink.
Syntax
HRESULT Initialize(
[in] IMFByteStream *pByteStream,
[in] BOOL fPal
);
Parameters
[in] pByteStream
Pointer to a byte stream. The DLNA media sink writes data to this byte stream. The byte stream must be writable.
[in] fPal
If TRUE, the DLNA media sink accepts PAL video formats. Otherwise, it accepts NTSC video formats.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The method succeeded. |
|
The method was already called. |
|
The media sink's IMFMediaSink::Shutdown method was called. |
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 | mfmp2dlna.h |