| /*** Autogenerated by WIDL 6.3 from include/wmsdkidl.idl - Do not edit ***/ |
| |
| #ifdef _WIN32 |
| #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| #define __REQUIRED_RPCNDR_H_VERSION__ 475 |
| #endif |
| #include <rpc.h> |
| #include <rpcndr.h> |
| #endif |
| |
| #ifndef COM_NO_WINDOWS_H |
| #include <windows.h> |
| #include <ole2.h> |
| #endif |
| |
| #ifndef __wmsdkidl_h__ |
| #define __wmsdkidl_h__ |
| |
| /* Forward declarations */ |
| |
| #ifndef __IWMStatusCallback_FWD_DEFINED__ |
| #define __IWMStatusCallback_FWD_DEFINED__ |
| typedef interface IWMStatusCallback IWMStatusCallback; |
| #ifdef __cplusplus |
| interface IWMStatusCallback; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderCallback_FWD_DEFINED__ |
| #define __IWMReaderCallback_FWD_DEFINED__ |
| typedef interface IWMReaderCallback IWMReaderCallback; |
| #ifdef __cplusplus |
| interface IWMReaderCallback; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMStreamList_FWD_DEFINED__ |
| #define __IWMStreamList_FWD_DEFINED__ |
| typedef interface IWMStreamList IWMStreamList; |
| #ifdef __cplusplus |
| interface IWMStreamList; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMMutualExclusion_FWD_DEFINED__ |
| #define __IWMMutualExclusion_FWD_DEFINED__ |
| typedef interface IWMMutualExclusion IWMMutualExclusion; |
| #ifdef __cplusplus |
| interface IWMMutualExclusion; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMBandwidthSharing_FWD_DEFINED__ |
| #define __IWMBandwidthSharing_FWD_DEFINED__ |
| typedef interface IWMBandwidthSharing IWMBandwidthSharing; |
| #ifdef __cplusplus |
| interface IWMBandwidthSharing; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMStreamPrioritization_FWD_DEFINED__ |
| #define __IWMStreamPrioritization_FWD_DEFINED__ |
| typedef interface IWMStreamPrioritization IWMStreamPrioritization; |
| #ifdef __cplusplus |
| interface IWMStreamPrioritization; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMStreamConfig_FWD_DEFINED__ |
| #define __IWMStreamConfig_FWD_DEFINED__ |
| typedef interface IWMStreamConfig IWMStreamConfig; |
| #ifdef __cplusplus |
| interface IWMStreamConfig; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMProfile_FWD_DEFINED__ |
| #define __IWMProfile_FWD_DEFINED__ |
| typedef interface IWMProfile IWMProfile; |
| #ifdef __cplusplus |
| interface IWMProfile; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMProfile2_FWD_DEFINED__ |
| #define __IWMProfile2_FWD_DEFINED__ |
| typedef interface IWMProfile2 IWMProfile2; |
| #ifdef __cplusplus |
| interface IWMProfile2; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMProfile3_FWD_DEFINED__ |
| #define __IWMProfile3_FWD_DEFINED__ |
| typedef interface IWMProfile3 IWMProfile3; |
| #ifdef __cplusplus |
| interface IWMProfile3; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMProfileManager_FWD_DEFINED__ |
| #define __IWMProfileManager_FWD_DEFINED__ |
| typedef interface IWMProfileManager IWMProfileManager; |
| #ifdef __cplusplus |
| interface IWMProfileManager; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMProfileManager2_FWD_DEFINED__ |
| #define __IWMProfileManager2_FWD_DEFINED__ |
| typedef interface IWMProfileManager2 IWMProfileManager2; |
| #ifdef __cplusplus |
| interface IWMProfileManager2; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMCodecInfo_FWD_DEFINED__ |
| #define __IWMCodecInfo_FWD_DEFINED__ |
| typedef interface IWMCodecInfo IWMCodecInfo; |
| #ifdef __cplusplus |
| interface IWMCodecInfo; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMCodecInfo2_FWD_DEFINED__ |
| #define __IWMCodecInfo2_FWD_DEFINED__ |
| typedef interface IWMCodecInfo2 IWMCodecInfo2; |
| #ifdef __cplusplus |
| interface IWMCodecInfo2; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMCodecInfo3_FWD_DEFINED__ |
| #define __IWMCodecInfo3_FWD_DEFINED__ |
| typedef interface IWMCodecInfo3 IWMCodecInfo3; |
| #ifdef __cplusplus |
| interface IWMCodecInfo3; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMMediaProps_FWD_DEFINED__ |
| #define __IWMMediaProps_FWD_DEFINED__ |
| typedef interface IWMMediaProps IWMMediaProps; |
| #ifdef __cplusplus |
| interface IWMMediaProps; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMOutputMediaProps_FWD_DEFINED__ |
| #define __IWMOutputMediaProps_FWD_DEFINED__ |
| typedef interface IWMOutputMediaProps IWMOutputMediaProps; |
| #ifdef __cplusplus |
| interface IWMOutputMediaProps; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMMetadataEditor_FWD_DEFINED__ |
| #define __IWMMetadataEditor_FWD_DEFINED__ |
| typedef interface IWMMetadataEditor IWMMetadataEditor; |
| #ifdef __cplusplus |
| interface IWMMetadataEditor; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReader_FWD_DEFINED__ |
| #define __IWMReader_FWD_DEFINED__ |
| typedef interface IWMReader IWMReader; |
| #ifdef __cplusplus |
| interface IWMReader; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMPlayerHook_FWD_DEFINED__ |
| #define __IWMPlayerHook_FWD_DEFINED__ |
| typedef interface IWMPlayerHook IWMPlayerHook; |
| #ifdef __cplusplus |
| interface IWMPlayerHook; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderAdvanced_FWD_DEFINED__ |
| #define __IWMReaderAdvanced_FWD_DEFINED__ |
| typedef interface IWMReaderAdvanced IWMReaderAdvanced; |
| #ifdef __cplusplus |
| interface IWMReaderAdvanced; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderAdvanced2_FWD_DEFINED__ |
| #define __IWMReaderAdvanced2_FWD_DEFINED__ |
| typedef interface IWMReaderAdvanced2 IWMReaderAdvanced2; |
| #ifdef __cplusplus |
| interface IWMReaderAdvanced2; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderAdvanced3_FWD_DEFINED__ |
| #define __IWMReaderAdvanced3_FWD_DEFINED__ |
| typedef interface IWMReaderAdvanced3 IWMReaderAdvanced3; |
| #ifdef __cplusplus |
| interface IWMReaderAdvanced3; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderAdvanced4_FWD_DEFINED__ |
| #define __IWMReaderAdvanced4_FWD_DEFINED__ |
| typedef interface IWMReaderAdvanced4 IWMReaderAdvanced4; |
| #ifdef __cplusplus |
| interface IWMReaderAdvanced4; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderAdvanced5_FWD_DEFINED__ |
| #define __IWMReaderAdvanced5_FWD_DEFINED__ |
| typedef interface IWMReaderAdvanced5 IWMReaderAdvanced5; |
| #ifdef __cplusplus |
| interface IWMReaderAdvanced5; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderAdvanced6_FWD_DEFINED__ |
| #define __IWMReaderAdvanced6_FWD_DEFINED__ |
| typedef interface IWMReaderAdvanced6 IWMReaderAdvanced6; |
| #ifdef __cplusplus |
| interface IWMReaderAdvanced6; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMSyncReader_FWD_DEFINED__ |
| #define __IWMSyncReader_FWD_DEFINED__ |
| typedef interface IWMSyncReader IWMSyncReader; |
| #ifdef __cplusplus |
| interface IWMSyncReader; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderAllocatorEx_FWD_DEFINED__ |
| #define __IWMReaderAllocatorEx_FWD_DEFINED__ |
| typedef interface IWMReaderAllocatorEx IWMReaderAllocatorEx; |
| #ifdef __cplusplus |
| interface IWMReaderAllocatorEx; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMSyncReader2_FWD_DEFINED__ |
| #define __IWMSyncReader2_FWD_DEFINED__ |
| typedef interface IWMSyncReader2 IWMSyncReader2; |
| #ifdef __cplusplus |
| interface IWMSyncReader2; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMInputMediaProps_FWD_DEFINED__ |
| #define __IWMInputMediaProps_FWD_DEFINED__ |
| typedef interface IWMInputMediaProps IWMInputMediaProps; |
| #ifdef __cplusplus |
| interface IWMInputMediaProps; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMWriterSink_FWD_DEFINED__ |
| #define __IWMWriterSink_FWD_DEFINED__ |
| typedef interface IWMWriterSink IWMWriterSink; |
| #ifdef __cplusplus |
| interface IWMWriterSink; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMWriter_FWD_DEFINED__ |
| #define __IWMWriter_FWD_DEFINED__ |
| typedef interface IWMWriter IWMWriter; |
| #ifdef __cplusplus |
| interface IWMWriter; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMWriterAdvanced_FWD_DEFINED__ |
| #define __IWMWriterAdvanced_FWD_DEFINED__ |
| typedef interface IWMWriterAdvanced IWMWriterAdvanced; |
| #ifdef __cplusplus |
| interface IWMWriterAdvanced; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMWriterAdvanced2_FWD_DEFINED__ |
| #define __IWMWriterAdvanced2_FWD_DEFINED__ |
| typedef interface IWMWriterAdvanced2 IWMWriterAdvanced2; |
| #ifdef __cplusplus |
| interface IWMWriterAdvanced2; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMWriterAdvanced3_FWD_DEFINED__ |
| #define __IWMWriterAdvanced3_FWD_DEFINED__ |
| typedef interface IWMWriterAdvanced3 IWMWriterAdvanced3; |
| #ifdef __cplusplus |
| interface IWMWriterAdvanced3; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMHeaderInfo_FWD_DEFINED__ |
| #define __IWMHeaderInfo_FWD_DEFINED__ |
| typedef interface IWMHeaderInfo IWMHeaderInfo; |
| #ifdef __cplusplus |
| interface IWMHeaderInfo; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMHeaderInfo2_FWD_DEFINED__ |
| #define __IWMHeaderInfo2_FWD_DEFINED__ |
| typedef interface IWMHeaderInfo2 IWMHeaderInfo2; |
| #ifdef __cplusplus |
| interface IWMHeaderInfo2; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMHeaderInfo3_FWD_DEFINED__ |
| #define __IWMHeaderInfo3_FWD_DEFINED__ |
| typedef interface IWMHeaderInfo3 IWMHeaderInfo3; |
| #ifdef __cplusplus |
| interface IWMHeaderInfo3; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderNetworkConfig_FWD_DEFINED__ |
| #define __IWMReaderNetworkConfig_FWD_DEFINED__ |
| typedef interface IWMReaderNetworkConfig IWMReaderNetworkConfig; |
| #ifdef __cplusplus |
| interface IWMReaderNetworkConfig; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderNetworkConfig2_FWD_DEFINED__ |
| #define __IWMReaderNetworkConfig2_FWD_DEFINED__ |
| typedef interface IWMReaderNetworkConfig2 IWMReaderNetworkConfig2; |
| #ifdef __cplusplus |
| interface IWMReaderNetworkConfig2; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderStreamClock_FWD_DEFINED__ |
| #define __IWMReaderStreamClock_FWD_DEFINED__ |
| typedef interface IWMReaderStreamClock IWMReaderStreamClock; |
| #ifdef __cplusplus |
| interface IWMReaderStreamClock; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMPacketSize_FWD_DEFINED__ |
| #define __IWMPacketSize_FWD_DEFINED__ |
| typedef interface IWMPacketSize IWMPacketSize; |
| #ifdef __cplusplus |
| interface IWMPacketSize; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMPacketSize2_FWD_DEFINED__ |
| #define __IWMPacketSize2_FWD_DEFINED__ |
| typedef interface IWMPacketSize2 IWMPacketSize2; |
| #ifdef __cplusplus |
| interface IWMPacketSize2; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMDRMReader_FWD_DEFINED__ |
| #define __IWMDRMReader_FWD_DEFINED__ |
| typedef interface IWMDRMReader IWMDRMReader; |
| #ifdef __cplusplus |
| interface IWMDRMReader; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMDRMReader2_FWD_DEFINED__ |
| #define __IWMDRMReader2_FWD_DEFINED__ |
| typedef interface IWMDRMReader2 IWMDRMReader2; |
| #ifdef __cplusplus |
| interface IWMDRMReader2; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMDRMReader3_FWD_DEFINED__ |
| #define __IWMDRMReader3_FWD_DEFINED__ |
| typedef interface IWMDRMReader3 IWMDRMReader3; |
| #ifdef __cplusplus |
| interface IWMDRMReader3; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderAccelerator_FWD_DEFINED__ |
| #define __IWMReaderAccelerator_FWD_DEFINED__ |
| typedef interface IWMReaderAccelerator IWMReaderAccelerator; |
| #ifdef __cplusplus |
| interface IWMReaderAccelerator; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderTimecode_FWD_DEFINED__ |
| #define __IWMReaderTimecode_FWD_DEFINED__ |
| typedef interface IWMReaderTimecode IWMReaderTimecode; |
| #ifdef __cplusplus |
| interface IWMReaderTimecode; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderTypeNegotiation_FWD_DEFINED__ |
| #define __IWMReaderTypeNegotiation_FWD_DEFINED__ |
| typedef interface IWMReaderTypeNegotiation IWMReaderTypeNegotiation; |
| #ifdef __cplusplus |
| interface IWMReaderTypeNegotiation; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMLanguageList_FWD_DEFINED__ |
| #define __IWMLanguageList_FWD_DEFINED__ |
| typedef interface IWMLanguageList IWMLanguageList; |
| #ifdef __cplusplus |
| interface IWMLanguageList; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMReaderPlaylistBurn_FWD_DEFINED__ |
| #define __IWMReaderPlaylistBurn_FWD_DEFINED__ |
| typedef interface IWMReaderPlaylistBurn IWMReaderPlaylistBurn; |
| #ifdef __cplusplus |
| interface IWMReaderPlaylistBurn; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMPropertyVault_FWD_DEFINED__ |
| #define __IWMPropertyVault_FWD_DEFINED__ |
| typedef interface IWMPropertyVault IWMPropertyVault; |
| #ifdef __cplusplus |
| interface IWMPropertyVault; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMWriterPreprocess_FWD_DEFINED__ |
| #define __IWMWriterPreprocess_FWD_DEFINED__ |
| typedef interface IWMWriterPreprocess IWMWriterPreprocess; |
| #ifdef __cplusplus |
| interface IWMWriterPreprocess; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMLicenseBackup_FWD_DEFINED__ |
| #define __IWMLicenseBackup_FWD_DEFINED__ |
| typedef interface IWMLicenseBackup IWMLicenseBackup; |
| #ifdef __cplusplus |
| interface IWMLicenseBackup; |
| #endif /* __cplusplus */ |
| #endif |
| |
| #ifndef __IWMLicenseRestore_FWD_DEFINED__ |
| #define __IWMLicenseRestore_FWD_DEFINED__ |
| typedef interface IWMLicenseRestore IWMLicenseRestore; |
| #ifdef __cplusplus |
| interface IWMLicenseRestore; |
| #endif /* __cplusplus */ |
| #endif |
| |
| /* Headers for imported files */ |
| |
| #include <oaidl.h> |
| #include <wmsbuffer.h> |
| #include <drmexternals.h> |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| typedef struct _WMMediaType { |
| GUID majortype; |
| GUID subtype; |
| WINBOOL bFixedSizeSamples; |
| WINBOOL bTemporalCompression; |
| ULONG lSampleSize; |
| GUID formattype; |
| IUnknown *pUnk; |
| ULONG cbFormat; |
| BYTE *pbFormat; |
| } WM_MEDIA_TYPE; |
| typedef struct _WMWriterStatistics { |
| QWORD qwSampleCount; |
| QWORD qwByteCount; |
| QWORD qwDroppedSampleCount; |
| QWORD qwDroppedByteCount; |
| DWORD dwCurrentBitrate; |
| DWORD dwAverageBitrate; |
| DWORD dwExpectedBitrate; |
| DWORD dwCurrentSampleRate; |
| DWORD dwAverageSampleRate; |
| DWORD dwExpectedSampleRate; |
| } WM_WRITER_STATISTICS; |
| typedef struct _WMWriterStatisticsEx { |
| DWORD dwBitratePlusOverhead; |
| DWORD dwCurrentSampleDropRateInQueue; |
| DWORD dwCurrentSampleDropRateInCodec; |
| DWORD dwCurrentSampleDropRateInMultiplexer; |
| DWORD dwTotalSampleDropsInQueue; |
| DWORD dwTotalSampleDropsInCodec; |
| DWORD dwTotalSampleDropsInMultiplexer; |
| } WM_WRITER_STATISTICS_EX; |
| typedef struct _WMReaderStatistics { |
| DWORD cbSize; |
| DWORD dwBandwidth; |
| DWORD cPacketsReceived; |
| DWORD cPacketsRecovered; |
| DWORD cPacketsLost; |
| WORD wQuality; |
| } WM_READER_STATISTICS; |
| typedef struct _WMReaderClientInfo { |
| DWORD cbSize; |
| WCHAR *wszLang; |
| WCHAR *wszBrowserUserAgent; |
| WCHAR *wszBrowserWebPage; |
| QWORD qwReserved; |
| LPARAM *pReserved; |
| WCHAR *wszHostExe; |
| QWORD qwHostVersion; |
| WCHAR *wszPlayerUserAgent; |
| } WM_READER_CLIENTINFO; |
| typedef enum WMT_ATTR_DATATYPE { |
| WMT_TYPE_DWORD = 0, |
| WMT_TYPE_STRING = 1, |
| WMT_TYPE_BINARY = 2, |
| WMT_TYPE_BOOL = 3, |
| WMT_TYPE_QWORD = 4, |
| WMT_TYPE_WORD = 5, |
| WMT_TYPE_GUID = 6 |
| } WMT_ATTR_DATATYPE; |
| typedef enum WMT_STATUS { |
| WMT_ERROR = 0, |
| WMT_OPENED = 1, |
| WMT_BUFFERING_START = 2, |
| WMT_BUFFERING_STOP = 3, |
| WMT_EOF = 4, |
| WMT_END_OF_FILE = 4, |
| WMT_END_OF_SEGMENT = 5, |
| WMT_END_OF_STREAMING = 6, |
| WMT_LOCATING = 7, |
| WMT_CONNECTING = 8, |
| WMT_NO_RIGHTS = 9, |
| WMT_MISSING_CODEC = 10, |
| WMT_STARTED = 11, |
| WMT_STOPPED = 12, |
| WMT_CLOSED = 13, |
| WMT_STRIDING = 14, |
| WMT_TIMER = 15, |
| WMT_INDEX_PROGRESS = 16, |
| WMT_SAVEAS_START = 17, |
| WMT_SAVEAS_STOP = 18, |
| WMT_NEW_SOURCEFLAGS = 19, |
| WMT_NEW_METADATA = 20, |
| WMT_BACKUPRESTORE_BEGIN = 21, |
| WMT_SOURCE_SWITCH = 22, |
| WMT_ACQUIRE_LICENSE = 23, |
| WMT_INDIVIDUALIZE = 24, |
| WMT_NEEDS_INDIVIDUALIZATION = 25, |
| WMT_NO_RIGHTS_EX = 26, |
| WMT_BACKUPRESTORE_END = 27, |
| WMT_BACKUPRESTORE_CONNECTING = 28, |
| WMT_BACKUPRESTORE_DISCONNECTING = 29, |
| WMT_ERROR_WITHURL = 30, |
| WMT_RESTRICTED_LICENSE = 31, |
| WMT_CLIENT_CONNECT = 32, |
| WMT_CLIENT_DISCONNECT = 33, |
| WMT_NATIVE_OUTPUT_PROPS_CHANGED = 34, |
| WMT_RECONNECT_START = 35, |
| WMT_RECONNECT_END = 36, |
| WMT_CLIENT_CONNECT_EX = 37, |
| WMT_CLIENT_DISCONNECT_EX = 38, |
| WMT_SET_FEC_SPAN = 39, |
| WMT_PREROLL_READY = 40, |
| WMT_PREROLL_COMPLETE = 41, |
| WMT_CLIENT_PROPERTIES = 42, |
| WMT_LICENSEURL_SIGNATURE_STATE = 43, |
| WMT_INIT_PLAYLIST_BURN = 44, |
| WMT_TRANSCRYPTOR_INIT = 45, |
| WMT_TRANSCRYPTOR_SEEKED = 46, |
| WMT_TRANSCRYPTOR_READ = 47, |
| WMT_TRANSCRYPTOR_CLOSED = 48, |
| WMT_PROXIMITY_RESULT = 49, |
| WMT_PROXIMITY_COMPLETED = 50, |
| WMT_CONTENT_ENABLER = 51 |
| } WMT_STATUS; |
| typedef enum WMT_STREAM_SELECTION { |
| WMT_OFF = 0, |
| WMT_CLEANPOINT_ONLY = 1, |
| WMT_ON = 2 |
| } WMT_STREAM_SELECTION; |
| typedef enum WMT_VERSION { |
| WMT_VER_4_0 = 0x40000, |
| WMT_VER_7_0 = 0x70000, |
| WMT_VER_8_0 = 0x80000, |
| WMT_VER_9_0 = 0x90000 |
| } WMT_VERSION; |
| typedef enum WMT_PLAY_MODE { |
| WMT_PLAY_MODE_AUTOSELECT = 0, |
| WMT_PLAY_MODE_LOCAL = 1, |
| WMT_PLAY_MODE_DOWNLOAD = 2, |
| WMT_PLAY_MODE_STREAMING = 3 |
| } WMT_PLAY_MODE; |
| typedef enum tagWMT_OFFSET_FORMAT { |
| WMT_OFFSET_FORMAT_100NS = 0, |
| WMT_OFFSET_FORMAT_FRAME_NUMBERS = 1, |
| WMT_OFFSET_FORMAT_PLAYLIST_OFFSET = 2, |
| WMT_OFFSET_FORMAT_TIMECODE = 3, |
| WMT_OFFSET_FORMAT_100NS_APPROXIMATE = 4 |
| } WMT_OFFSET_FORMAT; |
| typedef enum WMT_CODEC_INFO_TYPE { |
| WMT_CODECINFO_AUDIO = 0, |
| WMT_CODECINFO_VIDEO = 1, |
| WMT_CODECINFO_UNKNOWN = 0xffffffff |
| } WMT_CODEC_INFO_TYPE; |
| typedef enum WMT_PROXY_SETTINGS { |
| WMT_PROXY_SETTING_NONE = 0, |
| WMT_PROXY_SETTING_MANUAL = 1, |
| WMT_PROXY_SETTING_AUTO = 2, |
| WMT_PROXY_SETTING_BROWSER = 3, |
| WMT_PROXY_SETTING_MAX = 4 |
| } WMT_PROXY_SETTINGS; |
| typedef enum tagWMT_STORAGE_FORMAT { |
| WMT_Storage_Format_MP3 = 0, |
| WMT_Storage_Format_V1 = 1 |
| } WMT_STORAGE_FORMAT; |
| typedef struct _WMStreamPrioritizationRecord { |
| WORD wStreamNumber; |
| WINBOOL fMandatory; |
| } WM_STREAM_PRIORITY_RECORD; |
| typedef struct _WMT_TIMECODE_EXTENSION_DATA { |
| WORD wRange; |
| DWORD dwTimecode; |
| DWORD dwUserbits; |
| DWORD dwAmFlags; |
| } WMT_TIMECODE_EXTENSION_DATA; |
| typedef struct _WM_PORT_NUMBER_RANGE { |
| WORD wPortBegin; |
| WORD wPortEnd; |
| } WM_PORT_NUMBER_RANGE; |
| typedef LPCWSTR LPCWSTR_WMSDK_TYPE_SAFE; |
| /***************************************************************************** |
| * IWMStatusCallback interface |
| */ |
| #ifndef __IWMStatusCallback_INTERFACE_DEFINED__ |
| #define __IWMStatusCallback_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMStatusCallback, 0x6d7cdc70, 0x9888, 0x11d3, 0x8e,0xdc, 0x00,0xc0,0x4f,0x61,0x09,0xcf); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("6d7cdc70-9888-11d3-8edc-00c04f6109cf") |
| IWMStatusCallback : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE OnStatus( |
| WMT_STATUS Status, |
| HRESULT hr, |
| WMT_ATTR_DATATYPE dwType, |
| BYTE *pValue, |
| void *pvContext) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMStatusCallback, 0x6d7cdc70, 0x9888, 0x11d3, 0x8e,0xdc, 0x00,0xc0,0x4f,0x61,0x09,0xcf) |
| #endif |
| #else |
| typedef struct IWMStatusCallbackVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMStatusCallback *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMStatusCallback *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMStatusCallback *This); |
| |
| /*** IWMStatusCallback methods ***/ |
| HRESULT (STDMETHODCALLTYPE *OnStatus)( |
| IWMStatusCallback *This, |
| WMT_STATUS Status, |
| HRESULT hr, |
| WMT_ATTR_DATATYPE dwType, |
| BYTE *pValue, |
| void *pvContext); |
| |
| END_INTERFACE |
| } IWMStatusCallbackVtbl; |
| |
| interface IWMStatusCallback { |
| CONST_VTBL IWMStatusCallbackVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMStatusCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMStatusCallback_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMStatusCallback_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMStatusCallback methods ***/ |
| #define IWMStatusCallback_OnStatus(This,Status,hr,dwType,pValue,pvContext) (This)->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMStatusCallback_QueryInterface(IWMStatusCallback* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMStatusCallback_AddRef(IWMStatusCallback* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMStatusCallback_Release(IWMStatusCallback* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMStatusCallback methods ***/ |
| static FORCEINLINE HRESULT IWMStatusCallback_OnStatus(IWMStatusCallback* This,WMT_STATUS Status,HRESULT hr,WMT_ATTR_DATATYPE dwType,BYTE *pValue,void *pvContext) { |
| return This->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMStatusCallback_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMReaderCallback interface |
| */ |
| #ifndef __IWMReaderCallback_INTERFACE_DEFINED__ |
| #define __IWMReaderCallback_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMReaderCallback, 0x96406bd8, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("96406bd8-2b2b-11d3-b36b-00c04f6108ff") |
| IWMReaderCallback : public IWMStatusCallback |
| { |
| virtual HRESULT STDMETHODCALLTYPE OnSample( |
| DWORD dwOutputNum, |
| QWORD cnsSampleTime, |
| QWORD cnsSampleDuration, |
| DWORD dwFlags, |
| INSSBuffer *pSample, |
| void *pvContext) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMReaderCallback, 0x96406bd8, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) |
| #endif |
| #else |
| typedef struct IWMReaderCallbackVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMReaderCallback *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMReaderCallback *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMReaderCallback *This); |
| |
| /*** IWMStatusCallback methods ***/ |
| HRESULT (STDMETHODCALLTYPE *OnStatus)( |
| IWMReaderCallback *This, |
| WMT_STATUS Status, |
| HRESULT hr, |
| WMT_ATTR_DATATYPE dwType, |
| BYTE *pValue, |
| void *pvContext); |
| |
| /*** IWMReaderCallback methods ***/ |
| HRESULT (STDMETHODCALLTYPE *OnSample)( |
| IWMReaderCallback *This, |
| DWORD dwOutputNum, |
| QWORD cnsSampleTime, |
| QWORD cnsSampleDuration, |
| DWORD dwFlags, |
| INSSBuffer *pSample, |
| void *pvContext); |
| |
| END_INTERFACE |
| } IWMReaderCallbackVtbl; |
| |
| interface IWMReaderCallback { |
| CONST_VTBL IWMReaderCallbackVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMReaderCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMReaderCallback_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMReaderCallback_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMStatusCallback methods ***/ |
| #define IWMReaderCallback_OnStatus(This,Status,hr,dwType,pValue,pvContext) (This)->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext) |
| /*** IWMReaderCallback methods ***/ |
| #define IWMReaderCallback_OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext) (This)->lpVtbl->OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMReaderCallback_QueryInterface(IWMReaderCallback* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMReaderCallback_AddRef(IWMReaderCallback* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMReaderCallback_Release(IWMReaderCallback* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMStatusCallback methods ***/ |
| static FORCEINLINE HRESULT IWMReaderCallback_OnStatus(IWMReaderCallback* This,WMT_STATUS Status,HRESULT hr,WMT_ATTR_DATATYPE dwType,BYTE *pValue,void *pvContext) { |
| return This->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext); |
| } |
| /*** IWMReaderCallback methods ***/ |
| static FORCEINLINE HRESULT IWMReaderCallback_OnSample(IWMReaderCallback* This,DWORD dwOutputNum,QWORD cnsSampleTime,QWORD cnsSampleDuration,DWORD dwFlags,INSSBuffer *pSample,void *pvContext) { |
| return This->lpVtbl->OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMReaderCallback_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMStreamList interface |
| */ |
| #ifndef __IWMStreamList_INTERFACE_DEFINED__ |
| #define __IWMStreamList_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMStreamList, 0x96406bdd, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("96406bdd-2b2b-11d3-b36b-00c04f6108ff") |
| IWMStreamList : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetStreams( |
| WORD *pwStreamNumArray, |
| WORD *pcStreams) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE AddStream( |
| WORD wStreamNum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE RemoveStream( |
| WORD wStreamNum) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMStreamList, 0x96406bdd, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) |
| #endif |
| #else |
| typedef struct IWMStreamListVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMStreamList *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMStreamList *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMStreamList *This); |
| |
| /*** IWMStreamList methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetStreams)( |
| IWMStreamList *This, |
| WORD *pwStreamNumArray, |
| WORD *pcStreams); |
| |
| HRESULT (STDMETHODCALLTYPE *AddStream)( |
| IWMStreamList *This, |
| WORD wStreamNum); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveStream)( |
| IWMStreamList *This, |
| WORD wStreamNum); |
| |
| END_INTERFACE |
| } IWMStreamListVtbl; |
| |
| interface IWMStreamList { |
| CONST_VTBL IWMStreamListVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMStreamList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMStreamList_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMStreamList_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMStreamList methods ***/ |
| #define IWMStreamList_GetStreams(This,pwStreamNumArray,pcStreams) (This)->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams) |
| #define IWMStreamList_AddStream(This,wStreamNum) (This)->lpVtbl->AddStream(This,wStreamNum) |
| #define IWMStreamList_RemoveStream(This,wStreamNum) (This)->lpVtbl->RemoveStream(This,wStreamNum) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMStreamList_QueryInterface(IWMStreamList* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMStreamList_AddRef(IWMStreamList* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMStreamList_Release(IWMStreamList* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMStreamList methods ***/ |
| static FORCEINLINE HRESULT IWMStreamList_GetStreams(IWMStreamList* This,WORD *pwStreamNumArray,WORD *pcStreams) { |
| return This->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams); |
| } |
| static FORCEINLINE HRESULT IWMStreamList_AddStream(IWMStreamList* This,WORD wStreamNum) { |
| return This->lpVtbl->AddStream(This,wStreamNum); |
| } |
| static FORCEINLINE HRESULT IWMStreamList_RemoveStream(IWMStreamList* This,WORD wStreamNum) { |
| return This->lpVtbl->RemoveStream(This,wStreamNum); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMStreamList_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMMutualExclusion interface |
| */ |
| #ifndef __IWMMutualExclusion_INTERFACE_DEFINED__ |
| #define __IWMMutualExclusion_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMMutualExclusion, 0x96406bde, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("96406bde-2b2b-11d3-b36b-00c04f6108ff") |
| IWMMutualExclusion : public IWMStreamList |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetType( |
| GUID *pguidType) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetType( |
| REFGUID guidType) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMMutualExclusion, 0x96406bde, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) |
| #endif |
| #else |
| typedef struct IWMMutualExclusionVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMMutualExclusion *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMMutualExclusion *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMMutualExclusion *This); |
| |
| /*** IWMStreamList methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetStreams)( |
| IWMMutualExclusion *This, |
| WORD *pwStreamNumArray, |
| WORD *pcStreams); |
| |
| HRESULT (STDMETHODCALLTYPE *AddStream)( |
| IWMMutualExclusion *This, |
| WORD wStreamNum); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveStream)( |
| IWMMutualExclusion *This, |
| WORD wStreamNum); |
| |
| /*** IWMMutualExclusion methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetType)( |
| IWMMutualExclusion *This, |
| GUID *pguidType); |
| |
| HRESULT (STDMETHODCALLTYPE *SetType)( |
| IWMMutualExclusion *This, |
| REFGUID guidType); |
| |
| END_INTERFACE |
| } IWMMutualExclusionVtbl; |
| |
| interface IWMMutualExclusion { |
| CONST_VTBL IWMMutualExclusionVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMMutualExclusion_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMMutualExclusion_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMMutualExclusion_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMStreamList methods ***/ |
| #define IWMMutualExclusion_GetStreams(This,pwStreamNumArray,pcStreams) (This)->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams) |
| #define IWMMutualExclusion_AddStream(This,wStreamNum) (This)->lpVtbl->AddStream(This,wStreamNum) |
| #define IWMMutualExclusion_RemoveStream(This,wStreamNum) (This)->lpVtbl->RemoveStream(This,wStreamNum) |
| /*** IWMMutualExclusion methods ***/ |
| #define IWMMutualExclusion_GetType(This,pguidType) (This)->lpVtbl->GetType(This,pguidType) |
| #define IWMMutualExclusion_SetType(This,guidType) (This)->lpVtbl->SetType(This,guidType) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMMutualExclusion_QueryInterface(IWMMutualExclusion* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMMutualExclusion_AddRef(IWMMutualExclusion* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMMutualExclusion_Release(IWMMutualExclusion* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMStreamList methods ***/ |
| static FORCEINLINE HRESULT IWMMutualExclusion_GetStreams(IWMMutualExclusion* This,WORD *pwStreamNumArray,WORD *pcStreams) { |
| return This->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams); |
| } |
| static FORCEINLINE HRESULT IWMMutualExclusion_AddStream(IWMMutualExclusion* This,WORD wStreamNum) { |
| return This->lpVtbl->AddStream(This,wStreamNum); |
| } |
| static FORCEINLINE HRESULT IWMMutualExclusion_RemoveStream(IWMMutualExclusion* This,WORD wStreamNum) { |
| return This->lpVtbl->RemoveStream(This,wStreamNum); |
| } |
| /*** IWMMutualExclusion methods ***/ |
| static FORCEINLINE HRESULT IWMMutualExclusion_GetType(IWMMutualExclusion* This,GUID *pguidType) { |
| return This->lpVtbl->GetType(This,pguidType); |
| } |
| static FORCEINLINE HRESULT IWMMutualExclusion_SetType(IWMMutualExclusion* This,REFGUID guidType) { |
| return This->lpVtbl->SetType(This,guidType); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMMutualExclusion_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMBandwidthSharing interface |
| */ |
| #ifndef __IWMBandwidthSharing_INTERFACE_DEFINED__ |
| #define __IWMBandwidthSharing_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMBandwidthSharing, 0xad694af1, 0xf8d9, 0x42f8, 0xbc,0x47, 0x70,0x31,0x1b,0x0c,0x4f,0x9e); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("ad694af1-f8d9-42f8-bc47-70311b0c4f9e") |
| IWMBandwidthSharing : public IWMStreamList |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetType( |
| GUID *guid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetType( |
| REFGUID guid) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetBandwidth( |
| DWORD *bitrate, |
| DWORD *buffer) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetBandwidth( |
| DWORD bitrate, |
| DWORD buffer) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMBandwidthSharing, 0xad694af1, 0xf8d9, 0x42f8, 0xbc,0x47, 0x70,0x31,0x1b,0x0c,0x4f,0x9e) |
| #endif |
| #else |
| typedef struct IWMBandwidthSharingVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMBandwidthSharing *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMBandwidthSharing *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMBandwidthSharing *This); |
| |
| /*** IWMStreamList methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetStreams)( |
| IWMBandwidthSharing *This, |
| WORD *pwStreamNumArray, |
| WORD *pcStreams); |
| |
| HRESULT (STDMETHODCALLTYPE *AddStream)( |
| IWMBandwidthSharing *This, |
| WORD wStreamNum); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveStream)( |
| IWMBandwidthSharing *This, |
| WORD wStreamNum); |
| |
| /*** IWMBandwidthSharing methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetType)( |
| IWMBandwidthSharing *This, |
| GUID *guid); |
| |
| HRESULT (STDMETHODCALLTYPE *SetType)( |
| IWMBandwidthSharing *This, |
| REFGUID guid); |
| |
| HRESULT (STDMETHODCALLTYPE *GetBandwidth)( |
| IWMBandwidthSharing *This, |
| DWORD *bitrate, |
| DWORD *buffer); |
| |
| HRESULT (STDMETHODCALLTYPE *SetBandwidth)( |
| IWMBandwidthSharing *This, |
| DWORD bitrate, |
| DWORD buffer); |
| |
| END_INTERFACE |
| } IWMBandwidthSharingVtbl; |
| |
| interface IWMBandwidthSharing { |
| CONST_VTBL IWMBandwidthSharingVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMBandwidthSharing_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMBandwidthSharing_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMBandwidthSharing_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMStreamList methods ***/ |
| #define IWMBandwidthSharing_GetStreams(This,pwStreamNumArray,pcStreams) (This)->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams) |
| #define IWMBandwidthSharing_AddStream(This,wStreamNum) (This)->lpVtbl->AddStream(This,wStreamNum) |
| #define IWMBandwidthSharing_RemoveStream(This,wStreamNum) (This)->lpVtbl->RemoveStream(This,wStreamNum) |
| /*** IWMBandwidthSharing methods ***/ |
| #define IWMBandwidthSharing_GetType(This,guid) (This)->lpVtbl->GetType(This,guid) |
| #define IWMBandwidthSharing_SetType(This,guid) (This)->lpVtbl->SetType(This,guid) |
| #define IWMBandwidthSharing_GetBandwidth(This,bitrate,buffer) (This)->lpVtbl->GetBandwidth(This,bitrate,buffer) |
| #define IWMBandwidthSharing_SetBandwidth(This,bitrate,buffer) (This)->lpVtbl->SetBandwidth(This,bitrate,buffer) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMBandwidthSharing_QueryInterface(IWMBandwidthSharing* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMBandwidthSharing_AddRef(IWMBandwidthSharing* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMBandwidthSharing_Release(IWMBandwidthSharing* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMStreamList methods ***/ |
| static FORCEINLINE HRESULT IWMBandwidthSharing_GetStreams(IWMBandwidthSharing* This,WORD *pwStreamNumArray,WORD *pcStreams) { |
| return This->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams); |
| } |
| static FORCEINLINE HRESULT IWMBandwidthSharing_AddStream(IWMBandwidthSharing* This,WORD wStreamNum) { |
| return This->lpVtbl->AddStream(This,wStreamNum); |
| } |
| static FORCEINLINE HRESULT IWMBandwidthSharing_RemoveStream(IWMBandwidthSharing* This,WORD wStreamNum) { |
| return This->lpVtbl->RemoveStream(This,wStreamNum); |
| } |
| /*** IWMBandwidthSharing methods ***/ |
| static FORCEINLINE HRESULT IWMBandwidthSharing_GetType(IWMBandwidthSharing* This,GUID *guid) { |
| return This->lpVtbl->GetType(This,guid); |
| } |
| static FORCEINLINE HRESULT IWMBandwidthSharing_SetType(IWMBandwidthSharing* This,REFGUID guid) { |
| return This->lpVtbl->SetType(This,guid); |
| } |
| static FORCEINLINE HRESULT IWMBandwidthSharing_GetBandwidth(IWMBandwidthSharing* This,DWORD *bitrate,DWORD *buffer) { |
| return This->lpVtbl->GetBandwidth(This,bitrate,buffer); |
| } |
| static FORCEINLINE HRESULT IWMBandwidthSharing_SetBandwidth(IWMBandwidthSharing* This,DWORD bitrate,DWORD buffer) { |
| return This->lpVtbl->SetBandwidth(This,bitrate,buffer); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMBandwidthSharing_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMStreamPrioritization interface |
| */ |
| #ifndef __IWMStreamPrioritization_INTERFACE_DEFINED__ |
| #define __IWMStreamPrioritization_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMStreamPrioritization, 0x8c1c6090, 0xf9a8, 0x4748, 0x8e,0xc3, 0xdd,0x11,0x08,0xba,0x1e,0x77); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("8c1c6090-f9a8-4748-8ec3-dd1108ba1e77") |
| IWMStreamPrioritization : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetPriorityRecords( |
| WM_STREAM_PRIORITY_RECORD *array, |
| WORD *records) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetPriorityRecords( |
| WM_STREAM_PRIORITY_RECORD *array, |
| WORD records) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMStreamPrioritization, 0x8c1c6090, 0xf9a8, 0x4748, 0x8e,0xc3, 0xdd,0x11,0x08,0xba,0x1e,0x77) |
| #endif |
| #else |
| typedef struct IWMStreamPrioritizationVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMStreamPrioritization *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMStreamPrioritization *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMStreamPrioritization *This); |
| |
| /*** IWMStreamPrioritization methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetPriorityRecords)( |
| IWMStreamPrioritization *This, |
| WM_STREAM_PRIORITY_RECORD *array, |
| WORD *records); |
| |
| HRESULT (STDMETHODCALLTYPE *SetPriorityRecords)( |
| IWMStreamPrioritization *This, |
| WM_STREAM_PRIORITY_RECORD *array, |
| WORD records); |
| |
| END_INTERFACE |
| } IWMStreamPrioritizationVtbl; |
| |
| interface IWMStreamPrioritization { |
| CONST_VTBL IWMStreamPrioritizationVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMStreamPrioritization_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMStreamPrioritization_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMStreamPrioritization_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMStreamPrioritization methods ***/ |
| #define IWMStreamPrioritization_GetPriorityRecords(This,array,records) (This)->lpVtbl->GetPriorityRecords(This,array,records) |
| #define IWMStreamPrioritization_SetPriorityRecords(This,array,records) (This)->lpVtbl->SetPriorityRecords(This,array,records) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMStreamPrioritization_QueryInterface(IWMStreamPrioritization* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMStreamPrioritization_AddRef(IWMStreamPrioritization* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMStreamPrioritization_Release(IWMStreamPrioritization* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMStreamPrioritization methods ***/ |
| static FORCEINLINE HRESULT IWMStreamPrioritization_GetPriorityRecords(IWMStreamPrioritization* This,WM_STREAM_PRIORITY_RECORD *array,WORD *records) { |
| return This->lpVtbl->GetPriorityRecords(This,array,records); |
| } |
| static FORCEINLINE HRESULT IWMStreamPrioritization_SetPriorityRecords(IWMStreamPrioritization* This,WM_STREAM_PRIORITY_RECORD *array,WORD records) { |
| return This->lpVtbl->SetPriorityRecords(This,array,records); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMStreamPrioritization_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMStreamConfig interface |
| */ |
| #ifndef __IWMStreamConfig_INTERFACE_DEFINED__ |
| #define __IWMStreamConfig_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMStreamConfig, 0x96406bdc, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("96406bdc-2b2b-11d3-b36b-00c04f6108ff") |
| IWMStreamConfig : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetStreamType( |
| GUID *pguidStreamType) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetStreamNumber( |
| WORD *pwStreamNum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetStreamNumber( |
| WORD wStreamNum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetStreamName( |
| WCHAR *pwszStreamName, |
| WORD *pcchStreamName) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetStreamName( |
| LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetConnectionName( |
| WCHAR *pwszInputName, |
| WORD *pcchInputName) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetConnectionName( |
| LPCWSTR_WMSDK_TYPE_SAFE pwszInputName) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetBitrate( |
| DWORD *pdwBitrate) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetBitrate( |
| DWORD pdwBitrate) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetBufferWindow( |
| DWORD *pmsBufferWindow) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetBufferWindow( |
| DWORD msBufferWindow) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMStreamConfig, 0x96406bdc, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) |
| #endif |
| #else |
| typedef struct IWMStreamConfigVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMStreamConfig *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMStreamConfig *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMStreamConfig *This); |
| |
| /*** IWMStreamConfig methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetStreamType)( |
| IWMStreamConfig *This, |
| GUID *pguidStreamType); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStreamNumber)( |
| IWMStreamConfig *This, |
| WORD *pwStreamNum); |
| |
| HRESULT (STDMETHODCALLTYPE *SetStreamNumber)( |
| IWMStreamConfig *This, |
| WORD wStreamNum); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStreamName)( |
| IWMStreamConfig *This, |
| WCHAR *pwszStreamName, |
| WORD *pcchStreamName); |
| |
| HRESULT (STDMETHODCALLTYPE *SetStreamName)( |
| IWMStreamConfig *This, |
| LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName); |
| |
| HRESULT (STDMETHODCALLTYPE *GetConnectionName)( |
| IWMStreamConfig *This, |
| WCHAR *pwszInputName, |
| WORD *pcchInputName); |
| |
| HRESULT (STDMETHODCALLTYPE *SetConnectionName)( |
| IWMStreamConfig *This, |
| LPCWSTR_WMSDK_TYPE_SAFE pwszInputName); |
| |
| HRESULT (STDMETHODCALLTYPE *GetBitrate)( |
| IWMStreamConfig *This, |
| DWORD *pdwBitrate); |
| |
| HRESULT (STDMETHODCALLTYPE *SetBitrate)( |
| IWMStreamConfig *This, |
| DWORD pdwBitrate); |
| |
| HRESULT (STDMETHODCALLTYPE *GetBufferWindow)( |
| IWMStreamConfig *This, |
| DWORD *pmsBufferWindow); |
| |
| HRESULT (STDMETHODCALLTYPE *SetBufferWindow)( |
| IWMStreamConfig *This, |
| DWORD msBufferWindow); |
| |
| END_INTERFACE |
| } IWMStreamConfigVtbl; |
| |
| interface IWMStreamConfig { |
| CONST_VTBL IWMStreamConfigVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMStreamConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMStreamConfig_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMStreamConfig_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMStreamConfig methods ***/ |
| #define IWMStreamConfig_GetStreamType(This,pguidStreamType) (This)->lpVtbl->GetStreamType(This,pguidStreamType) |
| #define IWMStreamConfig_GetStreamNumber(This,pwStreamNum) (This)->lpVtbl->GetStreamNumber(This,pwStreamNum) |
| #define IWMStreamConfig_SetStreamNumber(This,wStreamNum) (This)->lpVtbl->SetStreamNumber(This,wStreamNum) |
| #define IWMStreamConfig_GetStreamName(This,pwszStreamName,pcchStreamName) (This)->lpVtbl->GetStreamName(This,pwszStreamName,pcchStreamName) |
| #define IWMStreamConfig_SetStreamName(This,pwszStreamName) (This)->lpVtbl->SetStreamName(This,pwszStreamName) |
| #define IWMStreamConfig_GetConnectionName(This,pwszInputName,pcchInputName) (This)->lpVtbl->GetConnectionName(This,pwszInputName,pcchInputName) |
| #define IWMStreamConfig_SetConnectionName(This,pwszInputName) (This)->lpVtbl->SetConnectionName(This,pwszInputName) |
| #define IWMStreamConfig_GetBitrate(This,pdwBitrate) (This)->lpVtbl->GetBitrate(This,pdwBitrate) |
| #define IWMStreamConfig_SetBitrate(This,pdwBitrate) (This)->lpVtbl->SetBitrate(This,pdwBitrate) |
| #define IWMStreamConfig_GetBufferWindow(This,pmsBufferWindow) (This)->lpVtbl->GetBufferWindow(This,pmsBufferWindow) |
| #define IWMStreamConfig_SetBufferWindow(This,msBufferWindow) (This)->lpVtbl->SetBufferWindow(This,msBufferWindow) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMStreamConfig_QueryInterface(IWMStreamConfig* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMStreamConfig_AddRef(IWMStreamConfig* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMStreamConfig_Release(IWMStreamConfig* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMStreamConfig methods ***/ |
| static FORCEINLINE HRESULT IWMStreamConfig_GetStreamType(IWMStreamConfig* This,GUID *pguidStreamType) { |
| return This->lpVtbl->GetStreamType(This,pguidStreamType); |
| } |
| static FORCEINLINE HRESULT IWMStreamConfig_GetStreamNumber(IWMStreamConfig* This,WORD *pwStreamNum) { |
| return This->lpVtbl->GetStreamNumber(This,pwStreamNum); |
| } |
| static FORCEINLINE HRESULT IWMStreamConfig_SetStreamNumber(IWMStreamConfig* This,WORD wStreamNum) { |
| return This->lpVtbl->SetStreamNumber(This,wStreamNum); |
| } |
| static FORCEINLINE HRESULT IWMStreamConfig_GetStreamName(IWMStreamConfig* This,WCHAR *pwszStreamName,WORD *pcchStreamName) { |
| return This->lpVtbl->GetStreamName(This,pwszStreamName,pcchStreamName); |
| } |
| static FORCEINLINE HRESULT IWMStreamConfig_SetStreamName(IWMStreamConfig* This,LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName) { |
| return This->lpVtbl->SetStreamName(This,pwszStreamName); |
| } |
| static FORCEINLINE HRESULT IWMStreamConfig_GetConnectionName(IWMStreamConfig* This,WCHAR *pwszInputName,WORD *pcchInputName) { |
| return This->lpVtbl->GetConnectionName(This,pwszInputName,pcchInputName); |
| } |
| static FORCEINLINE HRESULT IWMStreamConfig_SetConnectionName(IWMStreamConfig* This,LPCWSTR_WMSDK_TYPE_SAFE pwszInputName) { |
| return This->lpVtbl->SetConnectionName(This,pwszInputName); |
| } |
| static FORCEINLINE HRESULT IWMStreamConfig_GetBitrate(IWMStreamConfig* This,DWORD *pdwBitrate) { |
| return This->lpVtbl->GetBitrate(This,pdwBitrate); |
| } |
| static FORCEINLINE HRESULT IWMStreamConfig_SetBitrate(IWMStreamConfig* This,DWORD pdwBitrate) { |
| return This->lpVtbl->SetBitrate(This,pdwBitrate); |
| } |
| static FORCEINLINE HRESULT IWMStreamConfig_GetBufferWindow(IWMStreamConfig* This,DWORD *pmsBufferWindow) { |
| return This->lpVtbl->GetBufferWindow(This,pmsBufferWindow); |
| } |
| static FORCEINLINE HRESULT IWMStreamConfig_SetBufferWindow(IWMStreamConfig* This,DWORD msBufferWindow) { |
| return This->lpVtbl->SetBufferWindow(This,msBufferWindow); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMStreamConfig_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMProfile interface |
| */ |
| #ifndef __IWMProfile_INTERFACE_DEFINED__ |
| #define __IWMProfile_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMProfile, 0x96406bdb, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("96406bdb-2b2b-11d3-b36b-00c04f6108ff") |
| IWMProfile : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetVersion( |
| WMT_VERSION *pdwVersion) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetName( |
| WCHAR *pwszName, |
| DWORD *pcchName) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetName( |
| const WCHAR *pwszName) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetDescription( |
| WCHAR *pwszDescription, |
| DWORD *pcchDescription) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetDescription( |
| const WCHAR *pwszDescription) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetStreamCount( |
| DWORD *pcStreams) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetStream( |
| DWORD dwStreamIndex, |
| IWMStreamConfig **ppConfig) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetStreamByNumber( |
| WORD wStreamNum, |
| IWMStreamConfig **ppConfig) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE RemoveStream( |
| IWMStreamConfig *pConfig) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE RemoveStreamByNumber( |
| WORD wStreamNum) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE AddStream( |
| IWMStreamConfig *pConfig) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE ReconfigStream( |
| IWMStreamConfig *pConfig) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE CreateNewStream( |
| REFGUID guidStreamType, |
| IWMStreamConfig **ppConfig) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetMutualExclusionCount( |
| DWORD *pcME) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetMutualExclusion( |
| DWORD dwMEIndex, |
| IWMMutualExclusion **ppME) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE RemoveMutualExclusion( |
| IWMMutualExclusion *pME) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE AddMutualExclusion( |
| IWMMutualExclusion *pME) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE CreateNewMutualExclusion( |
| IWMMutualExclusion **ppME) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMProfile, 0x96406bdb, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff) |
| #endif |
| #else |
| typedef struct IWMProfileVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMProfile *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMProfile *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMProfile *This); |
| |
| /*** IWMProfile methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetVersion)( |
| IWMProfile *This, |
| WMT_VERSION *pdwVersion); |
| |
| HRESULT (STDMETHODCALLTYPE *GetName)( |
| IWMProfile *This, |
| WCHAR *pwszName, |
| DWORD *pcchName); |
| |
| HRESULT (STDMETHODCALLTYPE *SetName)( |
| IWMProfile *This, |
| const WCHAR *pwszName); |
| |
| HRESULT (STDMETHODCALLTYPE *GetDescription)( |
| IWMProfile *This, |
| WCHAR *pwszDescription, |
| DWORD *pcchDescription); |
| |
| HRESULT (STDMETHODCALLTYPE *SetDescription)( |
| IWMProfile *This, |
| const WCHAR *pwszDescription); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStreamCount)( |
| IWMProfile *This, |
| DWORD *pcStreams); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStream)( |
| IWMProfile *This, |
| DWORD dwStreamIndex, |
| IWMStreamConfig **ppConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStreamByNumber)( |
| IWMProfile *This, |
| WORD wStreamNum, |
| IWMStreamConfig **ppConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveStream)( |
| IWMProfile *This, |
| IWMStreamConfig *pConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveStreamByNumber)( |
| IWMProfile *This, |
| WORD wStreamNum); |
| |
| HRESULT (STDMETHODCALLTYPE *AddStream)( |
| IWMProfile *This, |
| IWMStreamConfig *pConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *ReconfigStream)( |
| IWMProfile *This, |
| IWMStreamConfig *pConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateNewStream)( |
| IWMProfile *This, |
| REFGUID guidStreamType, |
| IWMStreamConfig **ppConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *GetMutualExclusionCount)( |
| IWMProfile *This, |
| DWORD *pcME); |
| |
| HRESULT (STDMETHODCALLTYPE *GetMutualExclusion)( |
| IWMProfile *This, |
| DWORD dwMEIndex, |
| IWMMutualExclusion **ppME); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveMutualExclusion)( |
| IWMProfile *This, |
| IWMMutualExclusion *pME); |
| |
| HRESULT (STDMETHODCALLTYPE *AddMutualExclusion)( |
| IWMProfile *This, |
| IWMMutualExclusion *pME); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateNewMutualExclusion)( |
| IWMProfile *This, |
| IWMMutualExclusion **ppME); |
| |
| END_INTERFACE |
| } IWMProfileVtbl; |
| |
| interface IWMProfile { |
| CONST_VTBL IWMProfileVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMProfile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMProfile_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMProfile_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMProfile methods ***/ |
| #define IWMProfile_GetVersion(This,pdwVersion) (This)->lpVtbl->GetVersion(This,pdwVersion) |
| #define IWMProfile_GetName(This,pwszName,pcchName) (This)->lpVtbl->GetName(This,pwszName,pcchName) |
| #define IWMProfile_SetName(This,pwszName) (This)->lpVtbl->SetName(This,pwszName) |
| #define IWMProfile_GetDescription(This,pwszDescription,pcchDescription) (This)->lpVtbl->GetDescription(This,pwszDescription,pcchDescription) |
| #define IWMProfile_SetDescription(This,pwszDescription) (This)->lpVtbl->SetDescription(This,pwszDescription) |
| #define IWMProfile_GetStreamCount(This,pcStreams) (This)->lpVtbl->GetStreamCount(This,pcStreams) |
| #define IWMProfile_GetStream(This,dwStreamIndex,ppConfig) (This)->lpVtbl->GetStream(This,dwStreamIndex,ppConfig) |
| #define IWMProfile_GetStreamByNumber(This,wStreamNum,ppConfig) (This)->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig) |
| #define IWMProfile_RemoveStream(This,pConfig) (This)->lpVtbl->RemoveStream(This,pConfig) |
| #define IWMProfile_RemoveStreamByNumber(This,wStreamNum) (This)->lpVtbl->RemoveStreamByNumber(This,wStreamNum) |
| #define IWMProfile_AddStream(This,pConfig) (This)->lpVtbl->AddStream(This,pConfig) |
| #define IWMProfile_ReconfigStream(This,pConfig) (This)->lpVtbl->ReconfigStream(This,pConfig) |
| #define IWMProfile_CreateNewStream(This,guidStreamType,ppConfig) (This)->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig) |
| #define IWMProfile_GetMutualExclusionCount(This,pcME) (This)->lpVtbl->GetMutualExclusionCount(This,pcME) |
| #define IWMProfile_GetMutualExclusion(This,dwMEIndex,ppME) (This)->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME) |
| #define IWMProfile_RemoveMutualExclusion(This,pME) (This)->lpVtbl->RemoveMutualExclusion(This,pME) |
| #define IWMProfile_AddMutualExclusion(This,pME) (This)->lpVtbl->AddMutualExclusion(This,pME) |
| #define IWMProfile_CreateNewMutualExclusion(This,ppME) (This)->lpVtbl->CreateNewMutualExclusion(This,ppME) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMProfile_QueryInterface(IWMProfile* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMProfile_AddRef(IWMProfile* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMProfile_Release(IWMProfile* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMProfile methods ***/ |
| static FORCEINLINE HRESULT IWMProfile_GetVersion(IWMProfile* This,WMT_VERSION *pdwVersion) { |
| return This->lpVtbl->GetVersion(This,pdwVersion); |
| } |
| static FORCEINLINE HRESULT IWMProfile_GetName(IWMProfile* This,WCHAR *pwszName,DWORD *pcchName) { |
| return This->lpVtbl->GetName(This,pwszName,pcchName); |
| } |
| static FORCEINLINE HRESULT IWMProfile_SetName(IWMProfile* This,const WCHAR *pwszName) { |
| return This->lpVtbl->SetName(This,pwszName); |
| } |
| static FORCEINLINE HRESULT IWMProfile_GetDescription(IWMProfile* This,WCHAR *pwszDescription,DWORD *pcchDescription) { |
| return This->lpVtbl->GetDescription(This,pwszDescription,pcchDescription); |
| } |
| static FORCEINLINE HRESULT IWMProfile_SetDescription(IWMProfile* This,const WCHAR *pwszDescription) { |
| return This->lpVtbl->SetDescription(This,pwszDescription); |
| } |
| static FORCEINLINE HRESULT IWMProfile_GetStreamCount(IWMProfile* This,DWORD *pcStreams) { |
| return This->lpVtbl->GetStreamCount(This,pcStreams); |
| } |
| static FORCEINLINE HRESULT IWMProfile_GetStream(IWMProfile* This,DWORD dwStreamIndex,IWMStreamConfig **ppConfig) { |
| return This->lpVtbl->GetStream(This,dwStreamIndex,ppConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile_GetStreamByNumber(IWMProfile* This,WORD wStreamNum,IWMStreamConfig **ppConfig) { |
| return This->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile_RemoveStream(IWMProfile* This,IWMStreamConfig *pConfig) { |
| return This->lpVtbl->RemoveStream(This,pConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile_RemoveStreamByNumber(IWMProfile* This,WORD wStreamNum) { |
| return This->lpVtbl->RemoveStreamByNumber(This,wStreamNum); |
| } |
| static FORCEINLINE HRESULT IWMProfile_AddStream(IWMProfile* This,IWMStreamConfig *pConfig) { |
| return This->lpVtbl->AddStream(This,pConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile_ReconfigStream(IWMProfile* This,IWMStreamConfig *pConfig) { |
| return This->lpVtbl->ReconfigStream(This,pConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile_CreateNewStream(IWMProfile* This,REFGUID guidStreamType,IWMStreamConfig **ppConfig) { |
| return This->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile_GetMutualExclusionCount(IWMProfile* This,DWORD *pcME) { |
| return This->lpVtbl->GetMutualExclusionCount(This,pcME); |
| } |
| static FORCEINLINE HRESULT IWMProfile_GetMutualExclusion(IWMProfile* This,DWORD dwMEIndex,IWMMutualExclusion **ppME) { |
| return This->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME); |
| } |
| static FORCEINLINE HRESULT IWMProfile_RemoveMutualExclusion(IWMProfile* This,IWMMutualExclusion *pME) { |
| return This->lpVtbl->RemoveMutualExclusion(This,pME); |
| } |
| static FORCEINLINE HRESULT IWMProfile_AddMutualExclusion(IWMProfile* This,IWMMutualExclusion *pME) { |
| return This->lpVtbl->AddMutualExclusion(This,pME); |
| } |
| static FORCEINLINE HRESULT IWMProfile_CreateNewMutualExclusion(IWMProfile* This,IWMMutualExclusion **ppME) { |
| return This->lpVtbl->CreateNewMutualExclusion(This,ppME); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMProfile_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMProfile2 interface |
| */ |
| #ifndef __IWMProfile2_INTERFACE_DEFINED__ |
| #define __IWMProfile2_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMProfile2, 0x07e72d33, 0xd94e, 0x4be7, 0x88,0x43, 0x60,0xae,0x5f,0xf7,0xe5,0xf5); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("07e72d33-d94e-4be7-8843-60ae5ff7e5f5") |
| IWMProfile2 : public IWMProfile |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetProfileID( |
| GUID *guid) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMProfile2, 0x07e72d33, 0xd94e, 0x4be7, 0x88,0x43, 0x60,0xae,0x5f,0xf7,0xe5,0xf5) |
| #endif |
| #else |
| typedef struct IWMProfile2Vtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMProfile2 *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMProfile2 *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMProfile2 *This); |
| |
| /*** IWMProfile methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetVersion)( |
| IWMProfile2 *This, |
| WMT_VERSION *pdwVersion); |
| |
| HRESULT (STDMETHODCALLTYPE *GetName)( |
| IWMProfile2 *This, |
| WCHAR *pwszName, |
| DWORD *pcchName); |
| |
| HRESULT (STDMETHODCALLTYPE *SetName)( |
| IWMProfile2 *This, |
| const WCHAR *pwszName); |
| |
| HRESULT (STDMETHODCALLTYPE *GetDescription)( |
| IWMProfile2 *This, |
| WCHAR *pwszDescription, |
| DWORD *pcchDescription); |
| |
| HRESULT (STDMETHODCALLTYPE *SetDescription)( |
| IWMProfile2 *This, |
| const WCHAR *pwszDescription); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStreamCount)( |
| IWMProfile2 *This, |
| DWORD *pcStreams); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStream)( |
| IWMProfile2 *This, |
| DWORD dwStreamIndex, |
| IWMStreamConfig **ppConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStreamByNumber)( |
| IWMProfile2 *This, |
| WORD wStreamNum, |
| IWMStreamConfig **ppConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveStream)( |
| IWMProfile2 *This, |
| IWMStreamConfig *pConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveStreamByNumber)( |
| IWMProfile2 *This, |
| WORD wStreamNum); |
| |
| HRESULT (STDMETHODCALLTYPE *AddStream)( |
| IWMProfile2 *This, |
| IWMStreamConfig *pConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *ReconfigStream)( |
| IWMProfile2 *This, |
| IWMStreamConfig *pConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateNewStream)( |
| IWMProfile2 *This, |
| REFGUID guidStreamType, |
| IWMStreamConfig **ppConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *GetMutualExclusionCount)( |
| IWMProfile2 *This, |
| DWORD *pcME); |
| |
| HRESULT (STDMETHODCALLTYPE *GetMutualExclusion)( |
| IWMProfile2 *This, |
| DWORD dwMEIndex, |
| IWMMutualExclusion **ppME); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveMutualExclusion)( |
| IWMProfile2 *This, |
| IWMMutualExclusion *pME); |
| |
| HRESULT (STDMETHODCALLTYPE *AddMutualExclusion)( |
| IWMProfile2 *This, |
| IWMMutualExclusion *pME); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateNewMutualExclusion)( |
| IWMProfile2 *This, |
| IWMMutualExclusion **ppME); |
| |
| /*** IWMProfile2 methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetProfileID)( |
| IWMProfile2 *This, |
| GUID *guid); |
| |
| END_INTERFACE |
| } IWMProfile2Vtbl; |
| |
| interface IWMProfile2 { |
| CONST_VTBL IWMProfile2Vtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMProfile2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMProfile2_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMProfile2_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMProfile methods ***/ |
| #define IWMProfile2_GetVersion(This,pdwVersion) (This)->lpVtbl->GetVersion(This,pdwVersion) |
| #define IWMProfile2_GetName(This,pwszName,pcchName) (This)->lpVtbl->GetName(This,pwszName,pcchName) |
| #define IWMProfile2_SetName(This,pwszName) (This)->lpVtbl->SetName(This,pwszName) |
| #define IWMProfile2_GetDescription(This,pwszDescription,pcchDescription) (This)->lpVtbl->GetDescription(This,pwszDescription,pcchDescription) |
| #define IWMProfile2_SetDescription(This,pwszDescription) (This)->lpVtbl->SetDescription(This,pwszDescription) |
| #define IWMProfile2_GetStreamCount(This,pcStreams) (This)->lpVtbl->GetStreamCount(This,pcStreams) |
| #define IWMProfile2_GetStream(This,dwStreamIndex,ppConfig) (This)->lpVtbl->GetStream(This,dwStreamIndex,ppConfig) |
| #define IWMProfile2_GetStreamByNumber(This,wStreamNum,ppConfig) (This)->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig) |
| #define IWMProfile2_RemoveStream(This,pConfig) (This)->lpVtbl->RemoveStream(This,pConfig) |
| #define IWMProfile2_RemoveStreamByNumber(This,wStreamNum) (This)->lpVtbl->RemoveStreamByNumber(This,wStreamNum) |
| #define IWMProfile2_AddStream(This,pConfig) (This)->lpVtbl->AddStream(This,pConfig) |
| #define IWMProfile2_ReconfigStream(This,pConfig) (This)->lpVtbl->ReconfigStream(This,pConfig) |
| #define IWMProfile2_CreateNewStream(This,guidStreamType,ppConfig) (This)->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig) |
| #define IWMProfile2_GetMutualExclusionCount(This,pcME) (This)->lpVtbl->GetMutualExclusionCount(This,pcME) |
| #define IWMProfile2_GetMutualExclusion(This,dwMEIndex,ppME) (This)->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME) |
| #define IWMProfile2_RemoveMutualExclusion(This,pME) (This)->lpVtbl->RemoveMutualExclusion(This,pME) |
| #define IWMProfile2_AddMutualExclusion(This,pME) (This)->lpVtbl->AddMutualExclusion(This,pME) |
| #define IWMProfile2_CreateNewMutualExclusion(This,ppME) (This)->lpVtbl->CreateNewMutualExclusion(This,ppME) |
| /*** IWMProfile2 methods ***/ |
| #define IWMProfile2_GetProfileID(This,guid) (This)->lpVtbl->GetProfileID(This,guid) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMProfile2_QueryInterface(IWMProfile2* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMProfile2_AddRef(IWMProfile2* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMProfile2_Release(IWMProfile2* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMProfile methods ***/ |
| static FORCEINLINE HRESULT IWMProfile2_GetVersion(IWMProfile2* This,WMT_VERSION *pdwVersion) { |
| return This->lpVtbl->GetVersion(This,pdwVersion); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_GetName(IWMProfile2* This,WCHAR *pwszName,DWORD *pcchName) { |
| return This->lpVtbl->GetName(This,pwszName,pcchName); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_SetName(IWMProfile2* This,const WCHAR *pwszName) { |
| return This->lpVtbl->SetName(This,pwszName); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_GetDescription(IWMProfile2* This,WCHAR *pwszDescription,DWORD *pcchDescription) { |
| return This->lpVtbl->GetDescription(This,pwszDescription,pcchDescription); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_SetDescription(IWMProfile2* This,const WCHAR *pwszDescription) { |
| return This->lpVtbl->SetDescription(This,pwszDescription); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_GetStreamCount(IWMProfile2* This,DWORD *pcStreams) { |
| return This->lpVtbl->GetStreamCount(This,pcStreams); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_GetStream(IWMProfile2* This,DWORD dwStreamIndex,IWMStreamConfig **ppConfig) { |
| return This->lpVtbl->GetStream(This,dwStreamIndex,ppConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_GetStreamByNumber(IWMProfile2* This,WORD wStreamNum,IWMStreamConfig **ppConfig) { |
| return This->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_RemoveStream(IWMProfile2* This,IWMStreamConfig *pConfig) { |
| return This->lpVtbl->RemoveStream(This,pConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_RemoveStreamByNumber(IWMProfile2* This,WORD wStreamNum) { |
| return This->lpVtbl->RemoveStreamByNumber(This,wStreamNum); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_AddStream(IWMProfile2* This,IWMStreamConfig *pConfig) { |
| return This->lpVtbl->AddStream(This,pConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_ReconfigStream(IWMProfile2* This,IWMStreamConfig *pConfig) { |
| return This->lpVtbl->ReconfigStream(This,pConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_CreateNewStream(IWMProfile2* This,REFGUID guidStreamType,IWMStreamConfig **ppConfig) { |
| return This->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_GetMutualExclusionCount(IWMProfile2* This,DWORD *pcME) { |
| return This->lpVtbl->GetMutualExclusionCount(This,pcME); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_GetMutualExclusion(IWMProfile2* This,DWORD dwMEIndex,IWMMutualExclusion **ppME) { |
| return This->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_RemoveMutualExclusion(IWMProfile2* This,IWMMutualExclusion *pME) { |
| return This->lpVtbl->RemoveMutualExclusion(This,pME); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_AddMutualExclusion(IWMProfile2* This,IWMMutualExclusion *pME) { |
| return This->lpVtbl->AddMutualExclusion(This,pME); |
| } |
| static FORCEINLINE HRESULT IWMProfile2_CreateNewMutualExclusion(IWMProfile2* This,IWMMutualExclusion **ppME) { |
| return This->lpVtbl->CreateNewMutualExclusion(This,ppME); |
| } |
| /*** IWMProfile2 methods ***/ |
| static FORCEINLINE HRESULT IWMProfile2_GetProfileID(IWMProfile2* This,GUID *guid) { |
| return This->lpVtbl->GetProfileID(This,guid); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMProfile2_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMProfile3 interface |
| */ |
| #ifndef __IWMProfile3_INTERFACE_DEFINED__ |
| #define __IWMProfile3_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMProfile3, 0x00ef96cc, 0xa461, 0x4546, 0x8b,0xcd, 0xc9,0xa2,0x8f,0x0e,0x06,0xf5); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("00ef96cc-a461-4546-8bcd-c9a28f0e06f5") |
| IWMProfile3 : public IWMProfile2 |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetStorageFormat( |
| WMT_STORAGE_FORMAT *storage) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetStorageFormat( |
| WMT_STORAGE_FORMAT storage) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetBandwidthSharingCount( |
| DWORD *count) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetBandwidthSharing( |
| DWORD index, |
| IWMBandwidthSharing **bandwidth) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE RemoveBandwidthSharing( |
| IWMBandwidthSharing *bandwidth) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE AddBandwidthSharing( |
| IWMBandwidthSharing *bandwidth) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE CreateNewBandwidthSharing( |
| IWMBandwidthSharing **bandwidth) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetStreamPrioritization( |
| IWMStreamPrioritization **stream) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetStreamPrioritization( |
| IWMStreamPrioritization *stream) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE RemoveStreamPrioritization( |
| ) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE CreateNewStreamPrioritization( |
| IWMStreamPrioritization **stream) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetExpectedPacketCount( |
| QWORD duration, |
| QWORD *packets) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMProfile3, 0x00ef96cc, 0xa461, 0x4546, 0x8b,0xcd, 0xc9,0xa2,0x8f,0x0e,0x06,0xf5) |
| #endif |
| #else |
| typedef struct IWMProfile3Vtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMProfile3 *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMProfile3 *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMProfile3 *This); |
| |
| /*** IWMProfile methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetVersion)( |
| IWMProfile3 *This, |
| WMT_VERSION *pdwVersion); |
| |
| HRESULT (STDMETHODCALLTYPE *GetName)( |
| IWMProfile3 *This, |
| WCHAR *pwszName, |
| DWORD *pcchName); |
| |
| HRESULT (STDMETHODCALLTYPE *SetName)( |
| IWMProfile3 *This, |
| const WCHAR *pwszName); |
| |
| HRESULT (STDMETHODCALLTYPE *GetDescription)( |
| IWMProfile3 *This, |
| WCHAR *pwszDescription, |
| DWORD *pcchDescription); |
| |
| HRESULT (STDMETHODCALLTYPE *SetDescription)( |
| IWMProfile3 *This, |
| const WCHAR *pwszDescription); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStreamCount)( |
| IWMProfile3 *This, |
| DWORD *pcStreams); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStream)( |
| IWMProfile3 *This, |
| DWORD dwStreamIndex, |
| IWMStreamConfig **ppConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStreamByNumber)( |
| IWMProfile3 *This, |
| WORD wStreamNum, |
| IWMStreamConfig **ppConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveStream)( |
| IWMProfile3 *This, |
| IWMStreamConfig *pConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveStreamByNumber)( |
| IWMProfile3 *This, |
| WORD wStreamNum); |
| |
| HRESULT (STDMETHODCALLTYPE *AddStream)( |
| IWMProfile3 *This, |
| IWMStreamConfig *pConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *ReconfigStream)( |
| IWMProfile3 *This, |
| IWMStreamConfig *pConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateNewStream)( |
| IWMProfile3 *This, |
| REFGUID guidStreamType, |
| IWMStreamConfig **ppConfig); |
| |
| HRESULT (STDMETHODCALLTYPE *GetMutualExclusionCount)( |
| IWMProfile3 *This, |
| DWORD *pcME); |
| |
| HRESULT (STDMETHODCALLTYPE *GetMutualExclusion)( |
| IWMProfile3 *This, |
| DWORD dwMEIndex, |
| IWMMutualExclusion **ppME); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveMutualExclusion)( |
| IWMProfile3 *This, |
| IWMMutualExclusion *pME); |
| |
| HRESULT (STDMETHODCALLTYPE *AddMutualExclusion)( |
| IWMProfile3 *This, |
| IWMMutualExclusion *pME); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateNewMutualExclusion)( |
| IWMProfile3 *This, |
| IWMMutualExclusion **ppME); |
| |
| /*** IWMProfile2 methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetProfileID)( |
| IWMProfile3 *This, |
| GUID *guid); |
| |
| /*** IWMProfile3 methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetStorageFormat)( |
| IWMProfile3 *This, |
| WMT_STORAGE_FORMAT *storage); |
| |
| HRESULT (STDMETHODCALLTYPE *SetStorageFormat)( |
| IWMProfile3 *This, |
| WMT_STORAGE_FORMAT storage); |
| |
| HRESULT (STDMETHODCALLTYPE *GetBandwidthSharingCount)( |
| IWMProfile3 *This, |
| DWORD *count); |
| |
| HRESULT (STDMETHODCALLTYPE *GetBandwidthSharing)( |
| IWMProfile3 *This, |
| DWORD index, |
| IWMBandwidthSharing **bandwidth); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveBandwidthSharing)( |
| IWMProfile3 *This, |
| IWMBandwidthSharing *bandwidth); |
| |
| HRESULT (STDMETHODCALLTYPE *AddBandwidthSharing)( |
| IWMProfile3 *This, |
| IWMBandwidthSharing *bandwidth); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateNewBandwidthSharing)( |
| IWMProfile3 *This, |
| IWMBandwidthSharing **bandwidth); |
| |
| HRESULT (STDMETHODCALLTYPE *GetStreamPrioritization)( |
| IWMProfile3 *This, |
| IWMStreamPrioritization **stream); |
| |
| HRESULT (STDMETHODCALLTYPE *SetStreamPrioritization)( |
| IWMProfile3 *This, |
| IWMStreamPrioritization *stream); |
| |
| HRESULT (STDMETHODCALLTYPE *RemoveStreamPrioritization)( |
| IWMProfile3 *This); |
| |
| HRESULT (STDMETHODCALLTYPE *CreateNewStreamPrioritization)( |
| IWMProfile3 *This, |
| IWMStreamPrioritization **stream); |
| |
| HRESULT (STDMETHODCALLTYPE *GetExpectedPacketCount)( |
| IWMProfile3 *This, |
| QWORD duration, |
| QWORD *packets); |
| |
| END_INTERFACE |
| } IWMProfile3Vtbl; |
| |
| interface IWMProfile3 { |
| CONST_VTBL IWMProfile3Vtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMProfile3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMProfile3_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMProfile3_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMProfile methods ***/ |
| #define IWMProfile3_GetVersion(This,pdwVersion) (This)->lpVtbl->GetVersion(This,pdwVersion) |
| #define IWMProfile3_GetName(This,pwszName,pcchName) (This)->lpVtbl->GetName(This,pwszName,pcchName) |
| #define IWMProfile3_SetName(This,pwszName) (This)->lpVtbl->SetName(This,pwszName) |
| #define IWMProfile3_GetDescription(This,pwszDescription,pcchDescription) (This)->lpVtbl->GetDescription(This,pwszDescription,pcchDescription) |
| #define IWMProfile3_SetDescription(This,pwszDescription) (This)->lpVtbl->SetDescription(This,pwszDescription) |
| #define IWMProfile3_GetStreamCount(This,pcStreams) (This)->lpVtbl->GetStreamCount(This,pcStreams) |
| #define IWMProfile3_GetStream(This,dwStreamIndex,ppConfig) (This)->lpVtbl->GetStream(This,dwStreamIndex,ppConfig) |
| #define IWMProfile3_GetStreamByNumber(This,wStreamNum,ppConfig) (This)->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig) |
| #define IWMProfile3_RemoveStream(This,pConfig) (This)->lpVtbl->RemoveStream(This,pConfig) |
| #define IWMProfile3_RemoveStreamByNumber(This,wStreamNum) (This)->lpVtbl->RemoveStreamByNumber(This,wStreamNum) |
| #define IWMProfile3_AddStream(This,pConfig) (This)->lpVtbl->AddStream(This,pConfig) |
| #define IWMProfile3_ReconfigStream(This,pConfig) (This)->lpVtbl->ReconfigStream(This,pConfig) |
| #define IWMProfile3_CreateNewStream(This,guidStreamType,ppConfig) (This)->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig) |
| #define IWMProfile3_GetMutualExclusionCount(This,pcME) (This)->lpVtbl->GetMutualExclusionCount(This,pcME) |
| #define IWMProfile3_GetMutualExclusion(This,dwMEIndex,ppME) (This)->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME) |
| #define IWMProfile3_RemoveMutualExclusion(This,pME) (This)->lpVtbl->RemoveMutualExclusion(This,pME) |
| #define IWMProfile3_AddMutualExclusion(This,pME) (This)->lpVtbl->AddMutualExclusion(This,pME) |
| #define IWMProfile3_CreateNewMutualExclusion(This,ppME) (This)->lpVtbl->CreateNewMutualExclusion(This,ppME) |
| /*** IWMProfile2 methods ***/ |
| #define IWMProfile3_GetProfileID(This,guid) (This)->lpVtbl->GetProfileID(This,guid) |
| /*** IWMProfile3 methods ***/ |
| #define IWMProfile3_GetStorageFormat(This,storage) (This)->lpVtbl->GetStorageFormat(This,storage) |
| #define IWMProfile3_SetStorageFormat(This,storage) (This)->lpVtbl->SetStorageFormat(This,storage) |
| #define IWMProfile3_GetBandwidthSharingCount(This,count) (This)->lpVtbl->GetBandwidthSharingCount(This,count) |
| #define IWMProfile3_GetBandwidthSharing(This,index,bandwidth) (This)->lpVtbl->GetBandwidthSharing(This,index,bandwidth) |
| #define IWMProfile3_RemoveBandwidthSharing(This,bandwidth) (This)->lpVtbl->RemoveBandwidthSharing(This,bandwidth) |
| #define IWMProfile3_AddBandwidthSharing(This,bandwidth) (This)->lpVtbl->AddBandwidthSharing(This,bandwidth) |
| #define IWMProfile3_CreateNewBandwidthSharing(This,bandwidth) (This)->lpVtbl->CreateNewBandwidthSharing(This,bandwidth) |
| #define IWMProfile3_GetStreamPrioritization(This,stream) (This)->lpVtbl->GetStreamPrioritization(This,stream) |
| #define IWMProfile3_SetStreamPrioritization(This,stream) (This)->lpVtbl->SetStreamPrioritization(This,stream) |
| #define IWMProfile3_RemoveStreamPrioritization(This) (This)->lpVtbl->RemoveStreamPrioritization(This) |
| #define IWMProfile3_CreateNewStreamPrioritization(This,stream) (This)->lpVtbl->CreateNewStreamPrioritization(This,stream) |
| #define IWMProfile3_GetExpectedPacketCount(This,duration,packets) (This)->lpVtbl->GetExpectedPacketCount(This,duration,packets) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMProfile3_QueryInterface(IWMProfile3* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMProfile3_AddRef(IWMProfile3* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMProfile3_Release(IWMProfile3* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMProfile methods ***/ |
| static FORCEINLINE HRESULT IWMProfile3_GetVersion(IWMProfile3* This,WMT_VERSION *pdwVersion) { |
| return This->lpVtbl->GetVersion(This,pdwVersion); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetName(IWMProfile3* This,WCHAR *pwszName,DWORD *pcchName) { |
| return This->lpVtbl->GetName(This,pwszName,pcchName); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_SetName(IWMProfile3* This,const WCHAR *pwszName) { |
| return This->lpVtbl->SetName(This,pwszName); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetDescription(IWMProfile3* This,WCHAR *pwszDescription,DWORD *pcchDescription) { |
| return This->lpVtbl->GetDescription(This,pwszDescription,pcchDescription); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_SetDescription(IWMProfile3* This,const WCHAR *pwszDescription) { |
| return This->lpVtbl->SetDescription(This,pwszDescription); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetStreamCount(IWMProfile3* This,DWORD *pcStreams) { |
| return This->lpVtbl->GetStreamCount(This,pcStreams); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetStream(IWMProfile3* This,DWORD dwStreamIndex,IWMStreamConfig **ppConfig) { |
| return This->lpVtbl->GetStream(This,dwStreamIndex,ppConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetStreamByNumber(IWMProfile3* This,WORD wStreamNum,IWMStreamConfig **ppConfig) { |
| return This->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_RemoveStream(IWMProfile3* This,IWMStreamConfig *pConfig) { |
| return This->lpVtbl->RemoveStream(This,pConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_RemoveStreamByNumber(IWMProfile3* This,WORD wStreamNum) { |
| return This->lpVtbl->RemoveStreamByNumber(This,wStreamNum); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_AddStream(IWMProfile3* This,IWMStreamConfig *pConfig) { |
| return This->lpVtbl->AddStream(This,pConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_ReconfigStream(IWMProfile3* This,IWMStreamConfig *pConfig) { |
| return This->lpVtbl->ReconfigStream(This,pConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_CreateNewStream(IWMProfile3* This,REFGUID guidStreamType,IWMStreamConfig **ppConfig) { |
| return This->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetMutualExclusionCount(IWMProfile3* This,DWORD *pcME) { |
| return This->lpVtbl->GetMutualExclusionCount(This,pcME); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetMutualExclusion(IWMProfile3* This,DWORD dwMEIndex,IWMMutualExclusion **ppME) { |
| return This->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_RemoveMutualExclusion(IWMProfile3* This,IWMMutualExclusion *pME) { |
| return This->lpVtbl->RemoveMutualExclusion(This,pME); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_AddMutualExclusion(IWMProfile3* This,IWMMutualExclusion *pME) { |
| return This->lpVtbl->AddMutualExclusion(This,pME); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_CreateNewMutualExclusion(IWMProfile3* This,IWMMutualExclusion **ppME) { |
| return This->lpVtbl->CreateNewMutualExclusion(This,ppME); |
| } |
| /*** IWMProfile2 methods ***/ |
| static FORCEINLINE HRESULT IWMProfile3_GetProfileID(IWMProfile3* This,GUID *guid) { |
| return This->lpVtbl->GetProfileID(This,guid); |
| } |
| /*** IWMProfile3 methods ***/ |
| static FORCEINLINE HRESULT IWMProfile3_GetStorageFormat(IWMProfile3* This,WMT_STORAGE_FORMAT *storage) { |
| return This->lpVtbl->GetStorageFormat(This,storage); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_SetStorageFormat(IWMProfile3* This,WMT_STORAGE_FORMAT storage) { |
| return This->lpVtbl->SetStorageFormat(This,storage); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetBandwidthSharingCount(IWMProfile3* This,DWORD *count) { |
| return This->lpVtbl->GetBandwidthSharingCount(This,count); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetBandwidthSharing(IWMProfile3* This,DWORD index,IWMBandwidthSharing **bandwidth) { |
| return This->lpVtbl->GetBandwidthSharing(This,index,bandwidth); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_RemoveBandwidthSharing(IWMProfile3* This,IWMBandwidthSharing *bandwidth) { |
| return This->lpVtbl->RemoveBandwidthSharing(This,bandwidth); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_AddBandwidthSharing(IWMProfile3* This,IWMBandwidthSharing *bandwidth) { |
| return This->lpVtbl->AddBandwidthSharing(This,bandwidth); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_CreateNewBandwidthSharing(IWMProfile3* This,IWMBandwidthSharing **bandwidth) { |
| return This->lpVtbl->CreateNewBandwidthSharing(This,bandwidth); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetStreamPrioritization(IWMProfile3* This,IWMStreamPrioritization **stream) { |
| return This->lpVtbl->GetStreamPrioritization(This,stream); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_SetStreamPrioritization(IWMProfile3* This,IWMStreamPrioritization *stream) { |
| return This->lpVtbl->SetStreamPrioritization(This,stream); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_RemoveStreamPrioritization(IWMProfile3* This) { |
| return This->lpVtbl->RemoveStreamPrioritization(This); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_CreateNewStreamPrioritization(IWMProfile3* This,IWMStreamPrioritization **stream) { |
| return This->lpVtbl->CreateNewStreamPrioritization(This,stream); |
| } |
| static FORCEINLINE HRESULT IWMProfile3_GetExpectedPacketCount(IWMProfile3* This,QWORD duration,QWORD *packets) { |
| return This->lpVtbl->GetExpectedPacketCount(This,duration,packets); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMProfile3_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMProfileManager interface |
| */ |
| #ifndef __IWMProfileManager_INTERFACE_DEFINED__ |
| #define __IWMProfileManager_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMProfileManager, 0xd16679f2, 0x6ca0, 0x472d, 0x8d,0x31, 0x2f,0x5d,0x55,0xae,0xe1,0x55); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("d16679f2-6ca0-472d-8d31-2f5d55aee155") |
| IWMProfileManager : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE CreateEmptyProfile( |
| WMT_VERSION dwVersion, |
| IWMProfile **ppProfile) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE LoadProfileByID( |
| REFGUID guidProfile, |
| IWMProfile **ppProfile) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE LoadProfileByData( |
| const WCHAR *pwszProfile, |
| IWMProfile **ppProfile) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SaveProfile( |
| IWMProfile *pIWMProfile, |
| WCHAR *pwszProfile, |
| DWORD *pdwLength) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetSystemProfileCount( |
| DWORD *pcProfiles) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE LoadSystemProfile( |
| DWORD dwProfileIndex, |
| IWMProfile **ppProfile) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMProfileManager, 0xd16679f2, 0x6ca0, 0x472d, 0x8d,0x31, 0x2f,0x5d,0x55,0xae,0xe1,0x55) |
| #endif |
| #else |
| typedef struct IWMProfileManagerVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMProfileManager *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMProfileManager *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMProfileManager *This); |
| |
| /*** IWMProfileManager methods ***/ |
| HRESULT (STDMETHODCALLTYPE *CreateEmptyProfile)( |
| IWMProfileManager *This, |
| WMT_VERSION dwVersion, |
| IWMProfile **ppProfile); |
| |
| HRESULT (STDMETHODCALLTYPE *LoadProfileByID)( |
| IWMProfileManager *This, |
| REFGUID guidProfile, |
| IWMProfile **ppProfile); |
| |
| HRESULT (STDMETHODCALLTYPE *LoadProfileByData)( |
| IWMProfileManager *This, |
| const WCHAR *pwszProfile, |
| IWMProfile **ppProfile); |
| |
| HRESULT (STDMETHODCALLTYPE *SaveProfile)( |
| IWMProfileManager *This, |
| IWMProfile *pIWMProfile, |
| WCHAR *pwszProfile, |
| DWORD *pdwLength); |
| |
| HRESULT (STDMETHODCALLTYPE *GetSystemProfileCount)( |
| IWMProfileManager *This, |
| DWORD *pcProfiles); |
| |
| HRESULT (STDMETHODCALLTYPE *LoadSystemProfile)( |
| IWMProfileManager *This, |
| DWORD dwProfileIndex, |
| IWMProfile **ppProfile); |
| |
| END_INTERFACE |
| } IWMProfileManagerVtbl; |
| |
| interface IWMProfileManager { |
| CONST_VTBL IWMProfileManagerVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMProfileManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMProfileManager_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMProfileManager_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMProfileManager methods ***/ |
| #define IWMProfileManager_CreateEmptyProfile(This,dwVersion,ppProfile) (This)->lpVtbl->CreateEmptyProfile(This,dwVersion,ppProfile) |
| #define IWMProfileManager_LoadProfileByID(This,guidProfile,ppProfile) (This)->lpVtbl->LoadProfileByID(This,guidProfile,ppProfile) |
| #define IWMProfileManager_LoadProfileByData(This,pwszProfile,ppProfile) (This)->lpVtbl->LoadProfileByData(This,pwszProfile,ppProfile) |
| #define IWMProfileManager_SaveProfile(This,pIWMProfile,pwszProfile,pdwLength) (This)->lpVtbl->SaveProfile(This,pIWMProfile,pwszProfile,pdwLength) |
| #define IWMProfileManager_GetSystemProfileCount(This,pcProfiles) (This)->lpVtbl->GetSystemProfileCount(This,pcProfiles) |
| #define IWMProfileManager_LoadSystemProfile(This,dwProfileIndex,ppProfile) (This)->lpVtbl->LoadSystemProfile(This,dwProfileIndex,ppProfile) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMProfileManager_QueryInterface(IWMProfileManager* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMProfileManager_AddRef(IWMProfileManager* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMProfileManager_Release(IWMProfileManager* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMProfileManager methods ***/ |
| static FORCEINLINE HRESULT IWMProfileManager_CreateEmptyProfile(IWMProfileManager* This,WMT_VERSION dwVersion,IWMProfile **ppProfile) { |
| return This->lpVtbl->CreateEmptyProfile(This,dwVersion,ppProfile); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager_LoadProfileByID(IWMProfileManager* This,REFGUID guidProfile,IWMProfile **ppProfile) { |
| return This->lpVtbl->LoadProfileByID(This,guidProfile,ppProfile); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager_LoadProfileByData(IWMProfileManager* This,const WCHAR *pwszProfile,IWMProfile **ppProfile) { |
| return This->lpVtbl->LoadProfileByData(This,pwszProfile,ppProfile); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager_SaveProfile(IWMProfileManager* This,IWMProfile *pIWMProfile,WCHAR *pwszProfile,DWORD *pdwLength) { |
| return This->lpVtbl->SaveProfile(This,pIWMProfile,pwszProfile,pdwLength); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager_GetSystemProfileCount(IWMProfileManager* This,DWORD *pcProfiles) { |
| return This->lpVtbl->GetSystemProfileCount(This,pcProfiles); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager_LoadSystemProfile(IWMProfileManager* This,DWORD dwProfileIndex,IWMProfile **ppProfile) { |
| return This->lpVtbl->LoadSystemProfile(This,dwProfileIndex,ppProfile); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMProfileManager_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMProfileManager2 interface |
| */ |
| #ifndef __IWMProfileManager2_INTERFACE_DEFINED__ |
| #define __IWMProfileManager2_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMProfileManager2, 0x7a924e51, 0x73c1, 0x494d, 0x80,0x19, 0x23,0xd3,0x7e,0xd9,0xb8,0x9a); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("7a924e51-73c1-494d-8019-23d37ed9b89a") |
| IWMProfileManager2 : public IWMProfileManager |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetSystemProfileVersion( |
| WMT_VERSION *version) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE SetSystemProfileVersion( |
| WMT_VERSION version) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMProfileManager2, 0x7a924e51, 0x73c1, 0x494d, 0x80,0x19, 0x23,0xd3,0x7e,0xd9,0xb8,0x9a) |
| #endif |
| #else |
| typedef struct IWMProfileManager2Vtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMProfileManager2 *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMProfileManager2 *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMProfileManager2 *This); |
| |
| /*** IWMProfileManager methods ***/ |
| HRESULT (STDMETHODCALLTYPE *CreateEmptyProfile)( |
| IWMProfileManager2 *This, |
| WMT_VERSION dwVersion, |
| IWMProfile **ppProfile); |
| |
| HRESULT (STDMETHODCALLTYPE *LoadProfileByID)( |
| IWMProfileManager2 *This, |
| REFGUID guidProfile, |
| IWMProfile **ppProfile); |
| |
| HRESULT (STDMETHODCALLTYPE *LoadProfileByData)( |
| IWMProfileManager2 *This, |
| const WCHAR *pwszProfile, |
| IWMProfile **ppProfile); |
| |
| HRESULT (STDMETHODCALLTYPE *SaveProfile)( |
| IWMProfileManager2 *This, |
| IWMProfile *pIWMProfile, |
| WCHAR *pwszProfile, |
| DWORD *pdwLength); |
| |
| HRESULT (STDMETHODCALLTYPE *GetSystemProfileCount)( |
| IWMProfileManager2 *This, |
| DWORD *pcProfiles); |
| |
| HRESULT (STDMETHODCALLTYPE *LoadSystemProfile)( |
| IWMProfileManager2 *This, |
| DWORD dwProfileIndex, |
| IWMProfile **ppProfile); |
| |
| /*** IWMProfileManager2 methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetSystemProfileVersion)( |
| IWMProfileManager2 *This, |
| WMT_VERSION *version); |
| |
| HRESULT (STDMETHODCALLTYPE *SetSystemProfileVersion)( |
| IWMProfileManager2 *This, |
| WMT_VERSION version); |
| |
| END_INTERFACE |
| } IWMProfileManager2Vtbl; |
| |
| interface IWMProfileManager2 { |
| CONST_VTBL IWMProfileManager2Vtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMProfileManager2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMProfileManager2_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMProfileManager2_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMProfileManager methods ***/ |
| #define IWMProfileManager2_CreateEmptyProfile(This,dwVersion,ppProfile) (This)->lpVtbl->CreateEmptyProfile(This,dwVersion,ppProfile) |
| #define IWMProfileManager2_LoadProfileByID(This,guidProfile,ppProfile) (This)->lpVtbl->LoadProfileByID(This,guidProfile,ppProfile) |
| #define IWMProfileManager2_LoadProfileByData(This,pwszProfile,ppProfile) (This)->lpVtbl->LoadProfileByData(This,pwszProfile,ppProfile) |
| #define IWMProfileManager2_SaveProfile(This,pIWMProfile,pwszProfile,pdwLength) (This)->lpVtbl->SaveProfile(This,pIWMProfile,pwszProfile,pdwLength) |
| #define IWMProfileManager2_GetSystemProfileCount(This,pcProfiles) (This)->lpVtbl->GetSystemProfileCount(This,pcProfiles) |
| #define IWMProfileManager2_LoadSystemProfile(This,dwProfileIndex,ppProfile) (This)->lpVtbl->LoadSystemProfile(This,dwProfileIndex,ppProfile) |
| /*** IWMProfileManager2 methods ***/ |
| #define IWMProfileManager2_GetSystemProfileVersion(This,version) (This)->lpVtbl->GetSystemProfileVersion(This,version) |
| #define IWMProfileManager2_SetSystemProfileVersion(This,version) (This)->lpVtbl->SetSystemProfileVersion(This,version) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMProfileManager2_QueryInterface(IWMProfileManager2* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMProfileManager2_AddRef(IWMProfileManager2* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMProfileManager2_Release(IWMProfileManager2* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMProfileManager methods ***/ |
| static FORCEINLINE HRESULT IWMProfileManager2_CreateEmptyProfile(IWMProfileManager2* This,WMT_VERSION dwVersion,IWMProfile **ppProfile) { |
| return This->lpVtbl->CreateEmptyProfile(This,dwVersion,ppProfile); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager2_LoadProfileByID(IWMProfileManager2* This,REFGUID guidProfile,IWMProfile **ppProfile) { |
| return This->lpVtbl->LoadProfileByID(This,guidProfile,ppProfile); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager2_LoadProfileByData(IWMProfileManager2* This,const WCHAR *pwszProfile,IWMProfile **ppProfile) { |
| return This->lpVtbl->LoadProfileByData(This,pwszProfile,ppProfile); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager2_SaveProfile(IWMProfileManager2* This,IWMProfile *pIWMProfile,WCHAR *pwszProfile,DWORD *pdwLength) { |
| return This->lpVtbl->SaveProfile(This,pIWMProfile,pwszProfile,pdwLength); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager2_GetSystemProfileCount(IWMProfileManager2* This,DWORD *pcProfiles) { |
| return This->lpVtbl->GetSystemProfileCount(This,pcProfiles); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager2_LoadSystemProfile(IWMProfileManager2* This,DWORD dwProfileIndex,IWMProfile **ppProfile) { |
| return This->lpVtbl->LoadSystemProfile(This,dwProfileIndex,ppProfile); |
| } |
| /*** IWMProfileManager2 methods ***/ |
| static FORCEINLINE HRESULT IWMProfileManager2_GetSystemProfileVersion(IWMProfileManager2* This,WMT_VERSION *version) { |
| return This->lpVtbl->GetSystemProfileVersion(This,version); |
| } |
| static FORCEINLINE HRESULT IWMProfileManager2_SetSystemProfileVersion(IWMProfileManager2* This,WMT_VERSION version) { |
| return This->lpVtbl->SetSystemProfileVersion(This,version); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMProfileManager2_INTERFACE_DEFINED__ */ |
| |
| HRESULT WINAPI WMCreateProfileManager(IWMProfileManager**); |
| /***************************************************************************** |
| * IWMCodecInfo interface |
| */ |
| #ifndef __IWMCodecInfo_INTERFACE_DEFINED__ |
| #define __IWMCodecInfo_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMCodecInfo, 0xa970f41e, 0x34de, 0x4a98, 0xb3,0xba, 0xe4,0xb3,0xca,0x75,0x28,0xf0); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("a970f41e-34de-4a98-b3ba-e4b3ca7528f0") |
| IWMCodecInfo : public IUnknown |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetCodecInfoCount( |
| REFGUID guid, |
| DWORD *count) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetCodecFormatCount( |
| REFGUID guid, |
| DWORD codecindex, |
| DWORD *formatcount) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetCodecFormat( |
| REFGUID guid, |
| DWORD codecindex, |
| DWORD formatindex, |
| IWMStreamConfig **streamconfig) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMCodecInfo, 0xa970f41e, 0x34de, 0x4a98, 0xb3,0xba, 0xe4,0xb3,0xca,0x75,0x28,0xf0) |
| #endif |
| #else |
| typedef struct IWMCodecInfoVtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMCodecInfo *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMCodecInfo *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMCodecInfo *This); |
| |
| /*** IWMCodecInfo methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetCodecInfoCount)( |
| IWMCodecInfo *This, |
| REFGUID guid, |
| DWORD *count); |
| |
| HRESULT (STDMETHODCALLTYPE *GetCodecFormatCount)( |
| IWMCodecInfo *This, |
| REFGUID guid, |
| DWORD codecindex, |
| DWORD *formatcount); |
| |
| HRESULT (STDMETHODCALLTYPE *GetCodecFormat)( |
| IWMCodecInfo *This, |
| REFGUID guid, |
| DWORD codecindex, |
| DWORD formatindex, |
| IWMStreamConfig **streamconfig); |
| |
| END_INTERFACE |
| } IWMCodecInfoVtbl; |
| |
| interface IWMCodecInfo { |
| CONST_VTBL IWMCodecInfoVtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMCodecInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMCodecInfo_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMCodecInfo_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMCodecInfo methods ***/ |
| #define IWMCodecInfo_GetCodecInfoCount(This,guid,count) (This)->lpVtbl->GetCodecInfoCount(This,guid,count) |
| #define IWMCodecInfo_GetCodecFormatCount(This,guid,codecindex,formatcount) (This)->lpVtbl->GetCodecFormatCount(This,guid,codecindex,formatcount) |
| #define IWMCodecInfo_GetCodecFormat(This,guid,codecindex,formatindex,streamconfig) (This)->lpVtbl->GetCodecFormat(This,guid,codecindex,formatindex,streamconfig) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMCodecInfo_QueryInterface(IWMCodecInfo* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMCodecInfo_AddRef(IWMCodecInfo* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMCodecInfo_Release(IWMCodecInfo* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMCodecInfo methods ***/ |
| static FORCEINLINE HRESULT IWMCodecInfo_GetCodecInfoCount(IWMCodecInfo* This,REFGUID guid,DWORD *count) { |
| return This->lpVtbl->GetCodecInfoCount(This,guid,count); |
| } |
| static FORCEINLINE HRESULT IWMCodecInfo_GetCodecFormatCount(IWMCodecInfo* This,REFGUID guid,DWORD codecindex,DWORD *formatcount) { |
| return This->lpVtbl->GetCodecFormatCount(This,guid,codecindex,formatcount); |
| } |
| static FORCEINLINE HRESULT IWMCodecInfo_GetCodecFormat(IWMCodecInfo* This,REFGUID guid,DWORD codecindex,DWORD formatindex,IWMStreamConfig **streamconfig) { |
| return This->lpVtbl->GetCodecFormat(This,guid,codecindex,formatindex,streamconfig); |
| } |
| #endif |
| #endif |
| |
| #endif |
| |
| |
| #endif /* __IWMCodecInfo_INTERFACE_DEFINED__ */ |
| |
| /***************************************************************************** |
| * IWMCodecInfo2 interface |
| */ |
| #ifndef __IWMCodecInfo2_INTERFACE_DEFINED__ |
| #define __IWMCodecInfo2_INTERFACE_DEFINED__ |
| |
| DEFINE_GUID(IID_IWMCodecInfo2, 0xaa65e273, 0xb686, 0x4056, 0x91,0xec, 0xdd,0x76,0x8d,0x4d,0xf7,0x10); |
| #if defined(__cplusplus) && !defined(CINTERFACE) |
| MIDL_INTERFACE("aa65e273-b686-4056-91ec-dd768d4df710") |
| IWMCodecInfo2 : public IWMCodecInfo |
| { |
| virtual HRESULT STDMETHODCALLTYPE GetCodecName( |
| REFGUID guid, |
| DWORD codecindex, |
| WCHAR *name, |
| DWORD *namesize) = 0; |
| |
| virtual HRESULT STDMETHODCALLTYPE GetCodecFormatDesc( |
| REFGUID guid, |
| DWORD codecindex, |
| DWORD formatindex, |
| IWMStreamConfig **streamconfig, |
| WCHAR *description, |
| DWORD *descrsize) = 0; |
| |
| }; |
| #ifdef __CRT_UUID_DECL |
| __CRT_UUID_DECL(IWMCodecInfo2, 0xaa65e273, 0xb686, 0x4056, 0x91,0xec, 0xdd,0x76,0x8d,0x4d,0xf7,0x10) |
| #endif |
| #else |
| typedef struct IWMCodecInfo2Vtbl { |
| BEGIN_INTERFACE |
| |
| /*** IUnknown methods ***/ |
| HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| IWMCodecInfo2 *This, |
| REFIID riid, |
| void **ppvObject); |
| |
| ULONG (STDMETHODCALLTYPE *AddRef)( |
| IWMCodecInfo2 *This); |
| |
| ULONG (STDMETHODCALLTYPE *Release)( |
| IWMCodecInfo2 *This); |
| |
| /*** IWMCodecInfo methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetCodecInfoCount)( |
| IWMCodecInfo2 *This, |
| REFGUID guid, |
| DWORD *count); |
| |
| HRESULT (STDMETHODCALLTYPE *GetCodecFormatCount)( |
| IWMCodecInfo2 *This, |
| REFGUID guid, |
| DWORD codecindex, |
| DWORD *formatcount); |
| |
| HRESULT (STDMETHODCALLTYPE *GetCodecFormat)( |
| IWMCodecInfo2 *This, |
| REFGUID guid, |
| DWORD codecindex, |
| DWORD formatindex, |
| IWMStreamConfig **streamconfig); |
| |
| /*** IWMCodecInfo2 methods ***/ |
| HRESULT (STDMETHODCALLTYPE *GetCodecName)( |
| IWMCodecInfo2 *This, |
| REFGUID guid, |
| DWORD codecindex, |
| WCHAR *name, |
| DWORD *namesize); |
| |
| HRESULT (STDMETHODCALLTYPE *GetCodecFormatDesc)( |
| IWMCodecInfo2 *This, |
| REFGUID guid, |
| DWORD codecindex, |
| DWORD formatindex, |
| IWMStreamConfig **streamconfig, |
| WCHAR *description, |
| DWORD *descrsize); |
| |
| END_INTERFACE |
| } IWMCodecInfo2Vtbl; |
| |
| interface IWMCodecInfo2 { |
| CONST_VTBL IWMCodecInfo2Vtbl* lpVtbl; |
| }; |
| |
| #ifdef COBJMACROS |
| #ifndef WIDL_C_INLINE_WRAPPERS |
| /*** IUnknown methods ***/ |
| #define IWMCodecInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| #define IWMCodecInfo2_AddRef(This) (This)->lpVtbl->AddRef(This) |
| #define IWMCodecInfo2_Release(This) (This)->lpVtbl->Release(This) |
| /*** IWMCodecInfo methods ***/ |
| #define IWMCodecInfo2_GetCodecInfoCount(This,guid,count) (This)->lpVtbl->GetCodecInfoCount(This,guid,count) |
| #define IWMCodecInfo2_GetCodecFormatCount(This,guid,codecindex,formatcount) (This)->lpVtbl->GetCodecFormatCount(This,guid,codecindex,formatcount) |
| #define IWMCodecInfo2_GetCodecFormat(This,guid,codecindex,formatindex,streamconfig) (This)->lpVtbl->GetCodecFormat(This,guid,codecindex,formatindex,streamconfig) |
| /*** IWMCodecInfo2 methods ***/ |
| #define IWMCodecInfo2_GetCodecName(This,guid,codecindex,name,namesize) (This)->lpVtbl->GetCodecName(This,guid,codecindex,name,namesize) |
| #define IWMCodecInfo2_GetCodecFormatDesc(This,guid,codecindex,formatindex,streamconfig,description,descrsize) (This)->lpVtbl->GetCodecFormatDesc(This,guid,codecindex,formatindex,streamconfig,description,descrsize) |
| #else |
| /*** IUnknown methods ***/ |
| static FORCEINLINE HRESULT IWMCodecInfo2_QueryInterface(IWMCodecInfo2* This,REFIID riid,void **ppvObject) { |
| return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| } |
| static FORCEINLINE ULONG IWMCodecInfo2_AddRef(IWMCodecInfo2* This) { |
| return This->lpVtbl->AddRef(This); |
| } |
| static FORCEINLINE ULONG IWMCodecInfo2_Release(IWMCodecInfo2* This) { |
| return This->lpVtbl->Release(This); |
| } |
| /*** IWMCodecInfo methods ***/ |
| static FORCEINLINE HRESULT IWMCodecInfo2_GetCodecInfoCount(IWMCodecInfo2* This,REFGUID guid,DWORD *count) { |
| return This->lpVtbl->GetCodecInfoCount(This,guid,count); |
| } |
| static FORCEINLINE HRESULT IWMCodecInfo2_GetCodecFormatCount(IWMCodecInfo2* This,REFGUID guid,DWORD codecindex,DWORD *formatcount) { |
| return This->lpVtbl->GetCodecFormatCount(This,guid,codecindex,formatcount); |
| } |
| static FORCEINLINE HRESULT IWMCodecInfo2_GetCodecFormat(IWMCodecInfo2* This,REFGUID guid,DWORD codecindex,DWORD formatindex,IWMStreamConfig **streamconfig) { |
| return This->lpVtbl->GetCodecFormat(This,guid,codecindex,formatindex,streamconfig); |
| } |
| /*** IWMCodecInfo2 methods ***/ |
| static FORCEINLINE HRESULT IWMCodecInfo2_GetCodecName(IWMCodecInfo2* This, |