Telerik.Windows.MediaFoundation Holds the file headers of a bitmap file. The file type; must be BM. The size, in bytes, of the bitmap file. Reserved; must be zero. Reserved; must be zero. The offset, in bytes, from the beginning of the BITMAPFILEHEADER structure to the bitmap bits. Represents the hardware type of a device capable of capturing media. A device that is capable of capturing audio. A device that is capable of capturing video. Represents a delegate that is called when a frame is ready for drawing. Holds information of a single frame. Initializes a new instance of the class. The buffer containing the frame data. The frame width. The frame height. The frame stride. Gets the containing the frame data. Gets the width of the frame. Gets the height of the frame. Gets the stride of the frame. Helper class that facilitates the locking of an . Initializes a new instance of the class. The buffer that will be locked. Locks the buffer and returns a pointer to scan line 0 and returns the stride. Minimum stride without padding. Used in case the buffer does not implement . Height of the image, in pixels. Receives a pointer to the start of scan line 0. Receives the actual stride. Returns a pointer to scan line 0 and returns the stride. Unlocks the buffer. Called automatically by Dispose(). Releases resources when the object is destroyed. Represents a device used by Windows Media Foundation e.g. a web camera or a microphone. Initializes a new instance of the class. A user-friendly identifier for this device. The unique identifier that is used by Windows Media Foundation to identify this device. The GUID identifying the type of the device this instance represents. Gets or sets the GUID identifying the type of the device this instance represents. Gets or sets a user-friendly identifier for this device. Gets or sets the unique identifier that is used by Windows Media Foundation to identify this device. Returns a string that represents the current object. Holds information of a video format used by Windows Media Foundation. Initializes a new instance of the class. Initializes a new instance of the class. Gets or sets the major type of this video format. Gets or sets the sub type of this video format. Gets the width of the frames of this video format. Gets the height of the frames of this video format. Gets the effective frame rate by dividing the FrameRate by the FrameRateDenominator. Gets the frame rate of this video format. Gets the frame rate denominator of this video format. Gets the effective minimum frame rate by dividing the FrameRateMin by the FrameRateDenominatorMin. Gets the minimum frame rate of this video format. Gets the minimum frame rate denominator of this video format. Gets the effective maximum frame rate by dividing the FrameRateMax by the FrameRateDenominatorMax. Gets the maximum frame rate of this video format. Gets the maximum frame rate denominator of this video format. Gets the display name of the media sub type of this video format. Represents a base class for an object that creates a media foundation session and controls it. Initializes a new instance of the class. A UI presentation surface. Gets the UI video presenter. Gets the media source for the current session. Gets the media source for the current session. Gets the current media session. Gets or sets the current media session state. Gets or sets the EVR display. Starts up Media Foundation, initializes and starts a new media session. Shuts down the media session and Media Foundation. Sets the position in the EVR render control where the video should be presented. The x coordinate of the display rectangle in control coordinates. The y coordinate of the display rectangle in control coordinates. The width in control coordinates. The height in control coordinates. Starts the session. Builds the media session and prepares it for work. Receives a reference to the media session. Receives a reference to the media source. Receives a reference to the media source. Closes and shuts down all media device. Represents the state of a . The presenter is ready for playback. The presenter is currently opening a media file. The presenter is starting the playback. The presenter is currently playing. The presenter is going to the paused state. The playback is paused. Represents a class that handles the creation and management of a Media Foundation media session for opening and displaying of a media file and gives control over it. Initializes a new instance of the class. The presenter where the media session will render. Gets the path to the file that will be displayed. Gets the current state of the presenter. Gets the duration of the current video file. Gets or sets the amount by which playback rate is changed when calling and Gets or sets the amount by which volume is changed when calling and . Gets or sets the default amount of seconds to skip when calling and . Gets a value indicating whether the playback rate is currently being changed. Sets the path to the media file that will be displayed. The path to the file to display. Starts the session. Starts the playback or resumes it if the presenter is in a paused state. Pauses the playback. Stops the playback. Skips forward the amount of seconds the property is set to. Skips forward the provided amount of seconds. The seconds to skip. Skips backward the amount of seconds the property is set to. Skips backward the provided amount of seconds. The seconds to skip. Increases the video playback rate with the value of the property. Decreases the video playback rate with the value of the property. Mutes the audio. Increases the volume with the value of the property. Decreases the volume with the value of the property. Takes an image snapshot of the currently displayed video. Builds the media session and prepares it for work. Receives a reference to the media session. Receives a reference to the video media source. Receives a reference to the audio media source. Closes and shuts down all media device. Represents a class that handles the creation and management of a Media Foundation media session and allows control over it. Initializes a new instance of the class. Fires when a new frame is available. Builds the media session and prepares it for work. Receives a reference to the media session. Receives a reference to the video media source. Receives a reference to the audio media source. Fires the event. The sender of the event. The event arguments. Closes and shuts down all media devices. Represents the states of a Media Foundation media session. The session is not initialized. The session is initialized. The session is paused. The session is started and running. The session is stopped. The IAMCameraControl interface controls web camera settings such as zoom, pan, aperture adjustment, or shutter speed. To obtain this interface, cast a MediaSource. Get the range and default value of a specified camera property. The property to query. The minimum value of the property. The maximum value of the property. The step size for the property. The default value of the property. Can it be controlled automatically or manually. Set a specified property on the camera. The property to set. The new value of the property. Control it manually or automatically. Get the current setting of a camera property. The property to retrieve. The current value of the property. Is it currently manual or automatic. Represents a UI control that has it's own handle which can be used for drawing. Gets a pointer to the win32 handle of the presenter. A delegate to a method that is called when a Media foundation session reports an async operation completion. A delegate to a method that is called when a Media foundation session reports an async operation errors. Represents a class that handles Media foundation async callbacks. Fired when the media foundation session reports an async operation completion. Fired when the media foundation session reports an async operation error. Gets or sets the this callback is set to. Shuts down and clears all references of this handler. Provides configuration information to the dispatching thread for a callback. Receives a flag indicating the behavior of the callback object's IMFAsyncCallback.Invoke method. The default value is zero. Receives the identifier of the work queue on which the callback is dispatched. Called when an asynchronous operation is completed. Pointer to the IMFAsyncResult interface. Pass this pointer to the asynchronous End... method to complete the asynchronous call. A handler that allows samples for the Media Foundation topology to be passed to external instance for drawing. Initializes a new instance of the class. The media type of the samples that will pass through this handler. The width of the samples. The height of the samples. The stride of the samples. Fires when a new sample's data is process. Called when the presentation clock starts. The system time when the clock started, in 100-nanosecond units. The new starting time for the clock, in 100-nanosecond units. This parameter can also equal PRESENTATION_CURRENT_POSITION, indicating the clock has started or restarted from its current position. Called when the presentation clock stops. The system time when the clock stopped, in 100-nanosecond units. Called when the presentation clock pauses. The system time when the clock was paused, in 100-nanosecond units. Called when the presentation clock restarts from the same position while paused. The system time when the clock restarted, in 100-nanosecond units. Called when the rate changes on the presentation clock. The system time when the rate was set, in 100-nanosecond units. The new rate, as a multiplier of the normal playback rate. Called when the presentation clock is set on the sample-grabber sink. Pointer to the presentation clock's IMFPresentationClock interface. Called when the sample-grabber sink is shut down. Called when the sample-grabber sink receives a new media sample. The major type GUID that specifies the format of the data. For a list of possible values, see Major Media Types. Sample flags. The sample-grabber sink gets the value of this parameter by calling the IMFSample.GetSampleFlags method of the media sample. The presentation time for this sample, in 100-nanosecond units. If the sample does not have a presentation time, the value of this parameter is Int64.MaxValue. The duration of the sample, in 100-nanosecond units. If the sample does not have a duration, the value of this parameter is Int64.MaxValue. A pointer to a buffer that contains the sample data. The size, in bytes, of the pSampleBuffer buffer. Called when the sample-grabber sink receives a new media sample. The major type GUID that specifies the format of the data. For a list of possible values, see Major Media Types. Sample flags. The sample-grabber sink gets the value of this parameter by calling the IMFSample.GetSampleFlags method of the media sample. The presentation time for this sample, in 100-nanosecond units. If the sample does not have a presentation time, the value of this parameter is Int64.MaxValue. The duration of the sample, in 100-nanosecond units. If the sample does not have a duration, the value of this parameter is Int64.MaxValue. A pointer to a buffer that contains the sample data. The size, in bytes, of the pSampleBuffer buffer. A pointer to the IMFAttributes interface. Use this interface to get the attributes for this sample (if any). For a list of sample attributes, see Sample Attributes. Fires the event. The event arguments. Represents a class that creates and controls a Media foundation session and uses a sample grabber sink. Initializes a new instance of the class. Fires when a new frame is available. Builds the media session and prepares it for work. Receives a reference to the media session. Receives a reference to the video media source. Receives a reference to the audio media source. Fires the event. The sender of the event. The event argument. Closes and shuts down all media devices. Represents a class that handles the creation and management of a Media Foundation media session for capturing data from a web cam and gives control over it. Initializes a new instance of the class. A presenter where the video will be displayed. Can be null if the media session will use a sample grabber. Gets or sets the current audio capture device. Must be set before calling . Gets or sets the current video capture device. Must be set before calling . Gets or sets the format to use from the ones supported by the video capture device. Gets or sets the current audio media type. Gets or sets the current video media type. Gets whether video recording to a file is currently underway. Gets the sample grabber transform utilized for file recording. Takes a snapshot of the video frame currently displayed on the EVR display. Starts a new video recording to the specified file path. The path to the file where the video will be recorded. Stops the video recording. Builds the media session and prepares it for work. Receives a reference to the media session. Receives a reference to the video media source. Receives a reference to the audio media source. Closes and shuts down all media devices. Contains methods that facilitate the work with Windows Media Foundation. Returns a list of the available video capture devices. A list of the available video capture devices. Returns a list of the available audio capture devices. A list of the available audio capture devices. Returns a list of the available video formats for a given video capture device. The device to get video formats for. A list of the available video formats for a given video capture device. Represents the control flags for camera settings. The list of camera property settings. The IAMVideoProcAmp interface controls video camera settings such as brightness, contrast, hue, or saturation. To obtain this interface, cast the MediaSource. Get the range and default value of a camera property. The property. The min value. The max value. The step size. The default value. Shows if it can be controlled automatically and/or manually. Set a specified property on the camera. The property to set. The new value of the property. The auto or manual setting. Get the current setting of a camera property. The property to retrieve. The current value of the property. Is it manual or automatic. Represents the control flags for video settings. The list of video property settings. Represents a class that is used as a transform in a Media foundation topology which can record the passing samples to a file. Gets a value indicating whether the transform is currently saving samples to a file. Initializes and starts a sink writer that would write all samples passing though this transform to the provided file. The name of the video file. The media type of the incoming video samples. The media type of the incoming audio samples. Stops the video capture and the sink writer. Gets the buffer requirements and other information for an input stream on this Media Foundation transform. Pointer to an structure. The method fills the structure with information about the input stream. Gets the buffer requirements and other information for an output stream on this Media Foundation transform. Pointer to an structure. The method fills the structure with information about the output stream. Called after the processing of the input sample is complete. Enumerates the available InputTypes. The index of the type. The available media type. Represents the base class for Media foundation transforms. Initializes a new instance of the class. Performs clean up logic when the instance is destroyed. Gets or sets the audio input type. Gets or sets the video input type. Gets or sets the output type. Gets or sets the current sample. Gets the object used for synchronization of async operations. Gets the minimum and maximum number of input and output streams for this Media Foundation transform. Receives the minimum number of input streams. Receives the maximum number of input streams. If there is no maximum, receives the value MFT_STREAMS_UNLIMITED. Receives the minimum number of output streams. Receives the maximum number of output streams. If there is no maximum, receives the value MFT_STREAMS_UNLIMITED. Gets the current number of input and output streams on this Media Foundation transform. Receives the number of input streams. Receives the number of output streams. Gets the stream identifiers for the input and output streams on this Media Foundation transform. Number of elements in the inputIDs array. Pointer to an array allocated by the caller. The method fills the array with the input stream identifiers. The array size must be at least equal to the number of input streams. To get the number of input streams, call GetStreamCount. Number of elements in the outputIDs array. Pointer to an array allocated by the caller. The method fills the array with the output stream identifiers. The array size must be at least equal to the number of output streams. To get the number of output streams, call GetStreamCount. Gets the buffer requirements and other information for an input stream on this Media Foundation transform. Input stream identifier. To get the list of stream identifiers, call GetStreamIDs. Pointer to an MFTInputStreamInfo structure. The method fills the structure with information about the input stream. Gets the buffer requirements and other information for an output stream on this Media Foundation transform. Output stream identifier. To get the list of stream identifiers, call GetStreamIDs. Pointer to an MFTOutputStreamInfo structure. The method fills the structure with information about the output stream. Gets the global attribute store for this Media Foundation transform. Receives a pointer to the IMFAttributes interface. The caller must release the interface. Gets the attribute store for an input stream on this Media Foundation transform. Input stream identifier. To get the list of stream identifiers, call GetStreamIDs. Receives a pointer to the IMFAttributes interface. The caller must release the interface. Gets the attribute store for an output stream on this Media Foundation transform. Output stream identifier. To get the list of stream identifiers, call GetStreamIDs. Receives a pointer to the IMFAttributes interface. The caller must release the interface. Removes an input stream from this Media Foundation transform. Identifier of the input stream to remove. Adds one or more new input streams to this Media Foundation transform. Number of streams to add. Array of stream identifiers. The new stream identifiers must not match any existing input streams. Gets an available media type for an input stream on this Media Foundation transform. Input stream identifier. To get the list of stream identifiers, call GetStreamIDs. Index of the media type to retrieve. Media types are indexed from zero and returned in approximate order of preference. Receives a pointer to the IMFMediaType interface. Gets an available media type for an output stream on this Media Foundation transform. Output stream identifier. To get the list of stream identifiers, call GetStreamIDs. Index of the media type to retrieve. Media types are indexed from zero and returned in approximate order of preference. Receives a pointer to the IMFMediaType interface. The caller must release the interface. Sets, tests, or clears the media type for an input stream on this Media Foundation transform. Input stream identifier. To get the list of stream identifiers, call GetStreamIDs. Pointer to the IMFMediaType interface, or null. Zero or more flags from the MFTSetTypeFlags enumeration. Sets, tests, or clears the media type for an output stream on this Media Foundation transform. Output stream identifier. To get the list of stream identifiers, call GetStreamIDs. Pointer to the IMFMediaType interface, or null. Zero or more flags from the MFTSetTypeFlags enumeration. Gets the current media type for an input stream on this Media Foundation transform. Input stream identifier. To get the list of stream identifiers, call GetStreamIDs. Receives a pointer to the IMFMediaType interface. The caller must release the interface. Gets the current media type for an output stream on this Media Foundation transform. Output stream identifier. To get the list of stream identifiers, call GetStreamIDs. Receives a pointer to the IMFMediaType interface. The caller must release the interface. Queries whether an input stream on this Media Foundation transform can accept more data. Input stream identifier. To get the list of stream identifiers, call GetStreamIDs. Receives a member of the MFTInputStatusFlags enumeration, or zero. If the value is MFTInputStatusFlags.AcceptData, the stream specified in inputStreamID can accept more input data. Queries whether the Media Foundation transform is ready to produce output data. Receives a member of the MFTOutputStatusFlags enumeration, or zero. If the value is MFTOutputStatusFlags.SampleReady, the MFT can produce an output sample. Sets the range of time stamps the client needs for output. Specifies the earliest time stamp. The Media Foundation transform will accept input until it can produce an output sample that begins at this time; or until it can produce a sample that ends at this time or later. If there is no lower bound, use the value MFT_OUTPUT_BOUND_LOWER_UNBOUNDED. Specifies the latest time stamp. The MFT will not produce an output sample with time stamps later than this time. If there is no upper bound, use the value MFT_OUTPUT_BOUND_UPPER_UNBOUNDED. Sends an event to an input stream on this Media Foundation transform. Input stream identifier. To get the list of stream identifiers, call GetStreamIDs. An IMFMediaEvent interface of an event object. Sends a message to the Media Foundation transform. The message to send, specified as a member of the MFTMessageType enumeration. Message parameter. The meaning of this parameter depends on the message type. Delivers data to an input stream on this Media Foundation transform. Input stream identifier. To get the list of stream identifiers, call GetStreamIDs. Pointer to the IMFSample interface of the input sample. The sample must contain at least one media buffer that contains valid input data. Reserved. Must be zero. Generates output from the current input data. Bitwise OR of zero or more flags from the MFTProcessOutputFlags enumeration. Number of elements in the pOutputSamples array. The value must be at least 1. An array of MFTOutputDataBuffer structures, allocated by the caller. The MFT uses this array to return output data to the caller. Receives a bitwise OR of zero or more flags from the ProcessOutputStatus enumeration. Checks whether the provided is identical to the one set as . The to compare to the current . S_OK or MF_E_INVALIDTYPE. Checks whether the provided is identical to the one set as OutputType. The to compare to the current OutputType. S_OK, MF_E_TRANSFORM_TYPE_NOT_SET or MF_E_INVALIDTYPE. Called after the processing of the input sample is complete. Called after the processing of the output sample is complete. The data contained in the output sample. Gets the buffer requirements and other information for an input stream on this Media Foundation transform. Pointer to an structure. The method fills the structure with information about the input stream. Gets the buffer requirements and other information for an output stream on this Media Foundation transform. Pointer to an structure. The method fills the structure with information about the output stream. Enumerates the available InputTypes. The index of the type. The available media type. Enumerates the available output types. The index of the type. The available media type. Creates an output type based on the input one.