// // File generated by WinMDIDL version 8.00.0021 // import "inspectable.idl"; import "AsyncInfo.idl"; import "EventToken.idl"; import "windowscontracts.idl"; import "Windows.Foundation.idl"; import "Windows.Graphics.Display.idl"; // Forward Declare namespace Windows { namespace Foundation { interface IAsyncAction; interface IClosable; typedef struct Size Size; } } namespace Windows { namespace Graphics { namespace Display { typedef enum DisplayOrientations DisplayOrientations; } } } namespace Windows { namespace Phone { namespace Restricted { namespace Cellular { namespace VideoTelephony { apicontract InternalVideoTelephonyContract; typedef enum CameraLocation CameraLocation; typedef enum StreamIdentifier StreamIdentifier; typedef enum VideoQuality VideoQuality; typedef enum VideoStreamState VideoStreamState; interface ILocalVideoStream; interface IRemoteVideoStream; interface IResolutionChangeEventArgs; interface IRotationChangeEventArgs; interface IVideoCall; interface IVideoCallFactory; interface IVideoCallInitializationParameters; interface IVideoQualityChangeEventArgs; interface IVideoStateChangeEventArgs; interface IVideoStream; interface IVideoStreamExt; runtimeclass LocalVideoStream; runtimeclass RemoteVideoStream; runtimeclass ResolutionChangeEventArgs; runtimeclass RotationChangeEventArgs; runtimeclass VideoCall; runtimeclass VideoCallInitializationParameters; runtimeclass VideoQualityChangeEventArgs; runtimeclass VideoStateChangeEventArgs; runtimeclass VideoStream; } } } } } // Generic instantiations // Type definition namespace Windows { namespace Phone { namespace Restricted { namespace Cellular { namespace VideoTelephony { [contractversion(1.0)] apicontract InternalVideoTelephonyContract { } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] enum CameraLocation { Front = 0, Back = 1 }; [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] enum StreamIdentifier { LocalPreview = 0, RemoteView = 1 }; [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] enum VideoQuality { Low = 0, Average = 1, High = 2 }; [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] enum VideoStreamState { Initialized = 0, ResourcesAcquired = 1, Playing = 2, Paused = 3, Destroyed = 4 }; [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [exclusiveto(Windows.Phone.Restricted.Cellular.VideoTelephony.LocalVideoStream)] [uuid(54024241-6C0B-49BB-B200-E4A6EC2BDEED)] interface ILocalVideoStream : IInspectable requires Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoStream { HRESULT SetDeviceOrientation([in] Windows.Graphics.Display.DisplayOrientations orientation); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [exclusiveto(Windows.Phone.Restricted.Cellular.VideoTelephony.RemoteVideoStream)] [uuid(71EC305F-7CAD-4BBF-953A-810DB7D68D4C)] interface IRemoteVideoStream : IInspectable requires Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoStream { [propget] HRESULT Rotation([out] [retval] INT32* degreesCw); [eventadd] HRESULT RotationChanged([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* registrationToken); [eventremove] HRESULT RotationChanged([in] EventRegistrationToken registrationToken); [propget] HRESULT Quality([out] [retval] Windows.Phone.Restricted.Cellular.VideoTelephony.VideoQuality* quality); [eventadd] HRESULT QualityChanged([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* registrationToken); [eventremove] HRESULT QualityChanged([in] EventRegistrationToken registrationToken); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [exclusiveto(Windows.Phone.Restricted.Cellular.VideoTelephony.ResolutionChangeEventArgs)] [uuid(01F51655-5E82-4D53-BED4-EE2551467495)] interface IResolutionChangeEventArgs : IInspectable { [propget] HRESULT Resolution([out] [retval] Windows.Foundation.Size* value); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [exclusiveto(Windows.Phone.Restricted.Cellular.VideoTelephony.RotationChangeEventArgs)] [uuid(16DF4E9D-FB47-40B7-B8B8-55CFFAEA4251)] interface IRotationChangeEventArgs : IInspectable { [propget] HRESULT Rotation([out] [retval] INT32* degreesCw); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [exclusiveto(Windows.Phone.Restricted.Cellular.VideoTelephony.VideoCall)] [uuid(5EF23627-E34A-4CB3-8C41-5A5E8265A9DA)] interface IVideoCall : IInspectable requires Windows.Foundation.IClosable { [propget] HRESULT Id([out] [retval] INT32* callId); [propget] HRESULT CameraLocation([out] [retval] Windows.Phone.Restricted.Cellular.VideoTelephony.CameraLocation* cameraLocation); [propget] HRESULT RemoteStream([out] [retval] Windows.Phone.Restricted.Cellular.VideoTelephony.RemoteVideoStream** remoteStream); [propget] HRESULT LocalStream([out] [retval] Windows.Phone.Restricted.Cellular.VideoTelephony.LocalVideoStream** localStream); [propget] HRESULT Visibility([out] [retval] boolean* visible); HRESULT SetVisibilityChangeAsync([in] boolean visible, [out] [retval] Windows.Foundation.IAsyncAction** asyncAction); HRESULT SetCameraLocationAsync([in] Windows.Phone.Restricted.Cellular.VideoTelephony.CameraLocation cameraLocation, [out] [retval] Windows.Foundation.IAsyncAction** asyncAction); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [exclusiveto(Windows.Phone.Restricted.Cellular.VideoTelephony.VideoCall)] [uuid(8E7C1701-821A-4CCC-9CB8-889BC3CC8468)] interface IVideoCallFactory : IInspectable { HRESULT CreateVideoCall([in] Windows.Phone.Restricted.Cellular.VideoTelephony.VideoCallInitializationParameters* parameters, [out] [retval] Windows.Phone.Restricted.Cellular.VideoTelephony.VideoCall** videoCall); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [exclusiveto(Windows.Phone.Restricted.Cellular.VideoTelephony.VideoCallInitializationParameters)] [uuid(A166B7F6-A433-4326-85B1-0F532180E6D4)] interface IVideoCallInitializationParameters : IInspectable { [propput] HRESULT CallId([in] INT32 callId); [propget] HRESULT CallId([out] [retval] INT32* callId); [propput] HRESULT LocalOrientation([in] Windows.Graphics.Display.DisplayOrientations value); [propget] HRESULT LocalOrientation([out] [retval] Windows.Graphics.Display.DisplayOrientations* value); [propput] HRESULT CameraLocation([in] Windows.Phone.Restricted.Cellular.VideoTelephony.CameraLocation cameraLocation); [propget] HRESULT CameraLocation([out] [retval] Windows.Phone.Restricted.Cellular.VideoTelephony.CameraLocation* cameraLocation); [propput] HRESULT LocalSurface([in] HSTRING localSurface); [propget] HRESULT LocalSurface([out] [retval] HSTRING* localSurface); [propput] HRESULT RemoteSurface([in] HSTRING remoteSurface); [propget] HRESULT RemoteSurface([out] [retval] HSTRING* remoteSurface); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [exclusiveto(Windows.Phone.Restricted.Cellular.VideoTelephony.VideoQualityChangeEventArgs)] [uuid(69646776-1DFB-4DB4-9EDB-8D15AF3C00C4)] interface IVideoQualityChangeEventArgs : IInspectable { [propget] HRESULT Quality([out] [retval] Windows.Phone.Restricted.Cellular.VideoTelephony.VideoQuality* value); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [exclusiveto(Windows.Phone.Restricted.Cellular.VideoTelephony.VideoStateChangeEventArgs)] [uuid(5E77A448-094D-4DCE-95AC-CDD849826FED)] interface IVideoStateChangeEventArgs : IInspectable { [propget] HRESULT State([out] [retval] Windows.Phone.Restricted.Cellular.VideoTelephony.VideoStreamState* value); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [uuid(71867226-5936-4D2F-837E-A902EA3B4213)] interface IVideoStream : IInspectable { [propget] HRESULT Id([out] [retval] Windows.Phone.Restricted.Cellular.VideoTelephony.StreamIdentifier* streamId); [propget] HRESULT CallId([out] [retval] INT32* callId); [propget] HRESULT State([out] [retval] Windows.Phone.Restricted.Cellular.VideoTelephony.VideoStreamState* state); [propget] HRESULT Resolution([out] [retval] Windows.Foundation.Size* resolution); [propget] HRESULT BroadcastingPort([out] [retval] HSTRING* port); [eventadd] HRESULT ResolutionChanged([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* registrationToken); [eventremove] HRESULT ResolutionChanged([in] EventRegistrationToken registrationToken); [eventadd] HRESULT StateChanged([in] Windows.Foundation.TypedEventHandler* handler, [out] [retval] EventRegistrationToken* registrationToken); [eventremove] HRESULT StateChanged([in] EventRegistrationToken registrationToken); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] [uuid(9010592C-61F3-48C7-8F2D-33944E7A5DA3)] interface IVideoStreamExt : IInspectable { HRESULT SetResolution([in] Windows.Foundation.Size resolution); HRESULT GetSwapChainHandleForProcess([in] UINT32 targetProcessId, [out] [retval] UINT64* phSwapChain); } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] runtimeclass LocalVideoStream { [default] interface Windows.Phone.Restricted.Cellular.VideoTelephony.ILocalVideoStream; interface Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoStream; interface Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoStreamExt; } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] runtimeclass RemoteVideoStream { [default] interface Windows.Phone.Restricted.Cellular.VideoTelephony.IRemoteVideoStream; interface Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoStream; interface Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoStreamExt; } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] runtimeclass ResolutionChangeEventArgs { [default] interface Windows.Phone.Restricted.Cellular.VideoTelephony.IResolutionChangeEventArgs; } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] runtimeclass RotationChangeEventArgs { [default] interface Windows.Phone.Restricted.Cellular.VideoTelephony.IRotationChangeEventArgs; } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] runtimeclass VideoCall { [default] interface Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoCall; interface Windows.Foundation.IClosable; } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] runtimeclass VideoCallInitializationParameters { [default] interface Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoCallInitializationParameters; } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] runtimeclass VideoQualityChangeEventArgs { [default] interface Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoQualityChangeEventArgs; } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] runtimeclass VideoStateChangeEventArgs { [default] interface Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoStateChangeEventArgs; } [contract(Windows.Phone.Restricted.Cellular.VideoTelephony.InternalVideoTelephonyContract, 1.0)] runtimeclass VideoStream { [default] interface Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoStream; interface Windows.Phone.Restricted.Cellular.VideoTelephony.IVideoStreamExt; } } } } } }