2 * Automatically generated, do not edit this file directly
5 #ifndef __MOONLIGHT_C_BINDING_H__
6 #define __MOONLIGHT_C_BINDING_H__
20 class ASFMarkerDecoder
;
24 class AssemblyPartCollection
;
29 class BeginStoryboard
;
43 class CodecDownloader
;
45 class CollectionChangedEventArgs
;
46 class CollectionItemChangedEventArgs
;
48 class ColorAnimationUsingKeyFrames
;
50 class ColorKeyFrameCollection
;
51 class ColumnDefinition
;
52 class ColumnDefinitionCollection
;
53 class ContentChangedEventArgs
;
56 class ControlTemplate
;
58 class CursorPositionChangedEventArgs
;
60 class DeepZoomImageTileSource
;
61 class DependencyObject
;
62 class DependencyObjectCollection
;
64 class DiscreteColorKeyFrame
;
65 class DiscreteDoubleKeyFrame
;
66 class DiscreteObjectKeyFrame
;
67 class DiscretePointKeyFrame
;
68 class DispatcherTimer
;
69 class DoubleCollection
;
70 class DoubleAnimation
;
71 class DoubleAnimationUsingKeyFrames
;
73 class DoubleKeyFrameCollection
;
75 class DownloadProgressEventArgs
;
76 class DrawingAttributes
;
77 class DropShadowEffect
;
78 class EasingColorKeyFrame
;
79 class EasingDoubleKeyFrame
;
80 class EasingFunctionBase
;
81 class EasingPointKeyFrame
;
85 class EllipseGeometry
;
88 class EventListenerProxy
;
91 class ExponentialEase
;
93 class ExternalDecoder
;
94 class ExternalDemuxer
;
96 class ExternalPartCollection
;
101 class FrameworkElement
;
102 class FrameworkTemplate
;
103 class GeneralTransform
;
105 class GeometryCollection
;
110 class GradientStopCollection
;
112 class HitTestCollection
;
114 class IconCollection
;
115 class IImageConverter
;
118 class ImageErrorEventArgs
;
127 class InlineCollection
;
129 class InternalDownloader
;
130 class ItemCollection
;
133 class KeyFrameCollection
;
135 class LayoutInformation
;
137 class LinearColorKeyFrame
;
138 class LinearDoubleKeyFrame
;
139 class LinearGradientBrush
;
140 class LinearPointKeyFrame
;
144 class LogReadyRoutedEventArgs
;
145 class ManagedStreamSource
;
146 class ManualTimeSource
;
150 class Matrix3DProjection
;
151 class MatrixTransform
;
153 class MediaAttribute
;
154 class MediaAttributeCollection
;
157 class MediaDisposeObjectClosure
;
160 class MediaGetFrameClosure
;
162 class MediaMarkerFoundClosure
;
164 class MediaReportFrameCompletedClosure
;
165 class MediaReportSeekCompletedClosure
;
166 class MediaSeekClosure
;
170 class MmsPlaylistEntry
;
171 class MmsSecondDownloader
;
173 class MouseButtonEventArgs
;
174 class MouseEventArgs
;
175 class MouseWheelEventArgs
;
177 class MultiScaleImage
;
178 class MultiScaleSubImage
;
179 class MultiScaleSubImageCollection
;
180 class MultiScaleTileSource
;
183 class ObjectAnimationUsingKeyFrames
;
184 class ObjectKeyFrame
;
185 class ObjectKeyFrameCollection
;
186 class OutOfBrowserSettings
;
188 class ParallelTimeline
;
189 class ParserErrorEventArgs
;
190 class PassThroughDecoder
;
194 class PathFigureCollection
;
197 class PathSegmentCollection
;
199 class PlaneProjection
;
203 class PointCollection
;
204 class PointAnimation
;
205 class PointAnimationUsingKeyFrames
;
207 class PointKeyFrameCollection
;
208 class PolyBezierSegment
;
211 class PolyLineSegment
;
212 class PolyQuadraticBezierSegment
;
215 class ProgressEventArgs
;
216 class ProgressiveSource
;
218 class PropertyChangedEventArgs
;
220 class QuadraticBezierSegment
;
224 class RadialGradientBrush
;
226 class RectangleGeometry
;
227 class RenderingEventArgs
;
228 class ResourceDictionary
;
229 class ResourceDictionaryCollection
;
230 class RotateTransform
;
231 class RoutedEventArgs
;
233 class RowDefinitionCollection
;
235 class ScaleTransform
;
238 class SetterBaseCollection
;
242 class SizeChangedEventArgs
;
244 class SolidColorBrush
;
245 class SplineColorKeyFrame
;
246 class SplineDoubleKeyFrame
;
247 class SplinePointKeyFrame
;
250 class StrokeCollection
;
254 class StylusPointCollection
;
256 class SystemTimeSource
;
260 class TextBoxModelChangedEventArgs
;
262 class TextChangedEventArgs
;
266 class TimelineCollection
;
268 class TimelineMarker
;
269 class TimelineMarkerCollection
;
270 class TimelineMarkerRoutedEventArgs
;
275 class TouchPointCollection
;
277 class TransformCollection
;
278 class TransformGroup
;
279 class TranslateTransform
;
280 class TriggerCollection
;
282 class TriggerActionCollection
;
285 class UIElementCollection
;
286 class UnmanagedMatrix
;
287 class UnmanagedMatrix3D
;
292 class WindowSettings
;
293 class WriteableBitmap
;
301 class AnimationClock
;
302 class AnimationStorage
;
308 class ASFDemuxerInfo
;
309 class ASFFrameReader
;
310 class ASFMarkerDecoder
;
311 class ASFMarkerDecoderInfo
;
316 class AssemblyPartCollection
;
318 class ASXDemuxerInfo
;
324 class AutoCreatePropertyValueProvider
;
327 class BeginStoryboard
;
343 class CodecDownloader
;
345 class CollectionChangedEventArgs
;
346 class CollectionItemChangedEventArgs
;
347 class CollectionIterator
;
348 class ColorAnimation
;
349 class ColorAnimationUsingKeyFrames
;
351 class ColorKeyFrameCollection
;
352 class ColumnDefinition
;
353 class ColumnDefinitionCollection
;
354 class ContentChangedEventArgs
;
355 class ContentControl
;
356 class ContentDescription
;
357 class ContentDescriptionList
;
359 class ControlTemplate
;
362 class CursorPositionChangedEventArgs
;
365 class DeepTreeWalker
;
366 class DeepZoomImageTileSource
;
367 class DefaultValuePropertyValueProvider
;
369 class DependencyObject
;
370 class DependencyObjectCollection
;
371 class DependencyProperty
;
373 class DeploymentStack
;
375 class DiscreteColorKeyFrame
;
376 class DiscreteDoubleKeyFrame
;
377 class DiscreteObjectKeyFrame
;
378 class DiscretePointKeyFrame
;
379 class DispatcherTimer
;
380 class DoubleAnimation
;
381 class DoubleAnimationUsingKeyFrames
;
382 class DoubleCollection
;
383 class DoubleKeyFrame
;
384 class DoubleKeyFrameCollection
;
386 class DownloaderRequest
;
387 class DownloaderResponse
;
388 class DownloadProgressEventArgs
;
389 class DrawingAttributes
;
390 class DropShadowEffect
;
391 class EasingColorKeyFrame
;
392 class EasingDoubleKeyFrame
;
393 class EasingFunctionBase
;
394 class EasingPointKeyFrame
;
398 class EllipseGeometry
;
399 class ErrorEventArgs
;
401 class EventListenerProxy
;
404 class ExponentialEase
;
406 class ExternalDecoder
;
407 class ExternalDecoderInfo
;
408 class ExternalDemuxer
;
410 class ExternalPartCollection
;
412 class FfmpegDecoderInfo
;
414 class FileDownloader
;
418 class FrameworkElement
;
419 class FrameworkElementProvider
;
420 class FrameworkTemplate
;
421 class GeneralTransform
;
423 class GeometryCollection
;
428 class GradientStopCollection
;
432 class HitTestCollection
;
434 class IconCollection
;
436 class IImageConverter
;
439 class ImageErrorEventArgs
;
446 class InheritedPropertyValueProvider
;
449 class InlineCollection
;
451 class InternalDownloader
;
452 class ItemCollection
;
453 class ITextAttributes
;
457 class KeyFrameCollection
;
459 class LayoutInformation
;
461 class LinearColorKeyFrame
;
462 class LinearDoubleKeyFrame
;
463 class LinearGradientBrush
;
464 class LinearPointKeyFrame
;
469 class LocalPropertyValueProvider
;
470 class LogReadyRoutedEventArgs
;
471 class ManagedStreamSource
;
472 class ManualTimeSource
;
476 class Matrix3DProjection
;
477 class MatrixTransform
;
479 class MediaAttribute
;
480 class MediaAttributeCollection
;
483 class MediaDisposeObjectClosure
;
485 class MediaElementPropertyValueProvider
;
487 class MediaGetFrameClosure
;
490 class MediaMarkerFoundClosure
;
492 class MediaReportFrameCompletedClosure
;
493 class MediaReportSeekCompletedClosure
;
494 class MediaSeekClosure
;
495 class MediaThreadPool
;
500 class MmsPlaylistEntry
;
501 class MmsSecondDownloader
;
504 class MoonlightConfiguration
;
507 class MoonWindowless
;
508 class MouseButtonEventArgs
;
509 class MouseEventArgs
;
510 class MouseWheelEventArgs
;
512 class Mp3DemuxerInfo
;
513 class Mp3FrameReader
;
514 class MultiScaleImage
;
515 class MultiScaleImagePropertyValueProvider
;
516 class MultiScaleSubImage
;
517 class MultiScaleSubImageCollection
;
518 class MultiScaleTileSource
;
521 class NPStreamRequest
;
523 class NullDecoderInfo
;
524 class ObjectAnimationUsingKeyFrames
;
525 class ObjectKeyFrame
;
526 class ObjectKeyFrameCollection
;
528 class OutOfBrowserSettings
;
530 class ParallelTimeline
;
531 class ParserErrorEventArgs
;
532 class PassThroughDecoder
;
533 class PassThroughDecoderInfo
;
537 class PathFigureCollection
;
540 class PathSegmentCollection
;
542 class PlaneProjection
;
547 class PlaylistParser
;
548 class PlaylistParserInternal
;
550 class PluginDownloader
;
551 class PluginInstance
;
552 class PluginXamlLoader
;
553 class PointAnimation
;
554 class PointAnimationUsingKeyFrames
;
555 class PointCollection
;
557 class PointKeyFrameCollection
;
558 class PolyBezierSegment
;
561 class PolyLineSegment
;
562 class PolyQuadraticBezierSegment
;
565 class ProgressEventArgs
;
566 class ProgressiveSource
;
568 class PropertyChangedEventArgs
;
569 class PropertyValueProvider
;
572 class QuadraticBezierSegment
;
577 class RadialGradientBrush
;
579 class RectangleGeometry
;
581 class RenderingEventArgs
;
583 class ResourceDictionary
;
584 class ResourceDictionaryCollection
;
585 class ResourceDictionaryIterator
;
586 class RotateTransform
;
587 class RoutedEventArgs
;
589 class RowDefinitionCollection
;
591 class ScaleTransform
;
594 class SetterBaseCollection
;
598 class SizeChangedEventArgs
;
600 class SolidColorBrush
;
601 class SplineColorKeyFrame
;
602 class SplineDoubleKeyFrame
;
603 class SplinePointKeyFrame
;
607 class StrokeCollection
;
609 class StylePropertyValueProvider
;
612 class StylusPointCollection
;
614 class SystemTimeSource
;
615 class TabNavigationWalker
;
619 class TextBoxModelChangedEventArgs
;
621 class TextChangedEventArgs
;
623 class TextFontDescription
;
625 class TextLayoutAttributes
;
630 class TimelineCollection
;
632 class TimelineMarker
;
633 class TimelineMarkerCollection
;
634 class TimelineMarkerRoutedEventArgs
;
637 class ToggleNotifyListener
;
640 class TouchPointCollection
;
642 class TransformCollection
;
643 class TransformGroup
;
644 class TranslateTransform
;
646 class TriggerActionCollection
;
648 class TriggerCollection
;
652 class UIElementCollection
;
654 class UnmanagedMatrix
;
655 class UnmanagedMatrix3D
;
661 class VisualTreeWalker
;
662 class WindowSettings
;
663 class WriteableBitmap
;
668 class YUVConverterInfo
;
670 struct asf_bitrate_mutual_exclusion
;
671 struct asf_codec_list
;
672 struct asf_content_description
;
674 struct asf_error_correction
;
675 struct asf_error_correction_data
;
676 struct asf_extended_content_description
;
677 struct asf_extended_stream_name
;
678 struct asf_extended_stream_properties
;
679 struct asf_file_properties
;
682 struct asf_header_extension
;
684 struct asf_marker_entry
;
685 struct asf_multiple_payloads
;
687 struct asf_payload_extension_system
;
688 struct asf_payload_parsing_information
;
689 struct asf_script_command
;
690 struct asf_script_command_entry
;
691 struct asf_single_payload
;
692 struct asf_stream_bitrate_properties
;
693 struct asf_stream_properties
;
694 struct asf_video_stream_data
;
696 struct ASFFrameReaderData
;
697 struct ASFFrameReaderIndex
;
699 struct BITMAPINFOHEADER
;
703 struct FontFaceExtents
;
713 struct ManagedStreamCallbacks
;
714 struct ManagedTypeInfo
;
715 struct MmsDataPacket
;
717 struct MmsHeaderReason
;
719 struct MoonlightCollectionObject
;
720 struct MoonlightCollectionType
;
721 struct MoonlightContentObject
;
722 struct MoonlightContentType
;
723 struct MoonlightControlObject
;
724 struct MoonlightControlType
;
725 struct MoonlightCornerRadius
;
726 struct MoonlightCornerRadiusType
;
727 struct MoonlightDependencyObjectObject
;
728 struct MoonlightDependencyObjectType
;
729 struct MoonlightDownloaderObject
;
730 struct MoonlightDownloaderType
;
731 struct MoonlightDownloadProgressEventArgs
;
732 struct MoonlightDownloadProgressEventArgsType
;
733 struct MoonlightDuration
;
734 struct MoonlightDurationType
;
735 struct MoonlightErrorEventArgs
;
736 struct MoonlightErrorEventArgsType
;
737 struct MoonlightEventArgs
;
738 struct MoonlightEventArgsType
;
739 struct MoonlightEventObjectObject
;
740 struct MoonlightEventObjectType
;
741 struct MoonlightGridLength
;
742 struct MoonlightGridLengthType
;
743 struct MoonlightImageBrushObject
;
744 struct MoonlightImageBrushType
;
745 struct MoonlightImageObject
;
746 struct MoonlightImageType
;
747 struct MoonlightKeyEventArgsObject
;
748 struct MoonlightKeyEventArgsType
;
749 struct MoonlightKeyTime
;
750 struct MoonlightKeyTimeType
;
751 struct MoonlightMediaElementObject
;
752 struct MoonlightMediaElementType
;
753 struct MoonlightMouseEventArgsObject
;
754 struct MoonlightMouseEventArgsType
;
755 struct MoonlightMultiScaleImageObject
;
756 struct MoonlightMultiScaleImageType
;
757 struct MoonlightObject
;
758 struct MoonlightObjectType
;
759 struct MoonlightPasswordBoxObject
;
760 struct MoonlightPasswordBoxType
;
761 struct MoonlightPoint
;
762 struct MoonlightPointType
;
763 struct MoonlightRect
;
764 struct MoonlightRectType
;
765 struct MoonlightRoutedEventArgs
;
766 struct MoonlightRoutedEventArgsType
;
767 struct MoonlightScriptableObjectObject
;
768 struct MoonlightScriptableObjectType
;
769 struct MoonlightScriptControlObject
;
770 struct MoonlightScriptControlType
;
771 struct MoonlightSettingsObject
;
772 struct MoonlightSettingsType
;
773 struct MoonlightStoryboardObject
;
774 struct MoonlightStoryboardType
;
775 struct MoonlightStrokeCollectionObject
;
776 struct MoonlightStrokeCollectionType
;
777 struct MoonlightStrokeObject
;
778 struct MoonlightStrokeType
;
779 struct MoonlightStylusInfoObject
;
780 struct MoonlightStylusInfoType
;
781 struct MoonlightStylusPointCollectionObject
;
782 struct MoonlightStylusPointCollectionType
;
783 struct MoonlightTextBlockObject
;
784 struct MoonlightTextBlockType
;
785 struct MoonlightTextBoxObject
;
786 struct MoonlightTextBoxType
;
787 struct MoonlightThickness
;
788 struct MoonlightThicknessType
;
789 struct MoonlightTimelineMarkerRoutedEventArgsObject
;
790 struct MoonlightTimelineMarkerRoutedEventArgsType
;
791 struct MoonlightTimeSpan
;
792 struct MoonlightTimeSpanType
;
793 struct MoonlightUIElementObject
;
794 struct MoonlightUIElementType
;
795 struct MoonNameIdMapping
;
797 struct MpegFrameHeader
;
798 struct MpegVBRHeader
;
802 struct RepeatBehavior
;
805 struct TextLayoutGlyphCluster
;
806 struct TextLayoutLine
;
807 struct TextLayoutRun
;
812 struct WAVEFORMATEXTENSIBLE
;
813 struct XamlCallbackData
;
814 struct XamlLoaderCallbacks
;
816 typedef void ( * ApplyDefaultStyleCallback
) ( FrameworkElement
* fwe
, ManagedTypeInfo
* key
) ;
817 typedef void ( * ApplyStyleCallback
) ( FrameworkElement
* fwe
, Style
* style
) ;
818 typedef void * ( * ConvertKeyframeValueCallback
) ( int kind
, DependencyProperty
* property
, Value
* original
, Value
* converted
) ;
819 typedef ManagedStreamCallbacks ( * GetResourceCallback
) ( const char * resourceBase
, const char * name
) ;
820 typedef void ( * TickCallHandler
) ( EventObject
* object
) ;
821 typedef void ( * EventHandler
) ( EventObject
* sender
, EventArgs
* args
, gpointer closure
) ;
822 typedef void ( * ToggleNotifyHandler
) ( EventObject
* sender
, bool isLastRef
) ;
823 typedef void ( * PropertyChangeHandler
) ( DependencyObject
* sender
, PropertyChangedEventArgs
* args
, MoonError
* error
, gpointer closure
) ;
824 typedef void ( * DownloaderResponseHeaderCallback
) ( gpointer context
, const char * header
, const char * value
) ;
825 typedef void ( * DownloaderWriteFunc
) ( void * buf
, gint32 offset
, gint32 n
, gpointer cb_data
) ;
826 typedef void ( * DownloaderNotifySizeFunc
) ( gint64 size
, gpointer cb_data
) ;
827 typedef gpointer ( * DownloaderCreateStateFunc
) ( Downloader
* dl
) ;
828 typedef void ( * DownloaderDestroyStateFunc
) ( gpointer state
) ;
829 typedef void ( * DownloaderOpenFunc
) ( gpointer state
, const char * verb
, const char * uri
, bool custom_header_support
, bool disable_cache
) ;
830 typedef void ( * DownloaderSendFunc
) ( gpointer state
) ;
831 typedef void ( * DownloaderAbortFunc
) ( gpointer state
) ;
832 typedef void ( * DownloaderHeaderFunc
) ( gpointer state
, const char * header
, const char * value
) ;
833 typedef void ( * DownloaderBodyFunc
) ( gpointer state
, void * body
, guint32 length
) ;
834 typedef gpointer ( * DownloaderCreateWebRequestFunc
) ( const char * method
, const char * uri
, gpointer context
) ;
835 typedef void ( * DownloaderSetResponseHeaderCallbackFunc
) ( gpointer state
, DownloaderResponseHeaderCallback callback
, gpointer context
) ;
836 typedef DownloaderResponse
* ( * DownloaderGetResponseFunc
) ( gpointer state
) ;
837 typedef guint32 ( * DownloaderResponseStartedHandler
) ( DownloaderResponse
* response
, gpointer context
) ;
838 typedef guint32 ( * DownloaderResponseDataAvailableHandler
) ( DownloaderResponse
* response
, gpointer context
, char * buffer
, guint32 length
) ;
839 typedef guint32 ( * DownloaderResponseFinishedHandler
) ( DownloaderResponse
* response
, gpointer context
, bool success
, gpointer data
, const char * uri
) ;
840 typedef double ( * EasingFunction
) ( double normalizedTime
) ;
841 typedef Size ( * MeasureOverrideCallback
) ( Size availableSize
) ;
842 typedef Size ( * ArrangeOverrideCallback
) ( Size finalSize
) ;
843 typedef UIElement
* ( * GetDefaultTemplateCallback
) ( FrameworkElement
* element
) ;
844 typedef void ( * LoadedCallback
) ( FrameworkElement
* element
) ;
845 typedef void ( * CloseDemuxerCallback
) ( void * instance
) ;
846 typedef void ( * GetDiagnosticAsyncCallback
) ( void * instance
, int diagnosticKind
) ;
847 typedef void ( * GetFrameAsyncCallback
) ( void * instance
, int mediaStreamType
) ;
848 typedef void ( * OpenDemuxerAsyncCallback
) ( void * instance
, IMediaDemuxer
* demuxer
) ;
849 typedef void ( * SeekAsyncCallback
) ( void * instance
, guint64 seekToTime
) ;
850 typedef void ( * SwitchMediaStreamAsyncCallback
) ( void * instance
, IMediaStream
* mediaStreamDescription
) ;
851 typedef void ( * ExternalDecoder_DecodeFrameAsyncCallback
) ( void * instance
, MediaFrame
* frame
) ;
852 typedef void ( * ExternalDecoder_OpenDecoderAsyncCallback
) ( void * instance
) ;
853 typedef void ( * ExternalDecoder_CleanupCallback
) ( void * instance
, MediaFrame
* frame
) ;
854 typedef void ( * ExternalDecoder_CleanStateCallback
) ( void * instance
) ;
855 typedef bool ( * ExternalDecoder_HasDelayedFrameCallback
) ( void * instance
) ;
856 typedef void ( * ExternalDecoder_DisposeCallback
) ( void * instance
) ;
857 typedef void ( * ExternalDecoder_DtorCallback
) ( void * instance
) ;
858 typedef bool ( * ExternalDecoderInfo_SupportsCallback
) ( void * instance
, const char * codec
) ;
859 typedef IMediaDecoder
* ( * ExternalDecoderInfo_Create
) ( void * instance
, Media
* media
, IMediaStream
* stream
) ;
860 typedef void ( * ExternalDecoderInfo_dtor
) ( void * instance
) ;
861 typedef bool ( * get_image_uri_func
) ( int level
, int posX
, int posY
, Uri
* uri
, void * user_data
) ;
862 typedef gint64 TimeSpan
;
870 /* @GeneratePInvoke */
871 Application
*application_new (void);
873 /* @GeneratePInvoke */
874 Application
*application_get_current (void);
876 /* @GeneratePInvoke */
877 void application_register_callbacks (Application
*instance
, ApplyDefaultStyleCallback apply_default_style_cb
, ApplyStyleCallback apply_style_cb
, GetResourceCallback get_resource_cb
, ConvertKeyframeValueCallback convert_keyframe_callback
);
879 /* @GeneratePInvoke */
880 void application_set_current (Application
*current
);
885 /* @GeneratePInvoke */
886 ArcSegment
*arc_segment_new (void);
891 /* @GeneratePInvoke */
892 AssemblyPart
*assembly_part_new (void);
895 * AssemblyPartCollection
897 /* @GeneratePInvoke */
898 AssemblyPartCollection
*assembly_part_collection_new (void);
903 /* @GeneratePInvoke */
904 AudioStream
*audio_stream_new (Media
*media
, int codec_id
, int bits_per_sample
, int block_align
, int sample_rate
, int channels
, int bit_rate
, gpointer extra_data
, guint32 extra_data_size
);
906 int audio_stream_get_bit_rate (AudioStream
*instance
);
908 int audio_stream_get_bits_per_sample (AudioStream
*instance
);
910 int audio_stream_get_block_align (AudioStream
*instance
);
912 int audio_stream_get_channels (AudioStream
*instance
);
914 int audio_stream_get_input_bit_rate (AudioStream
*instance
);
916 int audio_stream_get_input_bits_per_sample (AudioStream
*instance
);
918 int audio_stream_get_input_block_align (AudioStream
*instance
);
920 int audio_stream_get_input_channels (AudioStream
*instance
);
922 int audio_stream_get_input_sample_rate (AudioStream
*instance
);
924 int audio_stream_get_output_bit_rate (AudioStream
*instance
);
926 int audio_stream_get_output_bits_per_sample (AudioStream
*instance
);
928 int audio_stream_get_output_block_align (AudioStream
*instance
);
930 int audio_stream_get_output_channels (AudioStream
*instance
);
932 int audio_stream_get_output_sample_rate (AudioStream
*instance
);
934 int audio_stream_get_sample_rate (AudioStream
*instance
);
936 void audio_stream_set_bit_rate (AudioStream
*instance
, int value
);
938 void audio_stream_set_bits_per_sample (AudioStream
*instance
, int value
);
940 void audio_stream_set_block_align (AudioStream
*instance
, int value
);
942 void audio_stream_set_channels (AudioStream
*instance
, int value
);
944 void audio_stream_set_input_bit_rate (AudioStream
*instance
, int value
);
946 void audio_stream_set_input_bits_per_sample (AudioStream
*instance
, int value
);
948 void audio_stream_set_input_block_align (AudioStream
*instance
, int value
);
950 void audio_stream_set_input_channels (AudioStream
*instance
, int value
);
952 void audio_stream_set_input_sample_rate (AudioStream
*instance
, int value
);
954 void audio_stream_set_output_bit_rate (AudioStream
*instance
, int value
);
956 void audio_stream_set_output_bits_per_sample (AudioStream
*instance
, int value
);
958 void audio_stream_set_output_block_align (AudioStream
*instance
, int value
);
960 void audio_stream_set_output_channels (AudioStream
*instance
, int value
);
962 void audio_stream_set_output_sample_rate (AudioStream
*instance
, int value
);
964 void audio_stream_set_sample_rate (AudioStream
*instance
, int value
);
969 /* @GeneratePInvoke */
970 BackEase
*back_ease_new (void);
972 /* @GeneratePInvoke */
973 double back_ease_ease_in_core (BackEase
*instance
, double normalizedTime
);
978 /* @GeneratePInvoke */
979 BeginStoryboard
*begin_storyboard_new (void);
984 /* @GeneratePInvoke */
985 BezierSegment
*bezier_segment_new (void);
990 /* @GeneratePInvoke */
991 BitmapCache
*bitmap_cache_new (void);
996 /* @GeneratePInvoke */
997 BitmapImage
*bitmap_image_new (void);
999 /* @GeneratePInvoke */
1000 void bitmap_image_pixbuf_write (BitmapImage
*instance
, gpointer buffer
, gint32 offset
, gint32 n
);
1002 /* @GeneratePInvoke */
1003 void bitmap_image_pixmap_complete (BitmapImage
*instance
);
1008 /* @GeneratePInvoke */
1009 BitmapSource
*bitmap_source_new (void);
1011 /* @GeneratePInvoke */
1012 gpointer
bitmap_source_get_bitmap_data (BitmapSource
*instance
);
1014 /* @GeneratePInvoke */
1015 void bitmap_source_invalidate (BitmapSource
*instance
);
1017 /* @GeneratePInvoke */
1018 void bitmap_source_set_bitmap_data (BitmapSource
*instance
, gpointer data
, bool own
);
1023 /* @GeneratePInvoke */
1024 BlurEffect
*blur_effect_new (void);
1029 /* @GeneratePInvoke */
1030 Border
*border_new (void);
1035 /* @GeneratePInvoke */
1036 BounceEase
*bounce_ease_new (void);
1038 /* @GeneratePInvoke */
1039 double bounce_ease_ease_in_core (BounceEase
*instance
, double normalizedTime
);
1044 /* @GeneratePInvoke */
1045 Brush
*brush_new (void);
1050 /* @GeneratePInvoke */
1051 CacheMode
*cache_mode_new (void);
1056 /* @GeneratePInvoke */
1057 Canvas
*canvas_new (void);
1062 /* @GeneratePInvoke */
1063 CircleEase
*circle_ease_new (void);
1065 /* @GeneratePInvoke */
1066 double circle_ease_ease_in_core (CircleEase
*instance
, double normalizedTime
);
1071 /* @GeneratePInvoke */
1072 int collection_add_with_error (Collection
*instance
, Value
*value
, MoonError
*error
);
1074 /* @GeneratePInvoke */
1075 bool collection_clear (Collection
*instance
);
1077 /* @GeneratePInvoke */
1078 bool collection_contains (Collection
*instance
, Value
*value
);
1080 /* @GeneratePInvoke */
1081 int collection_get_count (Collection
*instance
);
1083 /* @GeneratePInvoke */
1084 int collection_get_element_type (Collection
*instance
);
1086 /* @GeneratePInvoke */
1087 CollectionIterator
*collection_get_iterator (Collection
*instance
);
1089 /* @GeneratePInvoke */
1090 Value
*collection_get_value_at_with_error (Collection
*instance
, int index
, MoonError
*error
);
1092 /* @GeneratePInvoke */
1093 int collection_index_of (Collection
*instance
, Value
*value
);
1095 /* @GeneratePInvoke */
1096 bool collection_insert_with_error (Collection
*instance
, int index
, Value
*value
, MoonError
*error
);
1098 /* @GeneratePInvoke */
1099 bool collection_remove (Collection
*instance
, Value
*value
);
1101 /* @GeneratePInvoke */
1102 bool collection_remove_at_with_error (Collection
*instance
, int index
, MoonError
*error
);
1104 /* @GeneratePInvoke */
1105 bool collection_set_value_at_with_error (Collection
*instance
, int index
, Value
*value
, MoonError
*error
);
1108 * CollectionChangedEventArgs
1110 /* @GeneratePInvoke */
1111 CollectionChangedEventArgs
*collection_changed_event_args_new (void);
1113 /* @GeneratePInvoke */
1114 int collection_changed_event_args_get_changed_action (CollectionChangedEventArgs
*instance
);
1116 /* @GeneratePInvoke */
1117 int collection_changed_event_args_get_index (CollectionChangedEventArgs
*instance
);
1119 /* @GeneratePInvoke */
1120 Value
*collection_changed_event_args_get_new_item (CollectionChangedEventArgs
*instance
);
1122 /* @GeneratePInvoke */
1123 Value
*collection_changed_event_args_get_old_item (CollectionChangedEventArgs
*instance
);
1125 /* @GeneratePInvoke */
1126 void collection_changed_event_args_set_changed_action (CollectionChangedEventArgs
*instance
, int action
);
1128 /* @GeneratePInvoke */
1129 void collection_changed_event_args_set_index (CollectionChangedEventArgs
*instance
, int index
);
1131 /* @GeneratePInvoke */
1132 void collection_changed_event_args_set_new_item (CollectionChangedEventArgs
*instance
, Value
*item
);
1134 /* @GeneratePInvoke */
1135 void collection_changed_event_args_set_old_item (CollectionChangedEventArgs
*instance
, Value
*item
);
1138 * CollectionIterator
1140 /* @GeneratePInvoke */
1141 void collection_iterator_destroy (CollectionIterator
*iterator
);
1143 /* @GeneratePInvoke */
1144 Value
*collection_iterator_get_current (CollectionIterator
*instance
, MoonError
*error
);
1146 /* @GeneratePInvoke */
1147 bool collection_iterator_next (CollectionIterator
*instance
, MoonError
*error
);
1149 /* @GeneratePInvoke */
1150 bool collection_iterator_reset (CollectionIterator
*instance
);
1155 /* @GeneratePInvoke */
1156 ColorAnimation
*color_animation_new (void);
1159 * ColorAnimationUsingKeyFrames
1161 /* @GeneratePInvoke */
1162 ColorAnimationUsingKeyFrames
*color_animation_using_key_frames_new (void);
1167 /* @GeneratePInvoke */
1168 ColorKeyFrame
*color_key_frame_new (void);
1171 * ColorKeyFrameCollection
1173 /* @GeneratePInvoke */
1174 ColorKeyFrameCollection
*color_key_frame_collection_new (void);
1179 /* @GeneratePInvoke */
1180 ColumnDefinition
*column_definition_new (void);
1183 * ColumnDefinitionCollection
1185 /* @GeneratePInvoke */
1186 ColumnDefinitionCollection
*column_definition_collection_new (void);
1189 * ContentChangedEventArgs
1191 /* @GeneratePInvoke */
1192 Value
*content_changed_event_args_get_new_content (ContentChangedEventArgs
*instance
);
1194 /* @GeneratePInvoke */
1195 Value
*content_changed_event_args_get_old_content (ContentChangedEventArgs
*instance
);
1200 /* @GeneratePInvoke */
1201 ContentControl
*content_control_new (void);
1203 /* @GeneratePInvoke */
1204 bool content_control_get_content_sets_parent (ContentControl
*instance
);
1206 /* @GeneratePInvoke */
1207 void content_control_set_content_sets_parent (ContentControl
*instance
, bool value
);
1212 /* @GeneratePInvoke */
1213 Control
*control_new (void);
1215 /* @GeneratePInvoke */
1216 DependencyObject
*control_get_template_child (Control
*instance
, const char *name
);
1221 /* @GeneratePInvoke */
1222 ControlTemplate
*control_template_new (void);
1227 /* @GeneratePInvoke */
1228 CubicEase
*cubic_ease_new (void);
1230 /* @GeneratePInvoke */
1231 double cubic_ease_ease_in_core (CubicEase
*instance
, double normalizedTime
);
1234 * CursorPositionChangedEventArgs
1236 /* @GeneratePInvoke */
1237 CursorPositionChangedEventArgs
*cursor_position_changed_event_args_new (void);
1239 /* @GeneratePInvoke */
1240 double cursor_position_changed_event_args_get_cursor_height (CursorPositionChangedEventArgs
*instance
);
1242 /* @GeneratePInvoke */
1243 double cursor_position_changed_event_args_get_cursor_x (CursorPositionChangedEventArgs
*instance
);
1245 /* @GeneratePInvoke */
1246 double cursor_position_changed_event_args_get_cursor_y (CursorPositionChangedEventArgs
*instance
);
1251 /* @GeneratePInvoke */
1252 DataTemplate
*data_template_new (void);
1255 * DeepZoomImageTileSource
1257 /* @GeneratePInvoke */
1258 DeepZoomImageTileSource
*deep_zoom_image_tile_source_new (void);
1263 /* @GeneratePInvoke */
1264 void dependency_object_add_property_change_handler (DependencyObject
*instance
, DependencyProperty
*property
, PropertyChangeHandler cb
, gpointer closure
);
1266 /* @GeneratePInvoke */
1267 void dependency_object_clear_value (DependencyObject
*instance
, DependencyProperty
*property
, bool notify_listeners
, MoonError
*error
);
1269 /* @GeneratePInvoke */
1270 DependencyObject
*dependency_object_new (void);
1272 /* @GeneratePInvoke */
1273 DependencyObject
*dependency_object_find_name (DependencyObject
*instance
, const char *name
, int *element_kind
);
1275 /* @GeneratePInvoke */
1276 const char *dependency_object_get_name (DependencyObject
*instance
);
1278 /* @GeneratePInvoke */
1279 DependencyObject
*dependency_object_get_template_owner (DependencyObject
*instance
);
1281 /* @GeneratePInvoke */
1282 Value
*dependency_object_get_value_no_default_with_error (DependencyObject
*instance
, DependencyProperty
*property
, MoonError
*error
);
1284 /* @GeneratePInvoke */
1285 Value
*dependency_object_get_value_with_error (DependencyObject
*instance
, int whatami
, DependencyProperty
*property
, MoonError
*error
);
1287 /* @GeneratePInvoke */
1288 Value
*dependency_object_read_local_value_with_error (DependencyObject
*instance
, DependencyProperty
*property
, MoonError
*error
);
1290 /* @GeneratePInvoke */
1291 void dependency_object_remove_property_change_handler (DependencyObject
*instance
, DependencyProperty
*property
, PropertyChangeHandler cb
);
1293 /* @GeneratePInvoke */
1294 void dependency_object_set_name (DependencyObject
*instance
, const char *name
);
1296 /* @GeneratePInvoke */
1297 void dependency_object_set_parent_safe (DependencyObject
*instance
, DependencyObject
*parent
, MoonError
*error
);
1299 /* @GeneratePInvoke */
1300 void dependency_object_set_template_owner (DependencyObject
*instance
, DependencyObject
*value
);
1302 /* @GeneratePInvoke */
1303 bool dependency_object_set_value_with_error (DependencyObject
*instance
, DependencyProperty
*property
, Value
*value
, MoonError
*error
);
1306 * DependencyObjectCollection
1308 /* @GeneratePInvoke */
1309 DependencyObjectCollection
*dependency_object_collection_new (void);
1312 * DependencyProperty
1314 /* @GeneratePInvoke */
1315 Value
*dependency_property_get_default_value (DependencyProperty
*instance
);
1317 /* @GeneratePInvoke */
1318 DependencyProperty
*dependency_property_get_dependency_property (int type
, const char *name
);
1320 /* @GeneratePInvoke */
1321 DependencyProperty
*dependency_property_get_dependency_property_full (int type
, const char *name
, bool inherits
);
1323 /* @GeneratePInvoke */
1324 const char *dependency_property_get_name (DependencyProperty
*instance
);
1326 /* @GeneratePInvoke */
1327 int dependency_property_get_property_type (DependencyProperty
*instance
);
1329 /* @GeneratePInvoke */
1330 bool dependency_property_is_attached (DependencyProperty
*instance
);
1332 /* @GeneratePInvoke */
1333 bool dependency_property_is_nullable (DependencyProperty
*instance
);
1335 /* @GeneratePInvoke */
1336 bool dependency_property_is_read_only (DependencyProperty
*instance
);
1338 /* @GeneratePInvoke */
1339 DependencyProperty
*dependency_property_register_core_property (const char *name
, int property_type
, int owner_type
, Value
*defaultValue
, bool attached
, bool read_only
, PropertyChangeHandler callback
);
1341 /* @GeneratePInvoke */
1342 DependencyProperty
*dependency_property_register_custom_property (const char *name
, int property_type
, int owner_type
, Value
*defaultValue
, bool attached
, bool read_only
, PropertyChangeHandler callback
);
1344 /* @GeneratePInvoke */
1345 void dependency_property_set_is_nullable (DependencyProperty
*instance
, bool value
);
1347 /* @GeneratePInvoke */
1348 void dependency_property_set_property_changed_callback (DependencyProperty
*instance
, PropertyChangeHandler changed_callback
);
1353 /* @GeneratePInvoke */
1354 Deployment
*deployment_new (void);
1356 /* @GeneratePInvoke */
1357 Deployment
*deployment_get_current (void);
1359 /* @GeneratePInvoke */
1360 Surface
*deployment_get_surface_reffed (Deployment
*instance
);
1362 /* @GeneratePInvoke */
1363 Types
*deployment_get_types (Deployment
*instance
);
1365 /* @GeneratePInvoke */
1366 void deployment_set_current (Deployment
*value
);
1368 /* @GeneratePInvoke */
1369 void deployment_set_current_application (Deployment
*instance
, Application
*value
);
1371 /* @GeneratePInvoke */
1372 void deployment_set_is_loaded_from_xap (Deployment
*instance
, bool flag
);
1375 * DiscreteColorKeyFrame
1377 /* @GeneratePInvoke */
1378 DiscreteColorKeyFrame
*discrete_color_key_frame_new (void);
1381 * DiscreteDoubleKeyFrame
1383 /* @GeneratePInvoke */
1384 DiscreteDoubleKeyFrame
*discrete_double_key_frame_new (void);
1387 * DiscreteObjectKeyFrame
1389 /* @GeneratePInvoke */
1390 DiscreteObjectKeyFrame
*discrete_object_key_frame_new (void);
1393 * DiscretePointKeyFrame
1395 /* @GeneratePInvoke */
1396 DiscretePointKeyFrame
*discrete_point_key_frame_new (void);
1401 /* @GeneratePInvoke */
1402 DispatcherTimer
*dispatcher_timer_new (void);
1404 /* @GeneratePInvoke */
1405 void dispatcher_timer_start (DispatcherTimer
*instance
);
1407 /* @GeneratePInvoke */
1408 void dispatcher_timer_stop (DispatcherTimer
*instance
);
1413 /* @GeneratePInvoke */
1414 DoubleAnimation
*double_animation_new (void);
1417 * DoubleAnimationUsingKeyFrames
1419 /* @GeneratePInvoke */
1420 DoubleAnimationUsingKeyFrames
*double_animation_using_key_frames_new (void);
1425 /* @GeneratePInvoke */
1426 DoubleCollection
*double_collection_new (void);
1431 /* @GeneratePInvoke */
1432 DoubleKeyFrame
*double_key_frame_new (void);
1435 * DoubleKeyFrameCollection
1437 /* @GeneratePInvoke */
1438 DoubleKeyFrameCollection
*double_key_frame_collection_new (void);
1443 /* @GeneratePInvoke */
1444 void *downloader_create_web_request (Downloader
*instance
, const char *method
, const char *uri
);
1446 /* @GeneratePInvoke */
1447 Downloader
*downloader_new (void);
1449 /* @GeneratePInvoke */
1450 void downloader_notify_failed (Downloader
*instance
, const char *msg
);
1452 /* @GeneratePInvoke */
1453 void downloader_notify_finished (Downloader
*instance
, const char *final_uri
);
1455 /* @GeneratePInvoke */
1456 void downloader_notify_size (Downloader
*instance
, gint64 size
);
1458 /* @GeneratePInvoke */
1459 void downloader_set_functions (DownloaderCreateStateFunc create_state
, DownloaderDestroyStateFunc destroy_state
, DownloaderOpenFunc open
, DownloaderSendFunc send
, DownloaderAbortFunc abort
, DownloaderHeaderFunc header
, DownloaderBodyFunc body
, DownloaderCreateWebRequestFunc request
, DownloaderSetResponseHeaderCallbackFunc response_header_callback
, DownloaderGetResponseFunc get_response
);
1461 /* @GeneratePInvoke */
1462 void downloader_write (Downloader
*instance
, void *buf
, gint32 offset
, gint32 n
);
1467 /* @GeneratePInvoke */
1468 void downloader_request_free (DownloaderRequest
*instance
);
1470 /* @GeneratePInvoke */
1471 void downloader_request_abort (DownloaderRequest
*instance
);
1473 /* @GeneratePInvoke */
1474 DownloaderResponse
*downloader_request_get_downloader_response (DownloaderRequest
*instance
);
1476 /* @GeneratePInvoke */
1477 bool downloader_request_get_response (DownloaderRequest
*instance
, DownloaderResponseStartedHandler started
, DownloaderResponseDataAvailableHandler available
, DownloaderResponseFinishedHandler finished
, gpointer context
);
1479 /* @GeneratePInvoke */
1480 const bool downloader_request_is_aborted (DownloaderRequest
*instance
);
1482 /* @GeneratePInvoke */
1483 void downloader_request_set_body (DownloaderRequest
*instance
, void *body
, int size
);
1485 /* @GeneratePInvoke */
1486 void downloader_request_set_http_header (DownloaderRequest
*instance
, const char *name
, const char *value
);
1489 * DownloaderResponse
1491 /* @GeneratePInvoke */
1492 void downloader_response_free (DownloaderResponse
*instance
);
1494 /* @GeneratePInvoke */
1495 void downloader_response_abort (DownloaderResponse
*instance
);
1497 /* @GeneratePInvoke */
1498 int downloader_response_get_response_status (DownloaderResponse
*instance
);
1500 /* @GeneratePInvoke */
1501 const char *downloader_response_get_response_status_text (DownloaderResponse
*instance
);
1503 /* @GeneratePInvoke */
1504 void downloader_response_set_header_visitor (DownloaderResponse
*instance
, DownloaderResponseHeaderCallback visitor
, gpointer context
);
1507 * DownloadProgressEventArgs
1509 /* @GeneratePInvoke */
1510 double download_progress_event_args_get_progress (DownloadProgressEventArgs
*instance
);
1515 /* @GeneratePInvoke */
1516 DrawingAttributes
*drawing_attributes_new (void);
1521 /* @GeneratePInvoke */
1522 DropShadowEffect
*drop_shadow_effect_new (void);
1525 * EasingColorKeyFrame
1527 /* @GeneratePInvoke */
1528 EasingColorKeyFrame
*easing_color_key_frame_new (void);
1531 * EasingDoubleKeyFrame
1533 /* @GeneratePInvoke */
1534 EasingDoubleKeyFrame
*easing_double_key_frame_new (void);
1537 * EasingFunctionBase
1539 /* @GeneratePInvoke */
1540 EasingFunctionBase
*easing_function_base_new (void);
1542 /* @GeneratePInvoke */
1543 void easing_function_base_set_easing_function (EasingFunctionBase
*instance
, EasingFunction value
);
1546 * EasingPointKeyFrame
1548 /* @GeneratePInvoke */
1549 EasingPointKeyFrame
*easing_point_key_frame_new (void);
1554 /* @GeneratePInvoke */
1555 Effect
*effect_new (void);
1560 /* @GeneratePInvoke */
1561 double elastic_ease_ease_in_core (ElasticEase
*instance
, double normalizedTime
);
1563 /* @GeneratePInvoke */
1564 ElasticEase
*elastic_ease_new (void);
1569 /* @GeneratePInvoke */
1570 Ellipse
*ellipse_new (void);
1575 /* @GeneratePInvoke */
1576 EllipseGeometry
*ellipse_geometry_new (void);
1581 /* @GeneratePInvoke */
1582 int error_event_args_get_error_code (ErrorEventArgs
*instance
);
1584 /* @GeneratePInvoke */
1585 const char *error_event_args_get_error_message (ErrorEventArgs
*instance
);
1587 /* @GeneratePInvoke */
1588 int error_event_args_get_error_type (ErrorEventArgs
*instance
);
1590 /* @GeneratePInvoke */
1591 gpointer
error_event_args_get_moon_error (ErrorEventArgs
*instance
);
1596 /* @GeneratePInvoke */
1597 int event_object_add_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
, GDestroyNotify data_dtor
);
1599 /* @GeneratePInvoke */
1600 void event_object_add_on_event_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
, GDestroyNotify data_dtor
);
1602 /* @GeneratePInvoke */
1603 void event_object_add_toggle_ref_notifier (EventObject
*instance
, ToggleNotifyHandler tr
);
1605 /* @GeneratePInvoke */
1606 int event_object_add_xaml_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
, GDestroyNotify data_dtor
);
1608 /* @GeneratePInvoke */
1609 void event_object_do_emit_current_context (EventObject
*instance
, int event_id
, EventArgs
*calldata
);
1611 /* @GeneratePInvoke */
1612 int event_object_get_object_type (EventObject
*instance
);
1614 /* @GeneratePInvoke */
1615 const char *event_object_get_type_name (EventObject
*instance
);
1617 /* @GeneratePInvoke */
1618 void event_object_ref (EventObject
*instance
);
1620 /* @GeneratePInvoke */
1621 int event_object_remove_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
);
1623 /* @GeneratePInvoke */
1624 void event_object_remove_on_event_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
);
1626 /* @GeneratePInvoke */
1627 void event_object_remove_toggle_ref_notifier (EventObject
*instance
);
1629 /* @GeneratePInvoke */
1630 void event_object_set_object_type (EventObject
*instance
, int value
);
1632 /* @GeneratePInvoke */
1633 void event_object_unref (EventObject
*instance
);
1638 /* @GeneratePInvoke */
1639 EventTrigger
*event_trigger_new (void);
1644 /* @GeneratePInvoke */
1645 double exponential_ease_ease_in_core (ExponentialEase
*instance
, double normalizedTime
);
1647 /* @GeneratePInvoke */
1648 ExponentialEase
*exponential_ease_new (void);
1653 /* @GeneratePInvoke */
1654 ExtensionPart
*extension_part_new (void);
1659 ExternalDecoder
*external_decoder_new (Media
*media
, IMediaStream
*stream
, void *instance
, const char *name
, ExternalDecoder_DecodeFrameAsyncCallback decode_frame_async
, ExternalDecoder_OpenDecoderAsyncCallback open_decoder_async
, ExternalDecoder_CleanupCallback cleanup
, ExternalDecoder_CleanStateCallback clean_state
, ExternalDecoder_HasDelayedFrameCallback has_delayed_frame
, ExternalDecoder_DisposeCallback dispose
, ExternalDecoder_DtorCallback dtor
);
1662 * ExternalDecoderInfo
1664 ExternalDecoderInfo
*external_decoder_info_new (void *instance
, const char *name
, ExternalDecoderInfo_SupportsCallback supports
, ExternalDecoderInfo_Create create
, ExternalDecoderInfo_dtor dtor
);
1669 /* @GeneratePInvoke */
1670 gint32
external_demuxer_add_stream (ExternalDemuxer
*instance
, IMediaStream
*stream
);
1672 /* @GeneratePInvoke */
1673 void external_demuxer_clear_callbacks (ExternalDemuxer
*instance
);
1675 /* @GeneratePInvoke */
1676 void external_demuxer_set_can_seek (ExternalDemuxer
*instance
, bool value
);
1681 /* @GeneratePInvoke */
1682 ExternalPart
*external_part_new (void);
1685 * ExternalPartCollection
1687 /* @GeneratePInvoke */
1688 ExternalPartCollection
*external_part_collection_new (void);
1693 /* @GeneratePInvoke */
1694 bool framework_element_apply_template (FrameworkElement
*instance
);
1696 /* @GeneratePInvoke */
1697 Size
framework_element_arrange_override (FrameworkElement
*instance
, Size finalSize
);
1699 /* @GeneratePInvoke */
1700 FrameworkElement
*framework_element_new (void);
1702 /* @GeneratePInvoke */
1703 DependencyObject
*framework_element_get_logical_parent (FrameworkElement
*instance
);
1705 /* @GeneratePInvoke */
1706 Size
framework_element_measure_override (FrameworkElement
*instance
, Size availableSize
);
1708 /* @GeneratePInvoke */
1709 void framework_element_register_managed_overrides (FrameworkElement
*instance
, MeasureOverrideCallback measure_cb
, ArrangeOverrideCallback arrange_cb
, GetDefaultTemplateCallback get_default_template_cb
, LoadedCallback loaded_cb
);
1711 /* @GeneratePInvoke */
1712 void framework_element_set_default_style (FrameworkElement
*instance
, Style
*value
);
1714 /* @GeneratePInvoke */
1715 void framework_element_set_logical_parent (FrameworkElement
*instance
, DependencyObject
*logical_parent
, MoonError
*error
);
1720 /* @GeneratePInvoke */
1721 FrameworkTemplate
*framework_template_new (void);
1723 /* @GeneratePInvoke */
1724 DependencyObject
*framework_template_get_visual_tree (FrameworkTemplate
*instance
, FrameworkElement
*templateBindingSource
);
1729 /* @GeneratePInvoke */
1730 GeneralTransform
*general_transform_new (void);
1732 /* @GeneratePInvoke */
1733 Matrix
*general_transform_get_matrix (GeneralTransform
*instance
);
1738 /* @GeneratePInvoke */
1739 Geometry
*geometry_new (void);
1741 /* @GeneratePInvoke */
1742 Rect
geometry_get_bounds (Geometry
*instance
);
1745 * GeometryCollection
1747 /* @GeneratePInvoke */
1748 GeometryCollection
*geometry_collection_new (void);
1753 /* @GeneratePInvoke */
1754 GeometryGroup
*geometry_group_new (void);
1759 /* @GeneratePInvoke */
1760 Glyphs
*glyphs_new (void);
1765 /* @GeneratePInvoke */
1766 GradientBrush
*gradient_brush_new (void);
1771 /* @GeneratePInvoke */
1772 GradientStop
*gradient_stop_new (void);
1775 * GradientStopCollection
1777 /* @GeneratePInvoke */
1778 GradientStopCollection
*gradient_stop_collection_new (void);
1783 /* @GeneratePInvoke */
1784 Grid
*grid_new (void);
1789 /* @GeneratePInvoke */
1790 HitTestCollection
*hit_test_collection_new (void);
1795 /* @GeneratePInvoke */
1796 Icon
*icon_new (void);
1801 /* @GeneratePInvoke */
1802 IconCollection
*icon_collection_new (void);
1807 /* @GeneratePInvoke */
1808 Image
*image_new (void);
1810 /* @GeneratePInvoke */
1811 void image_set_source (Image
*instance
, ImageSource
*source
);
1816 /* @GeneratePInvoke */
1817 ImageBrush
*image_brush_new (void);
1822 /* @GeneratePInvoke */
1823 ImageSource
*image_source_new (void);
1828 void imedia_decoder_report_decode_frame_completed (IMediaDecoder
*instance
, MediaFrame
*frame
);
1830 void imedia_decoder_report_open_decoder_completed (IMediaDecoder
*instance
);
1832 void imedia_decoder_set_pixel_format (IMediaDecoder
*instance
, int value
);
1837 /* @GeneratePInvoke */
1838 void imedia_demuxer_report_get_diagnostic_completed (IMediaDemuxer
*instance
, int diagnosticKind
, gint64 diagnosticValue
);
1840 /* @GeneratePInvoke */
1841 void imedia_demuxer_report_get_frame_completed (IMediaDemuxer
*instance
, MediaFrame
*frame
);
1843 /* @GeneratePInvoke */
1844 void imedia_demuxer_report_get_frame_progress (IMediaDemuxer
*instance
, double bufferingProgress
);
1846 /* @GeneratePInvoke */
1847 void imedia_demuxer_report_open_demuxer_completed (IMediaDemuxer
*instance
);
1849 /* @GeneratePInvoke */
1850 void imedia_demuxer_report_seek_completed (IMediaDemuxer
*instance
, guint64 pts
);
1852 /* @GeneratePInvoke */
1853 void imedia_demuxer_report_switch_media_stream_completed (IMediaDemuxer
*instance
, IMediaStream
*stream
);
1858 /* @GeneratePInvoke */
1859 Media
*imedia_object_get_media_reffed (IMediaObject
*instance
);
1861 void imedia_object_report_error_occurred (IMediaObject
*instance
, const char *message
);
1866 const char *imedia_stream_get_codec (IMediaStream
*instance
);
1868 int imedia_stream_get_codec_id (IMediaStream
*instance
);
1870 guint64
imedia_stream_get_duration (IMediaStream
*instance
);
1872 void *imedia_stream_get_extra_data (IMediaStream
*instance
);
1874 int imedia_stream_get_extra_data_size (IMediaStream
*instance
);
1876 int imedia_stream_get_stream_type (IMediaStream
*instance
);
1878 void imedia_stream_set_codec_id (IMediaStream
*instance
, int value
);
1880 void imedia_stream_set_duration (IMediaStream
*instance
, guint64 value
);
1882 void imedia_stream_set_extra_data (IMediaStream
*instance
, void *value
);
1884 void imedia_stream_set_extra_data_size (IMediaStream
*instance
, int value
);
1889 /* @GeneratePInvoke */
1890 InkPresenter
*ink_presenter_new (void);
1895 /* @GeneratePInvoke */
1896 Inline
*inline_new (void);
1901 /* @GeneratePInvoke */
1902 InlineCollection
*inline_collection_new (void);
1907 /* @GeneratePInvoke */
1908 InputMethod
*input_method_new (void);
1913 /* @GeneratePInvoke */
1914 ItemCollection
*item_collection_new (void);
1919 /* @GeneratePInvoke */
1920 int keyboard_get_modifiers (void);
1925 /* @GeneratePInvoke */
1926 int key_event_args_get_key (KeyEventArgs
*instance
);
1928 /* @GeneratePInvoke */
1929 int key_event_args_get_platform_key_code (KeyEventArgs
*instance
);
1931 /* @GeneratePInvoke */
1932 KeyEventArgs
*key_event_args_new (void);
1935 * KeyFrameCollection
1937 /* @GeneratePInvoke */
1938 KeyFrameCollection
*key_frame_collection_new (void);
1943 /* @GeneratePInvoke */
1944 KeySpline
*key_spline_new (void);
1949 /* @GeneratePInvoke */
1950 Line
*line_new (void);
1953 * LinearColorKeyFrame
1955 /* @GeneratePInvoke */
1956 LinearColorKeyFrame
*linear_color_key_frame_new (void);
1959 * LinearDoubleKeyFrame
1961 /* @GeneratePInvoke */
1962 LinearDoubleKeyFrame
*linear_double_key_frame_new (void);
1965 * LinearGradientBrush
1967 /* @GeneratePInvoke */
1968 LinearGradientBrush
*linear_gradient_brush_new (void);
1971 * LinearPointKeyFrame
1973 /* @GeneratePInvoke */
1974 LinearPointKeyFrame
*linear_point_key_frame_new (void);
1979 /* @GeneratePInvoke */
1980 LineBreak
*line_break_new (void);
1985 /* @GeneratePInvoke */
1986 LineGeometry
*line_geometry_new (void);
1991 /* @GeneratePInvoke */
1992 LineSegment
*line_segment_new (void);
1995 * LogReadyRoutedEventArgs
1997 /* @GeneratePInvoke */
1998 LogReadyRoutedEventArgs
*log_ready_routed_event_args_new (void);
2003 /* @GeneratePInvoke */
2004 cairo_matrix_t
*matrix_get_matrix_values (Matrix
*instance
);
2006 /* @GeneratePInvoke */
2007 Matrix
*matrix_new (void);
2012 /* @GeneratePInvoke */
2013 gpointer
matrix3_d_get_matrix_values (Matrix3D
*instance
);
2015 /* @GeneratePInvoke */
2016 Matrix3D
*matrix3_d_new (void);
2019 * Matrix3DProjection
2021 /* @GeneratePInvoke */
2022 Matrix3DProjection
*matrix3_dprojection_new (void);
2027 /* @GeneratePInvoke */
2028 MatrixTransform
*matrix_transform_new (void);
2033 void media_register_decoder (DecoderInfo
*info
);
2038 /* @GeneratePInvoke */
2039 MediaAttribute
*media_attribute_new (void);
2042 * MediaAttributeCollection
2044 /* @GeneratePInvoke */
2045 MediaAttribute
*media_attribute_collection_get_item_by_name (MediaAttributeCollection
*instance
, const char *name
);
2047 /* @GeneratePInvoke */
2048 MediaAttributeCollection
*media_attribute_collection_new (void);
2053 /* @GeneratePInvoke */
2054 MediaBase
*media_base_new (void);
2056 /* @GeneratePInvoke */
2057 void media_base_set_source (MediaBase
*instance
, const char *uri
);
2062 /* @GeneratePInvoke */
2063 MediaElement
*media_element_new (void);
2065 /* @GeneratePInvoke */
2066 void media_element_pause (MediaElement
*instance
);
2068 /* @GeneratePInvoke */
2069 void media_element_play (MediaElement
*instance
);
2071 /* @GeneratePInvoke */
2072 void media_element_report_error_occurred (MediaElement
*instance
, const char *args
);
2074 /* @GeneratePInvoke */
2075 IMediaDemuxer
*media_element_set_demuxer_source (MediaElement
*instance
, void *context
, CloseDemuxerCallback close_demuxer
, GetDiagnosticAsyncCallback get_diagnostic
, GetFrameAsyncCallback get_sample
, OpenDemuxerAsyncCallback open_demuxer
, SeekAsyncCallback seek
, SwitchMediaStreamAsyncCallback switch_media_stream
);
2077 /* @GeneratePInvoke */
2078 void media_element_set_stream_source (MediaElement
*instance
, ManagedStreamCallbacks
*stream
);
2080 /* @GeneratePInvoke */
2081 void media_element_stop (MediaElement
*instance
);
2086 void media_frame_add_state (MediaFrame
*instance
, int state
);
2088 guint8
*media_frame_get_buffer (MediaFrame
*instance
);
2090 guint32
media_frame_get_buf_len (MediaFrame
*instance
);
2092 gint32
media_frame_get_height (MediaFrame
*instance
);
2094 guint64
media_frame_get_pts (MediaFrame
*instance
);
2096 gint32
media_frame_get_width (MediaFrame
*instance
);
2098 bool media_frame_is_key_frame (MediaFrame
*instance
);
2100 /* @GeneratePInvoke */
2101 MediaFrame
*media_frame_new (IMediaStream
*stream
, guint8
*buffer
, guint32 buflen
, guint64 pts
, bool keyframe
);
2103 void media_frame_set_buffer (MediaFrame
*instance
, guint8
*value
);
2105 void media_frame_set_buf_len (MediaFrame
*instance
, guint32 value
);
2107 void media_frame_set_data_stride (MediaFrame
*instance
, guint8
*a
, guint8
*b
, guint8
*c
, guint8
*d
);
2109 void media_frame_set_decoder_specific_data (MediaFrame
*instance
, void *value
);
2111 void media_frame_set_height (MediaFrame
*instance
, gint32 value
);
2113 void media_frame_set_pts (MediaFrame
*instance
, guint64 value
);
2115 void media_frame_set_src_slide_h (MediaFrame
*instance
, int value
);
2117 void media_frame_set_src_slide_y (MediaFrame
*instance
, int value
);
2119 void media_frame_set_src_stride (MediaFrame
*instance
, int a
, int b
, int c
, int d
);
2121 void media_frame_set_width (MediaFrame
*instance
, gint32 value
);
2126 /* @GeneratePInvoke */
2127 bool moon_window_get_transparent (MoonWindow
*instance
);
2129 /* @GeneratePInvoke */
2130 void moon_window_set_transparent (MoonWindow
*instance
, bool flag
);
2135 /* @GeneratePInvoke */
2136 void *moon_window_gtk_get_native_widget (MoonWindowGtk
*instance
);
2138 /* @GeneratePInvoke */
2139 MoonWindowGtk
*moon_window_gtk_new (bool fullscreen
, int w
, int h
, MoonWindow
*parent
, Surface
*surface
);
2142 * MouseButtonEventArgs
2144 /* @GeneratePInvoke */
2145 MouseButtonEventArgs
*mouse_button_event_args_new (void);
2150 /* @GeneratePInvoke */
2151 void mouse_event_args_get_position (MouseEventArgs
*instance
, UIElement
*relative_to
, double *x
, double *y
);
2153 /* @GeneratePInvoke */
2154 StylusInfo
*mouse_event_args_get_stylus_info (MouseEventArgs
*instance
);
2156 /* @GeneratePInvoke */
2157 StylusPointCollection
*mouse_event_args_get_stylus_points (MouseEventArgs
*instance
, UIElement
*ink_presenter
);
2159 /* @GeneratePInvoke */
2160 MouseEventArgs
*mouse_event_args_new (void);
2163 * MouseWheelEventArgs
2165 /* @GeneratePInvoke */
2166 int mouse_wheel_event_args_get_wheel_delta (MouseWheelEventArgs
*instance
);
2168 /* @GeneratePInvoke */
2169 MouseWheelEventArgs
*mouse_wheel_event_args_new (void);
2174 /* @GeneratePInvoke */
2175 Point
multi_scale_image_element_to_logical_point (MultiScaleImage
*instance
, Point elementPoint
);
2177 void multi_scale_image_emit_image_failed (MultiScaleImage
*instance
);
2179 void multi_scale_image_emit_image_open_failed (MultiScaleImage
*instance
);
2181 void multi_scale_image_emit_motion_finished (MultiScaleImage
*instance
);
2183 void multi_scale_image_handle_dz_parsed (MultiScaleImage
*instance
);
2185 void multi_scale_image_invalidate_tile_layer (MultiScaleImage
*instance
, int level
, int tilePositionX
, int tilePositionY
, int tileLayer
);
2187 /* @GeneratePInvoke */
2188 Point
multi_scale_image_logical_to_element_point (MultiScaleImage
*instance
, Point logicalPoint
);
2190 /* @GeneratePInvoke */
2191 MultiScaleImage
*multi_scale_image_new (void);
2193 void multi_scale_image_on_source_property_changed (MultiScaleImage
*instance
);
2195 /* @GeneratePInvoke */
2196 void multi_scale_image_zoom_about_logical_point (MultiScaleImage
*instance
, double zoomIncrementFactor
, double zoomCenterLogicalX
, double zoomCenterLogicalY
);
2199 * MultiScaleSubImage
2201 gint32
multi_scale_sub_image_get_zindex (MultiScaleSubImage
*instance
);
2203 /* @GeneratePInvoke */
2204 MultiScaleSubImage
*multi_scale_sub_image_new (void);
2207 * MultiScaleSubImageCollection
2209 /* @GeneratePInvoke */
2210 MultiScaleSubImageCollection
*multi_scale_sub_image_collection_new (void);
2213 * MultiScaleTileSource
2215 /* @GeneratePInvoke */
2216 void multi_scale_tile_source_invalidate_tile_layer (MultiScaleTileSource
*instance
, int level
, int tilePositionX
, int tilePositionY
, int tileLayer
);
2218 /* @GeneratePInvoke */
2219 MultiScaleTileSource
*multi_scale_tile_source_new (void);
2221 /* @GeneratePInvoke */
2222 void multi_scale_tile_source_set_image_uri_func (MultiScaleTileSource
*instance
, get_image_uri_func func
);
2227 NameScope
*name_scope_new (void);
2230 * ObjectAnimationUsingKeyFrames
2232 /* @GeneratePInvoke */
2233 ObjectAnimationUsingKeyFrames
*object_animation_using_key_frames_new (void);
2238 /* @GeneratePInvoke */
2239 ObjectKeyFrame
*object_key_frame_new (void);
2242 * ObjectKeyFrameCollection
2244 /* @GeneratePInvoke */
2245 ObjectKeyFrameCollection
*object_key_frame_collection_new (void);
2248 * OutOfBrowserSettings
2250 /* @GeneratePInvoke */
2251 OutOfBrowserSettings
*out_of_browser_settings_new (void);
2256 /* @GeneratePInvoke */
2257 Panel
*panel_new (void);
2262 /* @GeneratePInvoke */
2263 ParallelTimeline
*parallel_timeline_new (void);
2268 /* @GeneratePInvoke */
2269 PasswordBox
*password_box_new (void);
2274 /* @GeneratePInvoke */
2275 Path
*path_new (void);
2280 /* @GeneratePInvoke */
2281 PathFigure
*path_figure_new (void);
2284 * PathFigureCollection
2286 /* @GeneratePInvoke */
2287 PathFigureCollection
*path_figure_collection_new (void);
2292 /* @GeneratePInvoke */
2293 PathGeometry
*path_geometry_new (void);
2298 /* @GeneratePInvoke */
2299 PathSegment
*path_segment_new (void);
2302 * PathSegmentCollection
2304 /* @GeneratePInvoke */
2305 PathSegmentCollection
*path_segment_collection_new (void);
2310 /* @GeneratePInvoke */
2311 PixelShader
*pixel_shader_new (void);
2316 /* @GeneratePInvoke */
2317 PlaneProjection
*plane_projection_new (void);
2322 /* @GeneratePInvoke */
2323 PointAnimation
*point_animation_new (void);
2326 * PointAnimationUsingKeyFrames
2328 /* @GeneratePInvoke */
2329 PointAnimationUsingKeyFrames
*point_animation_using_key_frames_new (void);
2334 /* @GeneratePInvoke */
2335 PointCollection
*point_collection_new (void);
2340 /* @GeneratePInvoke */
2341 PointKeyFrame
*point_key_frame_new (void);
2344 * PointKeyFrameCollection
2346 /* @GeneratePInvoke */
2347 PointKeyFrameCollection
*point_key_frame_collection_new (void);
2352 /* @GeneratePInvoke */
2353 PolyBezierSegment
*poly_bezier_segment_new (void);
2355 void poly_bezier_segment_set_points (PolyBezierSegment
*instance
, PointCollection
*points
);
2360 /* @GeneratePInvoke */
2361 Polygon
*polygon_new (void);
2366 /* @GeneratePInvoke */
2367 Polyline
*polyline_new (void);
2372 /* @GeneratePInvoke */
2373 PolyLineSegment
*poly_line_segment_new (void);
2376 * PolyQuadraticBezierSegment
2378 /* @GeneratePInvoke */
2379 PolyQuadraticBezierSegment
*poly_quadratic_bezier_segment_new (void);
2384 /* @GeneratePInvoke */
2385 Popup
*popup_new (void);
2390 /* @GeneratePInvoke */
2391 double power_ease_ease_in_core (PowerEase
*instance
, double normalizedTime
);
2393 /* @GeneratePInvoke */
2394 PowerEase
*power_ease_new (void);
2399 /* @GeneratePInvoke */
2400 Projection
*projection_new (void);
2403 * PropertyChangedEventArgs
2405 /* @GeneratePInvoke */
2406 int property_changed_event_args_get_id (PropertyChangedEventArgs
*instance
);
2408 /* @GeneratePInvoke */
2409 Value
*property_changed_event_args_get_new_value (PropertyChangedEventArgs
*instance
);
2411 /* @GeneratePInvoke */
2412 Value
*property_changed_event_args_get_old_value (PropertyChangedEventArgs
*instance
);
2414 /* @GeneratePInvoke */
2415 DependencyProperty
*property_changed_event_args_get_property (PropertyChangedEventArgs
*instance
);
2418 * QuadraticBezierSegment
2420 /* @GeneratePInvoke */
2421 QuadraticBezierSegment
*quadratic_bezier_segment_new (void);
2426 /* @GeneratePInvoke */
2427 double quadratic_ease_ease_in_core (QuadraticEase
*instance
, double normalizedTime
);
2429 /* @GeneratePInvoke */
2430 QuadraticEase
*quadratic_ease_new (void);
2435 /* @GeneratePInvoke */
2436 double quartic_ease_ease_in_core (QuarticEase
*instance
, double normalizedTime
);
2438 /* @GeneratePInvoke */
2439 QuarticEase
*quartic_ease_new (void);
2444 /* @GeneratePInvoke */
2445 double quintic_ease_ease_in_core (QuinticEase
*instance
, double normalizedTime
);
2447 /* @GeneratePInvoke */
2448 QuinticEase
*quintic_ease_new (void);
2451 * RadialGradientBrush
2453 /* @GeneratePInvoke */
2454 RadialGradientBrush
*radial_gradient_brush_new (void);
2459 /* @GeneratePInvoke */
2460 Rectangle
*rectangle_new (void);
2465 /* @GeneratePInvoke */
2466 RectangleGeometry
*rectangle_geometry_new (void);
2469 * RenderingEventArgs
2471 /* @GeneratePInvoke */
2472 TimeSpan
rendering_event_args_get_rendering_time (RenderingEventArgs
*instance
);
2475 * ResourceDictionary
2477 /* @GeneratePInvoke */
2478 bool resource_dictionary_add_with_error (ResourceDictionary
*instance
, const char *key
, Value
*value
, MoonError
*error
);
2480 /* @GeneratePInvoke */
2481 bool resource_dictionary_clear (ResourceDictionary
*instance
);
2483 /* @GeneratePInvoke */
2484 bool resource_dictionary_contains_key (ResourceDictionary
*instance
, const char *key
);
2486 /* @GeneratePInvoke */
2487 Value
*resource_dictionary_get (ResourceDictionary
*instance
, const char *key
, bool *exists
);
2489 /* @GeneratePInvoke */
2490 bool resource_dictionary_remove (ResourceDictionary
*instance
, const char *key
);
2492 /* @GeneratePInvoke */
2493 ResourceDictionary
*resource_dictionary_new (void);
2495 /* @GeneratePInvoke */
2496 bool resource_dictionary_set (ResourceDictionary
*instance
, const char *key
, Value
*value
);
2499 * ResourceDictionaryCollection
2501 /* @GeneratePInvoke */
2502 ResourceDictionaryCollection
*resource_dictionary_collection_new (void);
2505 * ResourceDictionaryIterator
2507 /* @GeneratePInvoke */
2508 const char *resource_dictionary_iterator_get_current_key (ResourceDictionaryIterator
*instance
, MoonError
*error
);
2513 /* @GeneratePInvoke */
2514 RotateTransform
*rotate_transform_new (void);
2519 /* @GeneratePInvoke */
2520 bool routed_event_args_get_handled (RoutedEventArgs
*instance
);
2522 /* @GeneratePInvoke */
2523 DependencyObject
*routed_event_args_get_source (RoutedEventArgs
*instance
);
2525 /* @GeneratePInvoke */
2526 RoutedEventArgs
*routed_event_args_new (void);
2528 /* @GeneratePInvoke */
2529 void routed_event_args_set_handled (RoutedEventArgs
*instance
, bool handled
);
2531 /* @GeneratePInvoke */
2532 void routed_event_args_set_source (RoutedEventArgs
*instance
, DependencyObject
*el
);
2537 /* @GeneratePInvoke */
2538 RowDefinition
*row_definition_new (void);
2541 * RowDefinitionCollection
2543 /* @GeneratePInvoke */
2544 RowDefinitionCollection
*row_definition_collection_new (void);
2549 /* @GeneratePInvoke */
2550 Run
*run_new (void);
2555 /* @GeneratePInvoke */
2556 ScaleTransform
*scale_transform_new (void);
2561 /* @GeneratePInvoke */
2562 Setter
*setter_new (void);
2567 /* @GeneratePInvoke */
2568 SetterBase
*setter_base_new (void);
2571 * SetterBaseCollection
2573 /* @GeneratePInvoke */
2574 SetterBaseCollection
*setter_base_collection_new (void);
2579 /* @GeneratePInvoke */
2580 ShaderEffect
*shader_effect_new (void);
2585 /* @GeneratePInvoke */
2586 Transform
*shape_get_geometry_transform (Shape
*instance
);
2588 /* @GeneratePInvoke */
2589 Shape
*shape_new (void);
2594 /* @GeneratePInvoke */
2595 double sine_ease_ease_in_core (SineEase
*instance
, double normalizedTime
);
2597 /* @GeneratePInvoke */
2598 SineEase
*sine_ease_new (void);
2601 * SizeChangedEventArgs
2603 /* @GeneratePInvoke */
2604 SizeChangedEventArgs
*size_changed_event_args_new (void);
2609 /* @GeneratePInvoke */
2610 SkewTransform
*skew_transform_new (void);
2615 /* @GeneratePInvoke */
2616 SolidColorBrush
*solid_color_brush_new (void);
2619 * SplineColorKeyFrame
2621 /* @GeneratePInvoke */
2622 SplineColorKeyFrame
*spline_color_key_frame_new (void);
2625 * SplineDoubleKeyFrame
2627 /* @GeneratePInvoke */
2628 SplineDoubleKeyFrame
*spline_double_key_frame_new (void);
2631 * SplinePointKeyFrame
2633 /* @GeneratePInvoke */
2634 SplinePointKeyFrame
*spline_point_key_frame_new (void);
2639 /* @GeneratePInvoke */
2640 bool storyboard_begin_with_error (Storyboard
*instance
, MoonError
*error
);
2642 /* @GeneratePInvoke */
2643 int storyboard_get_current_state (Storyboard
*instance
);
2645 /* @GeneratePInvoke */
2646 TimeSpan
storyboard_get_current_time (Storyboard
*instance
);
2648 /* @GeneratePInvoke */
2649 DependencyProperty
*storyboard_get_target_dependency_property (Storyboard
*instance
);
2651 /* @GeneratePInvoke */
2652 void storyboard_pause_with_error (Storyboard
*instance
, MoonError
*error
);
2654 /* @GeneratePInvoke */
2655 void storyboard_resume_with_error (Storyboard
*instance
, MoonError
*error
);
2657 /* @GeneratePInvoke */
2658 void storyboard_seek_aligned_to_last_tick_with_error (Storyboard
*instance
, TimeSpan timespan
, MoonError
*error
);
2660 /* @GeneratePInvoke */
2661 void storyboard_seek_with_error (Storyboard
*instance
, TimeSpan timespan
, MoonError
*error
);
2663 /* @GeneratePInvoke */
2664 void storyboard_skip_to_fill_with_error (Storyboard
*instance
, MoonError
*error
);
2666 /* @GeneratePInvoke */
2667 void storyboard_stop_with_error (Storyboard
*instance
, MoonError
*error
);
2669 /* @GeneratePInvoke */
2670 Storyboard
*storyboard_new (void);
2675 /* @GeneratePInvoke */
2676 bool stroke_hit_test (Stroke
*instance
, StylusPointCollection
*stylusPoints
);
2678 /* @GeneratePInvoke */
2679 Stroke
*stroke_new (void);
2684 /* @GeneratePInvoke */
2685 StrokeCollection
*stroke_collection_hit_test (StrokeCollection
*instance
, StylusPointCollection
*stylusPoints
);
2687 /* @GeneratePInvoke */
2688 StrokeCollection
*stroke_collection_new (void);
2693 /* @GeneratePInvoke */
2694 void style_seal (Style
*instance
);
2696 /* @GeneratePInvoke */
2697 Style
*style_new (void);
2702 /* @GeneratePInvoke */
2703 StylusInfo
*stylus_info_new (void);
2708 /* @GeneratePInvoke */
2709 double stylus_point_get_pressure_factor (StylusPoint
*instance
);
2711 /* @GeneratePInvoke */
2712 double stylus_point_get_x (StylusPoint
*instance
);
2714 /* @GeneratePInvoke */
2715 double stylus_point_get_y (StylusPoint
*instance
);
2717 /* @GeneratePInvoke */
2718 void stylus_point_set_pressure_factor (StylusPoint
*instance
, double factor
);
2720 /* @GeneratePInvoke */
2721 void stylus_point_set_x (StylusPoint
*instance
, double x
);
2723 /* @GeneratePInvoke */
2724 void stylus_point_set_y (StylusPoint
*instance
, double y
);
2726 /* @GeneratePInvoke */
2727 StylusPoint
*stylus_point_new (void);
2730 * StylusPointCollection
2732 /* @GeneratePInvoke */
2733 double stylus_point_collection_add_stylus_points (StylusPointCollection
*instance
, StylusPointCollection
*stylusPointCollection
);
2735 /* @GeneratePInvoke */
2736 StylusPointCollection
*stylus_point_collection_new (void);
2741 /* @GeneratePInvoke */
2742 void surface_attach (Surface
*instance
, UIElement
*toplevel
);
2744 /* @GeneratePInvoke */
2745 Downloader
*surface_create_downloader (Surface
*instance
);
2747 /* @GeneratePInvoke */
2748 void surface_emit_error (Surface
*instance
, int number
, int code
, const char *message
);
2750 /* @GeneratePInvoke */
2751 Color
*surface_get_background_color (Surface
*instance
);
2753 /* @GeneratePInvoke */
2754 UIElement
*surface_get_focused_element (Surface
*instance
);
2756 /* @GeneratePInvoke */
2757 bool surface_get_full_screen (Surface
*instance
);
2759 /* @GeneratePInvoke */
2760 TimeManager
*surface_get_time_manager (Surface
*instance
);
2762 /* @GeneratePInvoke */
2763 UIElement
*surface_get_toplevel (Surface
*instance
);
2765 MoonWindow
*surface_get_window (Surface
*instance
);
2767 /* @GeneratePInvoke */
2768 double surface_get_zoom_factor (Surface
*instance
);
2770 /* @GeneratePInvoke */
2771 bool surface_in_main_thread (void);
2773 /* @GeneratePInvoke */
2774 bool surface_is_loaded (Surface
*instance
);
2776 /* @GeneratePInvoke */
2777 bool surface_is_user_initiated_event (Surface
*instance
);
2779 /* @GeneratePInvoke */
2780 bool surface_is_version_supported (const char *version
);
2782 /* @GeneratePInvoke */
2783 void surface_paint (Surface
*instance
, cairo_t
*ctx
, int x
, int y
, int width
, int height
);
2785 /* @GeneratePInvoke */
2786 void surface_resize (Surface
*instance
, int width
, int height
);
2788 /* @GeneratePInvoke */
2789 void surface_set_full_screen (Surface
*instance
, bool value
);
2791 /* @GeneratePInvoke */
2792 Surface
*surface_new (MoonWindow
*window
);
2795 * TabNavigationWalker
2797 /* @GeneratePInvoke */
2798 bool tab_navigation_walker_focus (UIElement
*element
, bool forwards
);
2803 /* @GeneratePInvoke */
2804 TextBlock
*text_block_new (void);
2809 /* @GeneratePInvoke */
2810 TextBox
*text_box_new (void);
2815 /* @GeneratePInvoke */
2816 void text_box_base_on_got_focus (TextBoxBase
*instance
, RoutedEventArgs
*args
);
2818 /* @GeneratePInvoke */
2819 void text_box_base_on_key_down (TextBoxBase
*instance
, KeyEventArgs
*args
);
2821 /* @GeneratePInvoke */
2822 void text_box_base_on_key_up (TextBoxBase
*instance
, KeyEventArgs
*args
);
2824 /* @GeneratePInvoke */
2825 void text_box_base_on_lost_focus (TextBoxBase
*instance
, RoutedEventArgs
*args
);
2827 /* @GeneratePInvoke */
2828 void text_box_base_on_mouse_left_button_down (TextBoxBase
*instance
, MouseButtonEventArgs
*args
);
2830 /* @GeneratePInvoke */
2831 void text_box_base_on_mouse_left_button_up (TextBoxBase
*instance
, MouseButtonEventArgs
*args
);
2833 /* @GeneratePInvoke */
2834 void text_box_base_on_mouse_move (TextBoxBase
*instance
, MouseEventArgs
*args
);
2836 /* @GeneratePInvoke */
2837 void text_box_base_post_on_key_down (TextBoxBase
*instance
, KeyEventArgs
*args
);
2839 /* @GeneratePInvoke */
2840 void text_box_base_select_all (TextBoxBase
*instance
);
2842 /* @GeneratePInvoke */
2843 bool text_box_base_select_with_error (TextBoxBase
*instance
, int start
, int length
, MoonError
*error
);
2848 /* @GeneratePInvoke */
2849 TextBoxView
*text_box_view_new (void);
2852 * TextChangedEventArgs
2854 /* @GeneratePInvoke */
2855 TextChangedEventArgs
*text_changed_event_args_new (void);
2860 /* @GeneratePInvoke */
2861 TileBrush
*tile_brush_new (void);
2866 /* @GeneratePInvoke */
2867 DependencyObject
*timeline_get_manual_target (Timeline
*instance
);
2869 /* @GeneratePInvoke */
2870 void timeline_set_manual_target (Timeline
*instance
, DependencyObject
*o
);
2872 /* @GeneratePInvoke */
2873 Timeline
*timeline_new (void);
2876 * TimelineCollection
2878 /* @GeneratePInvoke */
2879 TimelineCollection
*timeline_collection_new (void);
2884 /* @GeneratePInvoke */
2885 TimelineGroup
*timeline_group_new (void);
2890 /* @GeneratePInvoke */
2891 TimelineMarker
*timeline_marker_new (void);
2894 * TimelineMarkerCollection
2896 /* @GeneratePInvoke */
2897 TimelineMarkerCollection
*timeline_marker_collection_new (void);
2900 * TimelineMarkerRoutedEventArgs
2902 /* @GeneratePInvoke */
2903 TimelineMarker
*timeline_marker_routed_event_args_get_marker (TimelineMarkerRoutedEventArgs
*instance
);
2905 /* @GeneratePInvoke */
2906 TimelineMarkerRoutedEventArgs
*timeline_marker_routed_event_args_new (TimelineMarker
*marker
);
2911 /* @GeneratePInvoke */
2912 void time_manager_add_dispatcher_call (TimeManager
*instance
, TickCallHandler handler
, EventObject
*tick_data
);
2914 /* @GeneratePInvoke */
2915 void time_manager_add_tick_call (TimeManager
*instance
, TickCallHandler handler
, EventObject
*tick_data
);
2917 guint
time_manager_add_timeout (TimeManager
*instance
, gint priority
, guint ms_interval
, GSourceFunc func
, gpointer timeout_data
);
2919 /* @GeneratePInvoke */
2920 int time_manager_get_maximum_refresh_rate (TimeManager
*instance
);
2922 /* @GeneratePInvoke */
2923 void time_manager_remove_tick_call (TimeManager
*instance
, TickCallHandler handler
, EventObject
*tick_data
);
2925 void time_manager_remove_timeout (TimeManager
*instance
, guint timeout_id
);
2927 /* @GeneratePInvoke */
2928 void time_manager_set_maximum_refresh_rate (TimeManager
*instance
, int hz
);
2933 /* @GeneratePInvoke */
2934 UIElement
*touch_device_get_directly_over (TouchDevice
*instance
);
2936 /* @GeneratePInvoke */
2937 int touch_device_get_id (TouchDevice
*instance
);
2939 /* @GeneratePInvoke */
2940 void touch_device_set_directly_over (TouchDevice
*instance
, UIElement
*element
);
2942 /* @GeneratePInvoke */
2943 void touch_device_set_id (TouchDevice
*instance
, int id
);
2945 /* @GeneratePInvoke */
2946 TouchDevice
*touch_device_new (void);
2951 /* @GeneratePInvoke */
2952 int touch_point_get_action (TouchPoint
*instance
);
2954 /* @GeneratePInvoke */
2955 Point
*touch_point_get_position (TouchPoint
*instance
);
2957 /* @GeneratePInvoke */
2958 Size
*touch_point_get_size (TouchPoint
*instance
);
2960 /* @GeneratePInvoke */
2961 TouchDevice
*touch_point_get_touch_device (TouchPoint
*instance
);
2963 /* @GeneratePInvoke */
2964 void touch_point_set_action (TouchPoint
*instance
, int action
);
2966 /* @GeneratePInvoke */
2967 void touch_point_set_position (TouchPoint
*instance
, Point
*position
);
2969 /* @GeneratePInvoke */
2970 void touch_point_set_size (TouchPoint
*instance
, Size
*size
);
2972 /* @GeneratePInvoke */
2973 void touch_point_set_touch_device (TouchPoint
*instance
, TouchDevice
*device
);
2975 /* @GeneratePInvoke */
2976 TouchPoint
*touch_point_new (void);
2979 * TouchPointCollection
2981 /* @GeneratePInvoke */
2982 TouchPointCollection
*touch_point_collection_new (void);
2987 /* @GeneratePInvoke */
2988 Transform
*transform_new (void);
2991 * TransformCollection
2993 /* @GeneratePInvoke */
2994 TransformCollection
*transform_collection_new (void);
2999 /* @GeneratePInvoke */
3000 TransformGroup
*transform_group_new (void);
3003 * TranslateTransform
3005 /* @GeneratePInvoke */
3006 TranslateTransform
*translate_transform_new (void);
3011 void trigger_action_fire (TriggerAction
*instance
);
3013 /* @GeneratePInvoke */
3014 TriggerAction
*trigger_action_new (void);
3017 * TriggerActionCollection
3019 /* @GeneratePInvoke */
3020 TriggerActionCollection
*trigger_action_collection_new (void);
3025 /* @GeneratePInvoke */
3026 TriggerBase
*trigger_base_new (void);
3031 /* @GeneratePInvoke */
3032 TriggerCollection
*trigger_collection_new (void);
3037 /* @GeneratePInvoke */
3038 Type
*types_find (Types
*instance
, int type
);
3040 /* @GeneratePInvoke */
3041 int types_register_type (Types
*instance
, const char *name
, void *gc_handle
, int parent
, bool is_interface
, bool ctor_visible
, int *interfaces
, int interface_count
);
3043 /* @GeneratePInvoke */
3044 Types
*types_new (void);
3049 /* @GeneratePInvoke */
3050 void uielement_arrange (UIElement
*instance
, Rect finalRect
);
3052 /* @GeneratePInvoke */
3053 bool uielement_capture_mouse (UIElement
*instance
);
3055 /* @GeneratePInvoke */
3056 void uielement_element_added (UIElement
*instance
, UIElement
*obj
);
3058 /* @GeneratePInvoke */
3059 void uielement_element_removed (UIElement
*instance
, UIElement
*obj
);
3061 /* @GeneratePInvoke */
3062 void uielement_find_elements_in_host_coordinates_p (UIElement
*instance
, Point p
, HitTestCollection
*uielement_list
);
3064 /* @GeneratePInvoke */
3065 void uielement_find_elements_in_host_coordinates_r (UIElement
*instance
, Rect p
, HitTestCollection
*uielement_list
);
3067 /* @GeneratePInvoke */
3068 bool uielement_focus (UIElement
*instance
, bool recurse
);
3070 /* @GeneratePInvoke */
3071 Size
uielement_get_desired_size (UIElement
*instance
);
3073 /* @GeneratePInvoke */
3074 Size
uielement_get_render_size (UIElement
*instance
);
3076 /* @GeneratePInvoke */
3077 DependencyObject
*uielement_get_subtree_object (UIElement
*instance
);
3079 /* @GeneratePInvoke */
3080 GeneralTransform
*uielement_get_transform_to_uielement_with_error (UIElement
*instance
, UIElement
*to_element
, MoonError
*error
);
3082 /* @GeneratePInvoke */
3083 UIElement
*uielement_get_visual_parent (UIElement
*instance
);
3085 void uielement_invalidate (UIElement
*instance
);
3087 /* @GeneratePInvoke */
3088 void uielement_invalidate_arrange (UIElement
*instance
);
3090 /* @GeneratePInvoke */
3091 void uielement_invalidate_measure (UIElement
*instance
);
3093 /* @GeneratePInvoke */
3094 void uielement_measure (UIElement
*instance
, Size availableSize
);
3096 /* @GeneratePInvoke */
3097 void uielement_release_mouse_capture (UIElement
*instance
);
3099 /* @GeneratePInvoke */
3100 void uielement_set_subtree_object (UIElement
*instance
, DependencyObject
*value
);
3102 /* @GeneratePInvoke */
3103 void uielement_update_layout (UIElement
*instance
);
3106 * UIElementCollection
3108 /* @GeneratePInvoke */
3109 UIElementCollection
*uielement_collection_new (void);
3114 /* @GeneratePInvoke */
3115 UnmanagedMatrix
*unmanaged_matrix_new (void);
3120 /* @GeneratePInvoke */
3121 UnmanagedMatrix3D
*unmanaged_matrix3_d_new (void);
3126 bool uri_equals (const Uri
*left
, const Uri
*right
);
3128 /* @GeneratePInvoke */
3129 void uri_free (Uri
*instance
);
3131 guint
uri_get_hash_code (Uri
*instance
);
3133 /* @GeneratePInvoke */
3134 bool uri_parse (Uri
*instance
, const char *uri
, bool allow_trailing_sep
);
3139 /* @GeneratePInvoke */
3140 UserControl
*user_control_new (void);
3145 /* @GeneratePInvoke */
3146 void video_brush_set_source (VideoBrush
*instance
, MediaElement
*source
);
3148 /* @GeneratePInvoke */
3149 VideoBrush
*video_brush_new (void);
3154 guint32
video_stream_get_height (VideoStream
*instance
);
3156 guint32
video_stream_get_width (VideoStream
*instance
);
3158 /* @GeneratePInvoke */
3159 VideoStream
*video_stream_new (Media
*media
, int codec_id
, guint32 width
, guint32 height
, guint64 duration
, gpointer extra_data
, guint32 extra_data_size
);
3164 /* @GeneratePInvoke */
3165 VisualBrush
*visual_brush_new (void);
3170 /* @GeneratePInvoke */
3171 WindowSettings
*window_settings_new (void);
3176 /* @GeneratePInvoke */
3177 gpointer
writeable_bitmap_initialize_from_bitmap_source (WriteableBitmap
*instance
, BitmapSource
*source
);
3179 /* @GeneratePInvoke */
3180 void writeable_bitmap_lock (WriteableBitmap
*instance
);
3182 /* @GeneratePInvoke */
3183 void writeable_bitmap_render (WriteableBitmap
*instance
, UIElement
*element
, Transform
*transform
);
3185 /* @GeneratePInvoke */
3186 void writeable_bitmap_unlock (WriteableBitmap
*instance
);
3188 /* @GeneratePInvoke */
3189 WriteableBitmap
*writeable_bitmap_new (void);
3194 /* @GeneratePInvoke */
3195 DependencyObject
*xaml_context_get_template_binding_source (XamlContext
*instance
);
3200 /* @GeneratePInvoke */
3201 Value
*xaml_loader_create_from_file_with_error (XamlLoader
*instance
, const char *xaml
, bool create_namescope
, int *element_type
, MoonError
*error
);
3203 /* @GeneratePInvoke */
3204 Value
*xaml_loader_create_from_string_with_error (XamlLoader
*instance
, const char *xaml
, bool create_namescope
, int *element_type
, int flags
, MoonError
*error
);
3206 /* @GeneratePInvoke */
3207 XamlContext
*xaml_loader_get_context (XamlLoader
*instance
);
3209 /* @GeneratePInvoke */
3210 Value
*xaml_loader_hydrate_from_string_with_error (XamlLoader
*instance
, const char *xaml
, Value
*obj
, bool create_namescope
, int *element_type
, int flags
, MoonError
*error
);
3215 /* @GeneratePInvoke */
3216 char *xap_unpack (const char *fname
);