#if DESKTOP_APP using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SharpDX.MediaFoundation { public partial class CapturePhotoSink { /// ///

Specifies a byte stream that will receive the still image data.

///
///

A reference to the interface of a byte stream. The byte stream must be writable.

///

If this method succeeds, it returns . Otherwise, it returns an error code.

/// ///

Calling this method overrides any previous call to or .

///
/// /// hh447862 /// HRESULT IMFCapturePhotoSink::SetOutputByteStream([In] IMFByteStream* pByteStream) /// IMFCapturePhotoSink::SetOutputByteStream public ByteStream OutputByteStream { set { SetOutputByteStream(value); } } /// ///

Sets a callback to receive the still-image data.

///
///

A reference to the interface. The caller must implement this interface.

///

If this method succeeds, it returns . Otherwise, it returns an error code.

/// ///

Calling this method overrides any previous call to or .

///
/// /// hh447864 /// HRESULT IMFCapturePhotoSink::SetSampleCallback([In] IMFCaptureEngineOnSampleCallback* pCallback) /// IMFCapturePhotoSink::SetSampleCallback public CaptureEngineOnSampleCallback SampleCallback { set { SetSampleCallback(value); } } } } #endif