Class MFExtern
Inheritance
Inherited Members
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
public static class MFExtern
Methods
CreateNamedPropertyStore(out INamedPropertyStore)
Declaration
public static HResult CreateNamedPropertyStore(out INamedPropertyStore ppStore)
Parameters
INamedPropertyStore
ppStore
|
Returns
HResult
|
CreatePropertyStore(out IPropertyStore)
Declaration
public static HResult CreatePropertyStore(out IPropertyStore ppStore)
Parameters
IPropertyStore
ppStore
|
Returns
HResult
|
MFAddPeriodicCallback(MFExtern.MFPERIODICCALLBACK, Object, out Int32)
Declaration
public static HResult MFAddPeriodicCallback(MFExtern.MFPERIODICCALLBACK Callback, object pContext, out int pdwKey)
Parameters
MFExtern.MFPERIODICCALLBACK
Callback
|
System.Object
pContext
|
System.Int32
pdwKey
|
Returns
HResult
|
MFAllocateSerialWorkQueue(Int32, out Int32)
Declaration
public static HResult MFAllocateSerialWorkQueue(int dwWorkQueue, out int pdwWorkQueue)
Parameters
System.Int32
dwWorkQueue
|
System.Int32
pdwWorkQueue
|
Returns
HResult
|
MFAllocateWorkQueue(out Int32)
Declaration
public static HResult MFAllocateWorkQueue(out int pdwWorkQueue)
Parameters
System.Int32
pdwWorkQueue
|
Returns
HResult
|
MFAllocateWorkQueueEx(MFASYNC_WORKQUEUE_TYPE, out Int32)
Declaration
public static HResult MFAllocateWorkQueueEx(MFASYNC_WORKQUEUE_TYPE WorkQueueType, out int pdwWorkQueue)
Parameters
MFASYNC_WORKQUEUE_TYPE
WorkQueueType
|
System.Int32
pdwWorkQueue
|
Returns
HResult
|
MFAverageTimePerFrameToFrameRate(Int64, out Int32, out Int32)
Declaration
public static HResult MFAverageTimePerFrameToFrameRate(long unAverageTimePerFrame, out int punNumerator, out int punDenominator)
Parameters
System.Int64
unAverageTimePerFrame
|
System.Int32
punNumerator
|
System.Int32
punDenominator
|
Returns
HResult
|
MFBeginCreateFile(MFFileAccessMode, MFFileOpenMode, MFFileFlags, String, IMFAsyncCallback, Object, out Object)
Declaration
public static HResult MFBeginCreateFile(MFFileAccessMode AccessMode, MFFileOpenMode OpenMode, MFFileFlags fFlags, string pwszFilePath, IMFAsyncCallback pCallback, object pState, out object ppCancelCookie)
Parameters
MFFileAccessMode
AccessMode
|
MFFileOpenMode
OpenMode
|
MFFileFlags
fFlags
|
System.String
pwszFilePath
|
IMFAsyncCallback
pCallback
|
System.Object
pState
|
System.Object
ppCancelCookie
|
Returns
HResult
|
MFBeginRegisterWorkQueueWithMMCSS(Int32, String, Int32, IMFAsyncCallback, Object)
Declaration
public static HResult MFBeginRegisterWorkQueueWithMMCSS(int dwWorkQueueId, string wszClass, int dwTaskId, IMFAsyncCallback pDoneCallback, object pDoneState)
Parameters
System.Int32
dwWorkQueueId
|
System.String
wszClass
|
System.Int32
dwTaskId
|
IMFAsyncCallback
pDoneCallback
|
System.Object
pDoneState
|
Returns
HResult
|
MFBeginRegisterWorkQueueWithMMCSSEx(Int32, String, Int32, Int32, IMFAsyncCallback, Object)
Declaration
public static HResult MFBeginRegisterWorkQueueWithMMCSSEx(int dwWorkQueueId, string wszClass, int dwTaskId, int lPriority, IMFAsyncCallback pDoneCallback, object pDoneState)
Parameters
System.Int32
dwWorkQueueId
|
System.String
wszClass
|
System.Int32
dwTaskId
|
System.Int32
lPriority
|
IMFAsyncCallback
pDoneCallback
|
System.Object
pDoneState
|
Returns
HResult
|
MFBeginUnregisterWorkQueueWithMMCSS(Int32, IMFAsyncCallback, Object)
Declaration
public static HResult MFBeginUnregisterWorkQueueWithMMCSS(int dwWorkQueueId, IMFAsyncCallback pDoneCallback, object pDoneState)
Parameters
System.Int32
dwWorkQueueId
|
IMFAsyncCallback
pDoneCallback
|
System.Object
pDoneState
|
Returns
HResult
|
MFCalculateBitmapImageSize(BitmapInfoHeader, Int32, out Int32, out Boolean)
Declaration
public static HResult MFCalculateBitmapImageSize(BitmapInfoHeader pBMIH, int cbBufSize, out int pcbImageSize, out bool pbKnown)
Parameters
BitmapInfoHeader
pBMIH
|
System.Int32
cbBufSize
|
System.Int32
pcbImageSize
|
System.Boolean
pbKnown
|
Returns
HResult
|
MFCalculateImageSize(Guid, Int32, Int32, out Int32)
Declaration
public static HResult MFCalculateImageSize(Guid guidSubtype, int unWidth, int unHeight, out int pcbImageSize)
Parameters
System.Guid
guidSubtype
|
System.Int32
unWidth
|
System.Int32
unHeight
|
System.Int32
pcbImageSize
|
Returns
HResult
|
MFCancelCreateFile(Object)
Declaration
public static HResult MFCancelCreateFile(object pCancelCookie)
Parameters
System.Object
pCancelCookie
|
Returns
HResult
|
MFCancelWorkItem(Int64)
Declaration
public static HResult MFCancelWorkItem(long Key)
Parameters
System.Int64
Key
|
Returns
HResult
|
MFCompareFullToPartialMediaType(IMFMediaType, IMFMediaType)
Declaration
public static bool MFCompareFullToPartialMediaType(IMFMediaType pMFTypeFull, IMFMediaType pMFTypePartial)
Parameters
IMFMediaType
pMFTypeFull
|
IMFMediaType
pMFTypePartial
|
Returns
System.Boolean
|
MFConvertFromFP16Array(Single[], Int16[], Int32)
Declaration
public static HResult MFConvertFromFP16Array(float[] pDest, short[] pSrc, int dwCount)
Parameters
System.Single[]
pDest
|
System.Int16[]
pSrc
|
System.Int32
dwCount
|
Returns
HResult
|
MFConvertToFP16Array(Int16[], Single[], Int32)
Declaration
public static HResult MFConvertToFP16Array(short[] pDest, float[] pSrc, int dwCount)
Parameters
System.Int16[]
pDest
|
System.Single[]
pSrc
|
System.Int32
dwCount
|
Returns
HResult
|
MFCopyImage(IntPtr, Int32, IntPtr, Int32, Int32, Int32)
Declaration
public static HResult MFCopyImage(IntPtr pDest, int lDestStride, IntPtr pSrc, int lSrcStride, int dwWidthInBytes, int dwLines)
Parameters
System.IntPtr
pDest
|
System.Int32
lDestStride
|
System.IntPtr
pSrc
|
System.Int32
lSrcStride
|
System.Int32
dwWidthInBytes
|
System.Int32
dwLines
|
Returns
HResult
|
MFCreate2DMediaBuffer(Int32, Int32, Int32, Boolean, out IMFMediaBuffer)
Declaration
public static HResult MFCreate2DMediaBuffer(int dwWidth, int dwHeight, int dwFourCC, bool fBottomUp, out IMFMediaBuffer ppBuffer)
Parameters
System.Int32
dwWidth
|
System.Int32
dwHeight
|
System.Int32
dwFourCC
|
System.Boolean
fBottomUp
|
IMFMediaBuffer
ppBuffer
|
Returns
HResult
|
MFCreate3GPMediaSink(IMFByteStream, IMFMediaType, IMFMediaType, out IMFMediaSink)
Declaration
public static HResult MFCreate3GPMediaSink(IMFByteStream pIByteStream, IMFMediaType pVideoMediaType, IMFMediaType pAudioMediaType, out IMFMediaSink ppIMediaSink)
Parameters
IMFByteStream
pIByteStream
|
IMFMediaType
pVideoMediaType
|
IMFMediaType
pAudioMediaType
|
IMFMediaSink
ppIMediaSink
|
Returns
HResult
|
MFCreateAC3MediaSink(IMFByteStream, IMFMediaType, out IMFMediaSink)
Declaration
public static HResult MFCreateAC3MediaSink(IMFByteStream pTargetByteStream, IMFMediaType pAudioMediaType, out IMFMediaSink ppMediaSink)
Parameters
IMFByteStream
pTargetByteStream
|
IMFMediaType
pAudioMediaType
|
IMFMediaSink
ppMediaSink
|
Returns
HResult
|
MFCreateADTSMediaSink(IMFByteStream, IMFMediaType, out IMFMediaSink)
Declaration
public static HResult MFCreateADTSMediaSink(IMFByteStream pTargetByteStream, IMFMediaType pAudioMediaType, out IMFMediaSink ppMediaSink)
Parameters
IMFByteStream
pTargetByteStream
|
IMFMediaType
pAudioMediaType
|
IMFMediaSink
ppMediaSink
|
Returns
HResult
|
MFCreateAggregateSource(IMFCollection, out IMFMediaSource)
Declaration
public static HResult MFCreateAggregateSource(IMFCollection pSourceCollection, out IMFMediaSource ppAggSource)
Parameters
IMFCollection
pSourceCollection
|
IMFMediaSource
ppAggSource
|
Returns
HResult
|
MFCreateAlignedMemoryBuffer(Int32, Int32, out IMFMediaBuffer)
Declaration
public static HResult MFCreateAlignedMemoryBuffer(int cbMaxLength, int cbAligment, out IMFMediaBuffer ppBuffer)
Parameters
System.Int32
cbMaxLength
|
System.Int32
cbAligment
|
IMFMediaBuffer
ppBuffer
|
Returns
HResult
|
MFCreateAMMediaTypeFromMFMediaType(IMFMediaType, Guid, out AMMediaType)
Declaration
public static HResult MFCreateAMMediaTypeFromMFMediaType(IMFMediaType pMFType, Guid guidFormatBlockType, out AMMediaType ppAMType)
Parameters
IMFMediaType
pMFType
|
System.Guid
guidFormatBlockType
|
AMMediaType
ppAMType
|
Returns
HResult
|
MFCreateASFContentInfo(out IMFASFContentInfo)
Declaration
public static HResult MFCreateASFContentInfo(out IMFASFContentInfo ppIContentInfo)
Parameters
IMFASFContentInfo
ppIContentInfo
|
Returns
HResult
|
MFCreateASFIndexer(out IMFASFIndexer)
Declaration
public static HResult MFCreateASFIndexer(out IMFASFIndexer ppIIndexer)
Parameters
IMFASFIndexer
ppIIndexer
|
Returns
HResult
|
MFCreateASFIndexerByteStream(IMFByteStream, Int64, out IMFByteStream)
Declaration
public static HResult MFCreateASFIndexerByteStream(IMFByteStream pIContentByteStream, long cbIndexStartOffset, out IMFByteStream pIIndexByteStream)
Parameters
IMFByteStream
pIContentByteStream
|
System.Int64
cbIndexStartOffset
|
IMFByteStream
pIIndexByteStream
|
Returns
HResult
|
MFCreateASFMediaSink(IMFByteStream, out IMFMediaSink)
Declaration
public static HResult MFCreateASFMediaSink(IMFByteStream pIByteStream, out IMFMediaSink ppIMediaSink)
Parameters
IMFByteStream
pIByteStream
|
IMFMediaSink
ppIMediaSink
|
Returns
HResult
|
MFCreateASFMediaSinkActivate(String, IMFASFContentInfo, out IMFActivate)
Declaration
public static HResult MFCreateASFMediaSinkActivate(string pwszFileName, IMFASFContentInfo pContentInfo, out IMFActivate ppIActivate)
Parameters
System.String
pwszFileName
|
IMFASFContentInfo
pContentInfo
|
IMFActivate
ppIActivate
|
Returns
HResult
|
MFCreateASFMultiplexer(out IMFASFMultiplexer)
Declaration
public static HResult MFCreateASFMultiplexer(out IMFASFMultiplexer ppIMultiplexer)
Parameters
IMFASFMultiplexer
ppIMultiplexer
|
Returns
HResult
|
MFCreateASFProfile(out IMFASFProfile)
Declaration
public static HResult MFCreateASFProfile(out IMFASFProfile ppIProfile)
Parameters
IMFASFProfile
ppIProfile
|
Returns
HResult
|
MFCreateASFProfileFromPresentationDescriptor(IMFPresentationDescriptor, out IMFASFProfile)
Declaration
public static HResult MFCreateASFProfileFromPresentationDescriptor(IMFPresentationDescriptor pIPD, out IMFASFProfile ppIProfile)
Parameters
IMFPresentationDescriptor
pIPD
|
IMFASFProfile
ppIProfile
|
Returns
HResult
|
MFCreateASFSplitter(out IMFASFSplitter)
Declaration
public static HResult MFCreateASFSplitter(out IMFASFSplitter ppISplitter)
Parameters
IMFASFSplitter
ppISplitter
|
Returns
HResult
|
MFCreateASFStreamingMediaSink(IMFByteStream, out IMFMediaSink)
Declaration
public static HResult MFCreateASFStreamingMediaSink(IMFByteStream pIByteStream, out IMFMediaSink ppIMediaSink)
Parameters
IMFByteStream
pIByteStream
|
IMFMediaSink
ppIMediaSink
|
Returns
HResult
|
MFCreateASFStreamingMediaSinkActivate(IMFActivate, IMFASFContentInfo, out IMFActivate)
Declaration
public static HResult MFCreateASFStreamingMediaSinkActivate(IMFActivate pByteStreamActivate, IMFASFContentInfo pContentInfo, out IMFActivate ppIActivate)
Parameters
IMFActivate
pByteStreamActivate
|
IMFASFContentInfo
pContentInfo
|
IMFActivate
ppIActivate
|
Returns
HResult
|
MFCreateASFStreamSelector(IMFASFProfile, out IMFASFStreamSelector)
Declaration
public static HResult MFCreateASFStreamSelector(IMFASFProfile pIASFProfile, out IMFASFStreamSelector ppSelector)
Parameters
IMFASFProfile
pIASFProfile
|
IMFASFStreamSelector
ppSelector
|
Returns
HResult
|
MFCreateAsyncResult(Object, IMFAsyncCallback, Object, out IMFAsyncResult)
Declaration
public static HResult MFCreateAsyncResult(object punkObject, IMFAsyncCallback pCallback, object punkState, out IMFAsyncResult ppAsyncResult)
Parameters
System.Object
punkObject
|
IMFAsyncCallback
pCallback
|
System.Object
punkState
|
IMFAsyncResult
ppAsyncResult
|
Returns
HResult
|
MFCreateAttributes(out IMFAttributes, Int32)
Declaration
public static HResult MFCreateAttributes(out IMFAttributes ppMFAttributes, int cInitialSize)
Parameters
IMFAttributes
ppMFAttributes
|
System.Int32
cInitialSize
|
Returns
HResult
|
MFCreateAudioMediaType(WaveFormatEx, out IMFAudioMediaType)
Declaration
[Obsolete("This function is deprecated")]
public static HResult MFCreateAudioMediaType(WaveFormatEx pAudioFormat, out IMFAudioMediaType ppIAudioMediaType)
Parameters
WaveFormatEx
pAudioFormat
|
IMFAudioMediaType
ppIAudioMediaType
|
Returns
HResult
|
MFCreateAudioRenderer(IMFAttributes, out IMFMediaSink)
Declaration
public static HResult MFCreateAudioRenderer(IMFAttributes pAudioAttributes, out IMFMediaSink ppSink)
Parameters
IMFAttributes
pAudioAttributes
|
IMFMediaSink
ppSink
|
Returns
HResult
|
MFCreateAudioRendererActivate(out IMFActivate)
Declaration
public static HResult MFCreateAudioRendererActivate(out IMFActivate ppActivate)
Parameters
IMFActivate
ppActivate
|
Returns
HResult
|
MFCreateCollection(out IMFCollection)
Declaration
public static HResult MFCreateCollection(out IMFCollection ppIMFCollection)
Parameters
IMFCollection
ppIMFCollection
|
Returns
HResult
|
MFCreateCredentialCache(out IMFNetCredentialCache)
Declaration
public static HResult MFCreateCredentialCache(out IMFNetCredentialCache ppCache)
Parameters
IMFNetCredentialCache
ppCache
|
Returns
HResult
|
MFCreateDeviceSource(IMFAttributes, out IMFMediaSource)
Declaration
public static HResult MFCreateDeviceSource(IMFAttributes pAttributes, out IMFMediaSource ppSource)
Parameters
IMFAttributes
pAttributes
|
IMFMediaSource
ppSource
|
Returns
HResult
|
MFCreateDeviceSourceActivate(IMFAttributes, out IMFActivate)
Declaration
public static HResult MFCreateDeviceSourceActivate(IMFAttributes pAttributes, out IMFActivate ppActivate)
Parameters
IMFAttributes
pAttributes
|
IMFActivate
ppActivate
|
Returns
HResult
|
MFCreateEventQueue(out IMFMediaEventQueue)
Declaration
public static HResult MFCreateEventQueue(out IMFMediaEventQueue ppMediaEventQueue)
Parameters
IMFMediaEventQueue
ppMediaEventQueue
|
Returns
HResult
|
MFCreateFile(MFFileAccessMode, MFFileOpenMode, MFFileFlags, String, out IMFByteStream)
Declaration
public static HResult MFCreateFile(MFFileAccessMode AccessMode, MFFileOpenMode OpenMode, MFFileFlags fFlags, string pwszFileURL, out IMFByteStream ppIByteStream)
Parameters
MFFileAccessMode
AccessMode
|
MFFileOpenMode
OpenMode
|
MFFileFlags
fFlags
|
System.String
pwszFileURL
|
IMFByteStream
ppIByteStream
|
Returns
HResult
|
MFCreateFMPEG4MediaSink(IMFByteStream, IMFMediaType, IMFMediaType, out IMFMediaSink)
Declaration
public static HResult MFCreateFMPEG4MediaSink(IMFByteStream pIByteStream, IMFMediaType pVideoMediaType, IMFMediaType pAudioMediaType, out IMFMediaSink ppIMediaSink)
Parameters
IMFByteStream
pIByteStream
|
IMFMediaType
pVideoMediaType
|
IMFMediaType
pAudioMediaType
|
IMFMediaSink
ppIMediaSink
|
Returns
HResult
|
MFCreateLegacyMediaBufferOnMFMediaBuffer(IMFSample, IMFMediaBuffer, Int32, out Object)
Declaration
public static HResult MFCreateLegacyMediaBufferOnMFMediaBuffer(IMFSample pSample, IMFMediaBuffer pMFMediaBuffer, int cbOffset, out object ppMediaBuffer)
Parameters
IMFSample
pSample
|
IMFMediaBuffer
pMFMediaBuffer
|
System.Int32
cbOffset
|
System.Object
ppMediaBuffer
|
Returns
HResult
|
MFCreateMediaBufferFromMediaType(IMFMediaType, Int64, Int32, Int32, out IMFMediaBuffer)
Declaration
public static HResult MFCreateMediaBufferFromMediaType(IMFMediaType pMediaType, long llDuration, int dwMinLength, int dwMinAlignment, out IMFMediaBuffer ppBuffer)
Parameters
IMFMediaType
pMediaType
|
System.Int64
llDuration
|
System.Int32
dwMinLength
|
System.Int32
dwMinAlignment
|
IMFMediaBuffer
ppBuffer
|
Returns
HResult
|
MFCreateMediaBufferWrapper(IMFMediaBuffer, Int32, Int32, out IMFMediaBuffer)
Declaration
public static HResult MFCreateMediaBufferWrapper(IMFMediaBuffer pBuffer, int cbOffset, int dwLength, out IMFMediaBuffer ppBuffer)
Parameters
IMFMediaBuffer
pBuffer
|
System.Int32
cbOffset
|
System.Int32
dwLength
|
IMFMediaBuffer
ppBuffer
|
Returns
HResult
|
MFCreateMediaEvent(MediaEventType, Guid, HResult, ConstPropVariant, out IMFMediaEvent)
Declaration
public static HResult MFCreateMediaEvent(MediaEventType met, Guid guidExtendedType, HResult hrStatus, ConstPropVariant pvValue, out IMFMediaEvent ppEvent)
Parameters
MediaEventType
met
|
System.Guid
guidExtendedType
|
HResult
hrStatus
|
ConstPropVariant
pvValue
|
IMFMediaEvent
ppEvent
|
Returns
HResult
|
MFCreateMediaExtensionActivate(String, Object, Guid, out Object)
Declaration
public static HResult MFCreateMediaExtensionActivate(string szActivatableClassId, object pConfiguration, Guid riid, out object ppvObject)
Parameters
System.String
szActivatableClassId
|
System.Object
pConfiguration
|
System.Guid
riid
|
System.Object
ppvObject
|
Returns
HResult
|
MFCreateMediaSession(IMFAttributes, out IMFMediaSession)
Declaration
public static HResult MFCreateMediaSession(IMFAttributes pConfiguration, out IMFMediaSession ppMediaSession)
Parameters
IMFAttributes
pConfiguration
|
IMFMediaSession
ppMediaSession
|
Returns
HResult
|
MFCreateMediaType(out IMFMediaType)
Declaration
public static HResult MFCreateMediaType(out IMFMediaType ppMFType)
Parameters
IMFMediaType
ppMFType
|
Returns
HResult
|
MFCreateMediaTypeFromProperties(Object, out IMFMediaType)
Declaration
public static HResult MFCreateMediaTypeFromProperties(object punkStream, out IMFMediaType ppMediaType)
Parameters
System.Object
punkStream
|
IMFMediaType
ppMediaType
|
Returns
HResult
|
MFCreateMediaTypeFromRepresentation(Guid, IntPtr, out IMFMediaType)
Declaration
public static HResult MFCreateMediaTypeFromRepresentation(Guid guidRepresentation, IntPtr pvRepresentation, out IMFMediaType ppIMediaType)
Parameters
System.Guid
guidRepresentation
|
System.IntPtr
pvRepresentation
|
IMFMediaType
ppIMediaType
|
Returns
HResult
|
MFCreateMemoryBuffer(Int32, out IMFMediaBuffer)
Declaration
public static HResult MFCreateMemoryBuffer(int cbMaxLength, out IMFMediaBuffer ppBuffer)
Parameters
System.Int32
cbMaxLength
|
IMFMediaBuffer
ppBuffer
|
Returns
HResult
|
MFCreateMFByteStreamOnStream(IStream, out IMFByteStream)
Declaration
public static HResult MFCreateMFByteStreamOnStream(IStream pStream, out IMFByteStream ppByteStream)
Parameters
IStream
pStream
|
IMFByteStream
ppByteStream
|
Returns
HResult
|
MFCreateMFByteStreamOnStreamEx(Object, out IMFByteStream)
Declaration
public static HResult MFCreateMFByteStreamOnStreamEx(object punkStream, out IMFByteStream ppByteStream)
Parameters
System.Object
punkStream
|
IMFByteStream
ppByteStream
|
Returns
HResult
|
MFCreateMFByteStreamWrapper(IMFByteStream, out IMFByteStream)
Declaration
public static HResult MFCreateMFByteStreamWrapper(IMFByteStream pStream, out IMFByteStream ppStreamWrapper)
Parameters
IMFByteStream
pStream
|
IMFByteStream
ppStreamWrapper
|
Returns
HResult
|
MFCreateMFVideoFormatFromMFMediaType(IMFMediaType, out MFVideoFormat, out Int32)
Declaration
public static HResult MFCreateMFVideoFormatFromMFMediaType(IMFMediaType pMFType, out MFVideoFormat ppMFVF, out int pcbSize)
Parameters
IMFMediaType
pMFType
|
MFVideoFormat
ppMFVF
|
System.Int32
pcbSize
|
Returns
HResult
|
MFCreateMP3MediaSink(IMFByteStream, out IMFMediaSink)
Declaration
public static HResult MFCreateMP3MediaSink(IMFByteStream pTargetByteStream, out IMFMediaSink ppMediaSink)
Parameters
IMFByteStream
pTargetByteStream
|
IMFMediaSink
ppMediaSink
|
Returns
HResult
|
MFCreateMPEG4MediaSink(IMFByteStream, IMFMediaType, IMFMediaType, out IMFMediaSink)
Declaration
public static HResult MFCreateMPEG4MediaSink(IMFByteStream pIByteStream, IMFMediaType pVideoMediaType, IMFMediaType pAudioMediaType, out IMFMediaSink ppIMediaSink)
Parameters
IMFByteStream
pIByteStream
|
IMFMediaType
pVideoMediaType
|
IMFMediaType
pAudioMediaType
|
IMFMediaSink
ppIMediaSink
|
Returns
HResult
|
MFCreateMuxSink(Guid, IMFAttributes, IMFByteStream, out IMFMediaSink)
Declaration
public static HResult MFCreateMuxSink(Guid guidOutputSubType, IMFAttributes pOutputAttributes, IMFByteStream pOutputByteStream, out IMFMediaSink ppMuxSink)
Parameters
System.Guid
guidOutputSubType
|
IMFAttributes
pOutputAttributes
|
IMFByteStream
pOutputByteStream
|
IMFMediaSink
ppMuxSink
|
Returns
HResult
|
MFCreateNetSchemePlugin(Guid, out Object)
Declaration
public static HResult MFCreateNetSchemePlugin(Guid riid, out object ppvHandler)
Parameters
System.Guid
riid
|
System.Object
ppvHandler
|
Returns
HResult
|
MFCreatePMPMediaSession(MFPMPSessionCreationFlags, IMFAttributes, out IMFMediaSession, out IMFActivate)
Declaration
public static HResult MFCreatePMPMediaSession(MFPMPSessionCreationFlags dwCreationFlags, IMFAttributes pConfiguration, out IMFMediaSession ppMediaSession, out IMFActivate ppEnablerActivate)
Parameters
MFPMPSessionCreationFlags
dwCreationFlags
|
IMFAttributes
pConfiguration
|
IMFMediaSession
ppMediaSession
|
IMFActivate
ppEnablerActivate
|
Returns
HResult
|
MFCreatePMPServer(MFPMPSessionCreationFlags, out IMFPMPServer)
Declaration
public static HResult MFCreatePMPServer(MFPMPSessionCreationFlags dwCreationFlags, out IMFPMPServer ppPMPServer)
Parameters
MFPMPSessionCreationFlags
dwCreationFlags
|
IMFPMPServer
ppPMPServer
|
Returns
HResult
|
MFCreatePresentationClock(out IMFPresentationClock)
Declaration
public static HResult MFCreatePresentationClock(out IMFPresentationClock ppPresentationClock)
Parameters
IMFPresentationClock
ppPresentationClock
|
Returns
HResult
|
MFCreatePresentationDescriptor(Int32, IMFStreamDescriptor[], out IMFPresentationDescriptor)
Declaration
public static HResult MFCreatePresentationDescriptor(int cStreamDescriptors, IMFStreamDescriptor[] apStreamDescriptors, out IMFPresentationDescriptor ppPresentationDescriptor)
Parameters
System.Int32
cStreamDescriptors
|
IMFStreamDescriptor[]
apStreamDescriptors
|
IMFPresentationDescriptor
ppPresentationDescriptor
|
Returns
HResult
|
MFCreatePresentationDescriptorFromASFProfile(IMFASFProfile, out IMFPresentationDescriptor)
Declaration
public static HResult MFCreatePresentationDescriptorFromASFProfile(IMFASFProfile pIProfile, out IMFPresentationDescriptor ppIPD)
Parameters
IMFASFProfile
pIProfile
|
IMFPresentationDescriptor
ppIPD
|
Returns
HResult
|
MFCreatePropertiesFromMediaType(IMFMediaType, Guid, out Object)
Declaration
public static HResult MFCreatePropertiesFromMediaType(IMFMediaType pMediaType, Guid riid, out object ppv)
Parameters
IMFMediaType
pMediaType
|
System.Guid
riid
|
System.Object
ppv
|
Returns
HResult
|
MFCreateProxyLocator(String, IPropertyStore, out IMFNetProxyLocator)
Declaration
public static HResult MFCreateProxyLocator(string pszProtocol, IPropertyStore pProxyConfig, out IMFNetProxyLocator ppProxyLocator)
Parameters
System.String
pszProtocol
|
IPropertyStore
pProxyConfig
|
IMFNetProxyLocator
ppProxyLocator
|
Returns
HResult
|
MFCreateRemoteDesktopPlugin(out IMFRemoteDesktopPlugin)
Declaration
public static HResult MFCreateRemoteDesktopPlugin(out IMFRemoteDesktopPlugin ppPlugin)
Parameters
IMFRemoteDesktopPlugin
ppPlugin
|
Returns
HResult
|
MFCreateSample(out IMFSample)
Declaration
public static HResult MFCreateSample(out IMFSample ppIMFSample)
Parameters
IMFSample
ppIMFSample
|
Returns
HResult
|
MFCreateSampleCopierMFT(out IMFTransform)
Declaration
public static HResult MFCreateSampleCopierMFT(out IMFTransform ppCopierMFT)
Parameters
IMFTransform
ppCopierMFT
|
Returns
HResult
|
MFCreateSampleGrabberSinkActivate(IMFMediaType, IMFSampleGrabberSinkCallback, out IMFActivate)
Declaration
public static HResult MFCreateSampleGrabberSinkActivate(IMFMediaType pIMFMediaType, IMFSampleGrabberSinkCallback pIMFSampleGrabberSinkCallback, out IMFActivate ppIActivate)
Parameters
IMFMediaType
pIMFMediaType
|
IMFSampleGrabberSinkCallback
pIMFSampleGrabberSinkCallback
|
IMFActivate
ppIActivate
|
Returns
HResult
|
MFCreateSequencerSegmentOffset(Int32, Int64, PropVariant)
Declaration
public static HResult MFCreateSequencerSegmentOffset(int dwId, long hnsOffset, PropVariant pvarSegmentOffset)
Parameters
System.Int32
dwId
|
System.Int64
hnsOffset
|
PropVariant
pvarSegmentOffset
|
Returns
HResult
|
MFCreateSequencerSource(Object, out IMFSequencerSource)
Declaration
public static HResult MFCreateSequencerSource(object pReserved, out IMFSequencerSource ppSequencerSource)
Parameters
System.Object
pReserved
|
IMFSequencerSource
ppSequencerSource
|
Returns
HResult
|
MFCreateSimpleTypeHandler(out IMFMediaTypeHandler)
Declaration
public static HResult MFCreateSimpleTypeHandler(out IMFMediaTypeHandler ppHandler)
Parameters
IMFMediaTypeHandler
ppHandler
|
Returns
HResult
|
MFCreateSinkWriterFromMediaSink(IMFMediaSink, IMFAttributes, out IMFSinkWriter)
Declaration
public static HResult MFCreateSinkWriterFromMediaSink(IMFMediaSink pMediaSink, IMFAttributes pAttributes, out IMFSinkWriter ppSinkWriter)
Parameters
IMFMediaSink
pMediaSink
|
IMFAttributes
pAttributes
|
IMFSinkWriter
ppSinkWriter
|
Returns
HResult
|
MFCreateSinkWriterFromURL(String, IMFByteStream, IMFAttributes, out IMFSinkWriter)
Declaration
public static HResult MFCreateSinkWriterFromURL(string pwszOutputURL, IMFByteStream pByteStream, IMFAttributes pAttributes, out IMFSinkWriter ppSinkWriter)
Parameters
System.String
pwszOutputURL
|
IMFByteStream
pByteStream
|
IMFAttributes
pAttributes
|
IMFSinkWriter
ppSinkWriter
|
Returns
HResult
|
MFCreateSourceReaderFromByteStream(IMFByteStream, IMFAttributes, out IMFSourceReader)
Declaration
public static HResult MFCreateSourceReaderFromByteStream(IMFByteStream pByteStream, IMFAttributes pAttributes, out IMFSourceReader ppSourceReader)
Parameters
IMFByteStream
pByteStream
|
IMFAttributes
pAttributes
|
IMFSourceReader
ppSourceReader
|
Returns
HResult
|
MFCreateSourceReaderFromMediaSource(IMFMediaSource, IMFAttributes, out IMFSourceReader)
Declaration
public static HResult MFCreateSourceReaderFromMediaSource(IMFMediaSource pMediaSource, IMFAttributes pAttributes, out IMFSourceReader ppSourceReader)
Parameters
IMFMediaSource
pMediaSource
|
IMFAttributes
pAttributes
|
IMFSourceReader
ppSourceReader
|
Returns
HResult
|
MFCreateSourceReaderFromURL(String, IMFAttributes, out IMFSourceReader)
Declaration
public static HResult MFCreateSourceReaderFromURL(string pwszURL, IMFAttributes pAttributes, out IMFSourceReader ppSourceReader)
Parameters
System.String
pwszURL
|
IMFAttributes
pAttributes
|
IMFSourceReader
ppSourceReader
|
Returns
HResult
|
MFCreateSourceResolver(out IMFSourceResolver)
Declaration
public static HResult MFCreateSourceResolver(out IMFSourceResolver ppISourceResolver)
Parameters
IMFSourceResolver
ppISourceResolver
|
Returns
HResult
|
MFCreateStandardQualityManager(out IMFQualityManager)
Declaration
public static HResult MFCreateStandardQualityManager(out IMFQualityManager ppQualityManager)
Parameters
IMFQualityManager
ppQualityManager
|
Returns
HResult
|
MFCreateStreamDescriptor(Int32, Int32, IMFMediaType[], out IMFStreamDescriptor)
Declaration
public static HResult MFCreateStreamDescriptor(int dwStreamIdentifier, int cMediaTypes, IMFMediaType[] apMediaTypes, out IMFStreamDescriptor ppDescriptor)
Parameters
System.Int32
dwStreamIdentifier
|
System.Int32
cMediaTypes
|
IMFMediaType[]
apMediaTypes
|
IMFStreamDescriptor
ppDescriptor
|
Returns
HResult
|
MFCreateStreamOnMFByteStream(IMFByteStream, out IStream)
Declaration
public static HResult MFCreateStreamOnMFByteStream(IMFByteStream pByteStream, out IStream ppStream)
Parameters
IMFByteStream
pByteStream
|
IStream
ppStream
|
Returns
HResult
|
MFCreateStreamOnMFByteStreamEx(IMFByteStream, Guid, out Object)
Declaration
public static HResult MFCreateStreamOnMFByteStreamEx(IMFByteStream pByteStream, Guid riid, out object ppv)
Parameters
IMFByteStream
pByteStream
|
System.Guid
riid
|
System.Object
ppv
|
Returns
HResult
|
MFCreateSystemTimeSource(out IMFPresentationTimeSource)
Declaration
public static HResult MFCreateSystemTimeSource(out IMFPresentationTimeSource ppSystemTimeSource)
Parameters
IMFPresentationTimeSource
ppSystemTimeSource
|
Returns
HResult
|
MFCreateTempFile(MFFileAccessMode, MFFileOpenMode, MFFileFlags, out IMFByteStream)
Declaration
public static HResult MFCreateTempFile(MFFileAccessMode AccessMode, MFFileOpenMode OpenMode, MFFileFlags fFlags, out IMFByteStream ppIByteStream)
Parameters
MFFileAccessMode
AccessMode
|
MFFileOpenMode
OpenMode
|
MFFileFlags
fFlags
|
IMFByteStream
ppIByteStream
|
Returns
HResult
|
MFCreateTopoLoader(out IMFTopoLoader)
Declaration
public static HResult MFCreateTopoLoader(out IMFTopoLoader ppObj)
Parameters
IMFTopoLoader
ppObj
|
Returns
HResult
|
MFCreateTopology(out IMFTopology)
Declaration
public static HResult MFCreateTopology(out IMFTopology ppTopo)
Parameters
IMFTopology
ppTopo
|
Returns
HResult
|
MFCreateTopologyNode(MFTopologyType, out IMFTopologyNode)
Declaration
public static HResult MFCreateTopologyNode(MFTopologyType NodeType, out IMFTopologyNode ppNode)
Parameters
MFTopologyType
NodeType
|
IMFTopologyNode
ppNode
|
Returns
HResult
|
MFCreateTrackedSample(out IMFTrackedSample)
Declaration
public static HResult MFCreateTrackedSample(out IMFTrackedSample ppMFSample)
Parameters
IMFTrackedSample
ppMFSample
|
Returns
HResult
|
MFCreateTranscodeProfile(out IMFTranscodeProfile)
Declaration
public static HResult MFCreateTranscodeProfile(out IMFTranscodeProfile ppTranscodeProfile)
Parameters
IMFTranscodeProfile
ppTranscodeProfile
|
Returns
HResult
|
MFCreateTranscodeSinkActivate(out IMFActivate)
Declaration
public static HResult MFCreateTranscodeSinkActivate(out IMFActivate ppActivate)
Parameters
IMFActivate
ppActivate
|
Returns
HResult
|
MFCreateTranscodeTopology(IMFMediaSource, String, IMFTranscodeProfile, out IMFTopology)
Declaration
public static HResult MFCreateTranscodeTopology(IMFMediaSource pSrc, string pwszOutputFilePath, IMFTranscodeProfile pProfile, out IMFTopology ppTranscodeTopo)
Parameters
IMFMediaSource
pSrc
|
System.String
pwszOutputFilePath
|
IMFTranscodeProfile
pProfile
|
IMFTopology
ppTranscodeTopo
|
Returns
HResult
|
MFCreateTranscodeTopologyFromByteStream(IMFMediaSource, IMFByteStream, IMFTranscodeProfile, out IMFTopology)
Declaration
public static HResult MFCreateTranscodeTopologyFromByteStream(IMFMediaSource pSrc, IMFByteStream pOutputStream, IMFTranscodeProfile pProfile, out IMFTopology ppTranscodeTopo)
Parameters
IMFMediaSource
pSrc
|
IMFByteStream
pOutputStream
|
IMFTranscodeProfile
pProfile
|
IMFTopology
ppTranscodeTopo
|
Returns
HResult
|
MFCreateTransformActivate(out IMFActivate)
Declaration
public static HResult MFCreateTransformActivate(out IMFActivate ppActivate)
Parameters
IMFActivate
ppActivate
|
Returns
HResult
|
MFCreateVideoMediaType(MFVideoFormat, out IMFVideoMediaType)
Declaration
public static HResult MFCreateVideoMediaType(MFVideoFormat pVideoFormat, out IMFVideoMediaType ppIVideoMediaType)
Parameters
MFVideoFormat
pVideoFormat
|
IMFVideoMediaType
ppIVideoMediaType
|
Returns
HResult
|
MFCreateVideoMediaTypeFromBitMapInfoHeaderEx(BitmapInfoHeader, Int32, Int32, Int32, MFVideoInterlaceMode, MFVideoFlags, Int32, Int32, Int32, out IMFVideoMediaType)
Declaration
public static HResult MFCreateVideoMediaTypeFromBitMapInfoHeaderEx(BitmapInfoHeader pbmihBitMapInfoHeader, int cbBitMapInfoHeader, int dwPixelAspectRatioX, int dwPixelAspectRatioY, MFVideoInterlaceMode InterlaceMode, MFVideoFlags VideoFlags, int dwFramesPerSecondNumerator, int dwFramesPerSecondDenominator, int dwMaxBitRate, out IMFVideoMediaType ppIVideoMediaType)
Parameters
BitmapInfoHeader
pbmihBitMapInfoHeader
|
System.Int32
cbBitMapInfoHeader
|
System.Int32
dwPixelAspectRatioX
|
System.Int32
dwPixelAspectRatioY
|
MFVideoInterlaceMode
InterlaceMode
|
MFVideoFlags
VideoFlags
|
System.Int32
dwFramesPerSecondNumerator
|
System.Int32
dwFramesPerSecondDenominator
|
System.Int32
dwMaxBitRate
|
IMFVideoMediaType
ppIVideoMediaType
|
Returns
HResult
|
MFCreateVideoMediaTypeFromSubtype(Guid, out IMFVideoMediaType)
Declaration
public static HResult MFCreateVideoMediaTypeFromSubtype(Guid pAMSubtype, out IMFVideoMediaType ppIVideoMediaType)
Parameters
System.Guid
pAMSubtype
|
IMFVideoMediaType
ppIVideoMediaType
|
Returns
HResult
|
MFCreateVideoMediaTypeFromVideoInfoHeader(VideoInfoHeader, Int32, Int32, Int32, MFVideoInterlaceMode, MFVideoFlags, Guid, out IMFVideoMediaType)
Declaration
public static HResult MFCreateVideoMediaTypeFromVideoInfoHeader(VideoInfoHeader pVideoInfoHeader, int cbVideoInfoHeader, int dwPixelAspectRatioX, int dwPixelAspectRatioY, MFVideoInterlaceMode InterlaceMode, MFVideoFlags VideoFlags, Guid pSubtype, out IMFVideoMediaType ppIVideoMediaType)
Parameters
VideoInfoHeader
pVideoInfoHeader
|
System.Int32
cbVideoInfoHeader
|
System.Int32
dwPixelAspectRatioX
|
System.Int32
dwPixelAspectRatioY
|
MFVideoInterlaceMode
InterlaceMode
|
MFVideoFlags
VideoFlags
|
System.Guid
pSubtype
|
IMFVideoMediaType
ppIVideoMediaType
|
Returns
HResult
|
MFCreateVideoMediaTypeFromVideoInfoHeader2(VideoInfoHeader2, Int32, MFVideoFlags, Guid, out IMFVideoMediaType)
Declaration
public static HResult MFCreateVideoMediaTypeFromVideoInfoHeader2(VideoInfoHeader2 pVideoInfoHeader, int cbVideoInfoHeader, MFVideoFlags AdditionalVideoFlags, Guid pSubtype, out IMFVideoMediaType ppIVideoMediaType)
Parameters
VideoInfoHeader2
pVideoInfoHeader
|
System.Int32
cbVideoInfoHeader
|
MFVideoFlags
AdditionalVideoFlags
|
System.Guid
pSubtype
|
IMFVideoMediaType
ppIVideoMediaType
|
Returns
HResult
|
MFCreateVideoMixer(Object, Guid, Guid, out Object)
Declaration
public static HResult MFCreateVideoMixer(object pOwner, Guid riidDevice, Guid riid, out object ppVideoMixer)
Parameters
System.Object
pOwner
|
System.Guid
riidDevice
|
System.Guid
riid
|
System.Object
ppVideoMixer
|
Returns
HResult
|
MFCreateVideoMixerAndPresenter(Object, Object, Guid, out Object, Guid, out Object)
Declaration
public static HResult MFCreateVideoMixerAndPresenter(object pMixerOwner, object pPresenterOwner, Guid riidMixer, out object ppvVideoMixer, Guid riidPresenter, out object ppvVideoPresenter)
Parameters
System.Object
pMixerOwner
|
System.Object
pPresenterOwner
|
System.Guid
riidMixer
|
System.Object
ppvVideoMixer
|
System.Guid
riidPresenter
|
System.Object
ppvVideoPresenter
|
Returns
HResult
|
MFCreateVideoPresenter(Object, Guid, Guid, out Object)
Declaration
public static HResult MFCreateVideoPresenter(object pOwner, Guid riidDevice, Guid riid, out object ppVideoPresenter)
Parameters
System.Object
pOwner
|
System.Guid
riidDevice
|
System.Guid
riid
|
System.Object
ppVideoPresenter
|
Returns
HResult
|
MFCreateVideoRenderer(Guid, out Object)
Declaration
public static HResult MFCreateVideoRenderer(Guid riidRenderer, out object ppVideoRenderer)
Parameters
System.Guid
riidRenderer
|
System.Object
ppVideoRenderer
|
Returns
HResult
|
MFCreateVideoRendererActivate(IntPtr, out IMFActivate)
Declaration
public static HResult MFCreateVideoRendererActivate(IntPtr hwndVideo, out IMFActivate ppActivate)
Parameters
System.IntPtr
hwndVideo
|
IMFActivate
ppActivate
|
Returns
HResult
|
MFCreateVideoSampleAllocator(Guid, out Object)
Declaration
public static HResult MFCreateVideoSampleAllocator(Guid riid, out object ppSampleAllocator)
Parameters
System.Guid
riid
|
System.Object
ppSampleAllocator
|
Returns
HResult
|
MFCreateVideoSampleAllocatorEx(Guid, out Object)
Declaration
public static HResult MFCreateVideoSampleAllocatorEx(Guid riid, out object ppSampleAllocator)
Parameters
System.Guid
riid
|
System.Object
ppSampleAllocator
|
Returns
HResult
|
MFCreateVideoSampleFromSurface(Object, out IMFSample)
Declaration
public static HResult MFCreateVideoSampleFromSurface(object pUnkSurface, out IMFSample ppSample)
Parameters
System.Object
pUnkSurface
|
IMFSample
ppSample
|
Returns
HResult
|
MFCreateWaveFormatExFromMFMediaType(IMFMediaType, out WaveFormatEx, out Int32, MFWaveFormatExConvertFlags)
Declaration
public static HResult MFCreateWaveFormatExFromMFMediaType(IMFMediaType pMFType, out WaveFormatEx ppWF, out int pcbSize, MFWaveFormatExConvertFlags Flags)
Parameters
IMFMediaType
pMFType
|
WaveFormatEx
ppWF
|
System.Int32
pcbSize
|
MFWaveFormatExConvertFlags
Flags
|
Returns
HResult
|
MFCreateWICBitmapBuffer(Guid, Object, out IMFMediaBuffer)
Declaration
public static HResult MFCreateWICBitmapBuffer(Guid riid, object punkSurface, out IMFMediaBuffer ppBuffer)
Parameters
System.Guid
riid
|
System.Object
punkSurface
|
IMFMediaBuffer
ppBuffer
|
Returns
HResult
|
MFCreateWMAEncoderActivate(IMFMediaType, IPropertyStore, out IMFActivate)
Declaration
public static HResult MFCreateWMAEncoderActivate(IMFMediaType pMediaType, IPropertyStore pEncodingConfigurationProperties, out IMFActivate ppActivate)
Parameters
IMFMediaType
pMediaType
|
IPropertyStore
pEncodingConfigurationProperties
|
IMFActivate
ppActivate
|
Returns
HResult
|
MFCreateWMVEncoderActivate(IMFMediaType, IPropertyStore, out IMFActivate)
Declaration
public static HResult MFCreateWMVEncoderActivate(IMFMediaType pMediaType, IPropertyStore pEncodingConfigurationProperties, out IMFActivate ppActivate)
Parameters
IMFMediaType
pMediaType
|
IPropertyStore
pEncodingConfigurationProperties
|
IMFActivate
ppActivate
|
Returns
HResult
|
MFDeserializeAttributesFromStream(IMFAttributes, MFAttributeSerializeOptions, IStream)
Declaration
public static HResult MFDeserializeAttributesFromStream(IMFAttributes pAttr, MFAttributeSerializeOptions dwOptions, IStream pStm)
Parameters
IMFAttributes
pAttr
|
MFAttributeSerializeOptions
dwOptions
|
IStream
pStm
|
Returns
HResult
|
MFDeserializePresentationDescriptor(Int32, IntPtr, out IMFPresentationDescriptor)
Declaration
public static HResult MFDeserializePresentationDescriptor(int cbData, IntPtr pbData, out IMFPresentationDescriptor ppPD)
Parameters
System.Int32
cbData
|
System.IntPtr
pbData
|
IMFPresentationDescriptor
ppPD
|
Returns
HResult
|
MFEndCreateFile(IMFAsyncResult, out IMFByteStream)
Declaration
public static HResult MFEndCreateFile(IMFAsyncResult pResult, out IMFByteStream ppFile)
Parameters
IMFAsyncResult
pResult
|
IMFByteStream
ppFile
|
Returns
HResult
|
MFEndRegisterWorkQueueWithMMCSS(IMFAsyncResult, out Int32)
Declaration
public static HResult MFEndRegisterWorkQueueWithMMCSS(IMFAsyncResult pResult, out int pdwTaskId)
Parameters
IMFAsyncResult
pResult
|
System.Int32
pdwTaskId
|
Returns
HResult
|
MFEndUnregisterWorkQueueWithMMCSS(IMFAsyncResult)
Declaration
public static HResult MFEndUnregisterWorkQueueWithMMCSS(IMFAsyncResult pResult)
Parameters
IMFAsyncResult
pResult
|
Returns
HResult
|
MFEnumDeviceSources(IMFAttributes, out IMFActivate[], out Int32)
Declaration
public static HResult MFEnumDeviceSources(IMFAttributes pAttributes, out IMFActivate[] pppSourceActivate, out int pcSourceActivate)
Parameters
IMFAttributes
pAttributes
|
IMFActivate[]
pppSourceActivate
|
System.Int32
pcSourceActivate
|
Returns
HResult
|
MFFrameRateToAverageTimePerFrame(Int32, Int32, out Int64)
Declaration
public static HResult MFFrameRateToAverageTimePerFrame(int unNumerator, int unDenominator, out long punAverageTimePerFrame)
Parameters
System.Int32
unNumerator
|
System.Int32
unDenominator
|
System.Int64
punAverageTimePerFrame
|
Returns
HResult
|
MFGetAttribute2UINT32asUINT64(IMFAttributes, Guid, out Int32, out Int32)
Declaration
public static HResult MFGetAttribute2UINT32asUINT64(IMFAttributes pAttributes, Guid guidKey, out int punHigh32, out int punLow32)
Parameters
IMFAttributes
pAttributes
|
System.Guid
guidKey
|
System.Int32
punHigh32
|
System.Int32
punLow32
|
Returns
HResult
|
MFGetAttributeDouble(IMFAttributes, Guid, Double)
Declaration
public static double MFGetAttributeDouble(IMFAttributes pAttributes, Guid guidKey, double fDefault)
Parameters
IMFAttributes
pAttributes
|
System.Guid
guidKey
|
System.Double
fDefault
|
Returns
System.Double
|
MFGetAttributeRatio(IMFAttributes, Guid, out Int32, out Int32)
Declaration
public static HResult MFGetAttributeRatio(IMFAttributes pAttributes, Guid guidKey, out int punNumerator, out int punDenominator)
Parameters
IMFAttributes
pAttributes
|
System.Guid
guidKey
|
System.Int32
punNumerator
|
System.Int32
punDenominator
|
Returns
HResult
|
MFGetAttributesAsBlob(IMFAttributes, IntPtr, Int32)
Declaration
public static HResult MFGetAttributesAsBlob(IMFAttributes pAttributes, IntPtr pBuf, int cbBufSize)
Parameters
IMFAttributes
pAttributes
|
System.IntPtr
pBuf
|
System.Int32
cbBufSize
|
Returns
HResult
|
MFGetAttributesAsBlobSize(IMFAttributes, out Int32)
Declaration
public static HResult MFGetAttributesAsBlobSize(IMFAttributes pAttributes, out int pcbBufSize)
Parameters
IMFAttributes
pAttributes
|
System.Int32
pcbBufSize
|
Returns
HResult
|
MFGetAttributeSize(IMFAttributes, Guid, out Int32, out Int32)
Declaration
public static HResult MFGetAttributeSize(IMFAttributes pAttributes, Guid guidKey, out int punWidth, out int punHeight)
Parameters
IMFAttributes
pAttributes
|
System.Guid
guidKey
|
System.Int32
punWidth
|
System.Int32
punHeight
|
Returns
HResult
|
MFGetAttributeString(IMFAttributes, Guid, out String)
Declaration
public static HResult MFGetAttributeString(IMFAttributes pAttributes, Guid guidKey, out string ppsz)
Parameters
IMFAttributes
pAttributes
|
System.Guid
guidKey
|
System.String
ppsz
|
Returns
HResult
|
MFGetAttributeUINT32(IMFAttributes, Guid, Int32)
Declaration
public static int MFGetAttributeUINT32(IMFAttributes pAttributes, Guid guidKey, int unDefault)
Parameters
IMFAttributes
pAttributes
|
System.Guid
guidKey
|
System.Int32
unDefault
|
Returns
System.Int32
|
MFGetAttributeUINT64(IMFAttributes, Guid, Int64)
Declaration
public static long MFGetAttributeUINT64(IMFAttributes pAttributes, Guid guidKey, long unDefault)
Parameters
IMFAttributes
pAttributes
|
System.Guid
guidKey
|
System.Int64
unDefault
|
Returns
System.Int64
|
MFGetContentProtectionSystemCLSID(Guid, out Guid)
Declaration
public static HResult MFGetContentProtectionSystemCLSID(Guid guidProtectionSystemID, out Guid pclsid)
Parameters
System.Guid
guidProtectionSystemID
|
System.Guid
pclsid
|
Returns
HResult
|
MFGetPlaneSize(Int32, Int32, Int32, out Int32)
Declaration
public static HResult MFGetPlaneSize(int format, int dwWidth, int dwHeight, out int pdwPlaneSize)
Parameters
System.Int32
format
|
System.Int32
dwWidth
|
System.Int32
dwHeight
|
System.Int32
pdwPlaneSize
|
Returns
HResult
|
MFGetPluginControl(out IMFPluginControl)
Declaration
public static HResult MFGetPluginControl(out IMFPluginControl ppPluginControl)
Parameters
IMFPluginControl
ppPluginControl
|
Returns
HResult
|
MFGetService(Object, Guid, Guid, out Object)
Declaration
public static HResult MFGetService(object punkObject, Guid guidService, Guid riid, out object ppvObject)
Parameters
System.Object
punkObject
|
System.Guid
guidService
|
System.Guid
riid
|
System.Object
ppvObject
|
Returns
HResult
|
MFGetStrideForBitmapInfoHeader(Int32, Int32, out Int32)
Declaration
public static HResult MFGetStrideForBitmapInfoHeader(int format, int dwWidth, out int pStride)
Parameters
System.Int32
format
|
System.Int32
dwWidth
|
System.Int32
pStride
|
Returns
HResult
|
MFGetSupportedMimeTypes(PropVariant)
Declaration
public static HResult MFGetSupportedMimeTypes(PropVariant pPropVarSchemeArray)
Parameters
PropVariant
pPropVarSchemeArray
|
Returns
HResult
|
MFGetSupportedSchemes(PropVariant)
Declaration
public static HResult MFGetSupportedSchemes(PropVariant pPropVarSchemeArray)
Parameters
PropVariant
pPropVarSchemeArray
|
Returns
HResult
|
MFGetSystemTime()
Declaration
public static long MFGetSystemTime()
Returns
System.Int64
|
MFGetTimerPeriodicity(out Int32)
Declaration
public static HResult MFGetTimerPeriodicity(out int Periodicity)
Parameters
System.Int32
Periodicity
|
Returns
HResult
|
MFGetTopoNodeCurrentType(IMFTopologyNode, Int32, Boolean, out IMFMediaType)
Declaration
public static HResult MFGetTopoNodeCurrentType(IMFTopologyNode pNode, int dwStreamIndex, bool fOutput, out IMFMediaType ppType)
Parameters
IMFTopologyNode
pNode
|
System.Int32
dwStreamIndex
|
System.Boolean
fOutput
|
IMFMediaType
ppType
|
Returns
HResult
|
MFGetUncompressedVideoFormat(MFVideoFormat)
Declaration
public static int MFGetUncompressedVideoFormat(MFVideoFormat pVideoFormat)
Parameters
MFVideoFormat
pVideoFormat
|
Returns
System.Int32
|
MFGetWorkQueueMMCSSClass(Int32, StringBuilder, MFInt)
Declaration
public static HResult MFGetWorkQueueMMCSSClass(int dwWorkQueueId, StringBuilder pwszClass, MFInt pcchClass)
Parameters
System.Int32
dwWorkQueueId
|
System.Text.StringBuilder
pwszClass
|
MFInt
pcchClass
|
Returns
HResult
|
MFGetWorkQueueMMCSSPriority(Int32, out Int32)
Declaration
public static HResult MFGetWorkQueueMMCSSPriority(int dwWorkQueueId, out int lPriority)
Parameters
System.Int32
dwWorkQueueId
|
System.Int32
lPriority
|
Returns
HResult
|
MFGetWorkQueueMMCSSTaskId(Int32, out Int32)
Declaration
public static HResult MFGetWorkQueueMMCSSTaskId(int dwWorkQueueId, out int pdwTaskId)
Parameters
System.Int32
dwWorkQueueId
|
System.Int32
pdwTaskId
|
Returns
HResult
|
MFInitAMMediaTypeFromMFMediaType(IMFMediaType, Guid, AMMediaType)
Declaration
public static HResult MFInitAMMediaTypeFromMFMediaType(IMFMediaType pMFType, Guid guidFormatBlockType, AMMediaType pAMType)
Parameters
IMFMediaType
pMFType
|
System.Guid
guidFormatBlockType
|
AMMediaType
pAMType
|
Returns
HResult
|
MFInitAttributesFromBlob(IMFAttributes, IntPtr, Int32)
Declaration
public static HResult MFInitAttributesFromBlob(IMFAttributes pAttributes, IntPtr pBuf, int cbBufSize)
Parameters
IMFAttributes
pAttributes
|
System.IntPtr
pBuf
|
System.Int32
cbBufSize
|
Returns
HResult
|
MFInitMediaTypeFromAMMediaType(IMFMediaType, AMMediaType)
Declaration
public static HResult MFInitMediaTypeFromAMMediaType(IMFMediaType pMFType, AMMediaType pAMType)
Parameters
IMFMediaType
pMFType
|
AMMediaType
pAMType
|
Returns
HResult
|
MFInitMediaTypeFromMFVideoFormat(IMFMediaType, MFVideoFormat, Int32)
Declaration
public static HResult MFInitMediaTypeFromMFVideoFormat(IMFMediaType pMFType, MFVideoFormat pMFVF, int cbBufSize)
Parameters
IMFMediaType
pMFType
|
MFVideoFormat
pMFVF
|
System.Int32
cbBufSize
|
Returns
HResult
|
MFInitMediaTypeFromMPEG1VideoInfo(IMFMediaType, Mpeg1VideoInfo, Int32, Guid)
Declaration
public static HResult MFInitMediaTypeFromMPEG1VideoInfo(IMFMediaType pMFType, Mpeg1VideoInfo pMP1VI, int cbBufSize, Guid pSubtype)
Parameters
IMFMediaType
pMFType
|
Mpeg1VideoInfo
pMP1VI
|
System.Int32
cbBufSize
|
System.Guid
pSubtype
|
Returns
HResult
|
MFInitMediaTypeFromMPEG2VideoInfo(IMFMediaType, Mpeg2VideoInfo, Int32, Guid)
Declaration
public static HResult MFInitMediaTypeFromMPEG2VideoInfo(IMFMediaType pMFType, Mpeg2VideoInfo pMP2VI, int cbBufSize, Guid pSubtype)
Parameters
IMFMediaType
pMFType
|
Mpeg2VideoInfo
pMP2VI
|
System.Int32
cbBufSize
|
System.Guid
pSubtype
|
Returns
HResult
|
MFInitMediaTypeFromVideoInfoHeader(IMFMediaType, VideoInfoHeader, Int32, Guid)
Declaration
public static HResult MFInitMediaTypeFromVideoInfoHeader(IMFMediaType pMFType, VideoInfoHeader pVIH, int cbBufSize, Guid pSubtype)
Parameters
IMFMediaType
pMFType
|
VideoInfoHeader
pVIH
|
System.Int32
cbBufSize
|
System.Guid
pSubtype
|
Returns
HResult
|
MFInitMediaTypeFromVideoInfoHeader2(IMFMediaType, VideoInfoHeader2, Int32, Guid)
Declaration
public static HResult MFInitMediaTypeFromVideoInfoHeader2(IMFMediaType pMFType, VideoInfoHeader2 pVIH2, int cbBufSize, Guid pSubtype)
Parameters
IMFMediaType
pMFType
|
VideoInfoHeader2
pVIH2
|
System.Int32
cbBufSize
|
System.Guid
pSubtype
|
Returns
HResult
|
MFInitMediaTypeFromWaveFormatEx(IMFMediaType, WaveFormatEx, Int32)
Declaration
public static HResult MFInitMediaTypeFromWaveFormatEx(IMFMediaType pMFType, WaveFormatEx ppWF, int cbBufSize)
Parameters
IMFMediaType
pMFType
|
WaveFormatEx
ppWF
|
System.Int32
cbBufSize
|
Returns
HResult
|
MFInvokeCallback(IMFAsyncResult)
Declaration
public static HResult MFInvokeCallback(IMFAsyncResult pAsyncResult)
Parameters
IMFAsyncResult
pAsyncResult
|
Returns
HResult
|
MFIsFormatYUV(Int32)
Declaration
public static bool MFIsFormatYUV(int Format)
Parameters
System.Int32
Format
|
Returns
System.Boolean
|
MFllMulDiv(Int64, Int64, Int64, Int64)
Declaration
public static long MFllMulDiv(long a, long b, long c, long d)
Parameters
System.Int64
a
|
System.Int64
b
|
System.Int64
c
|
System.Int64
d
|
Returns
System.Int64
|
MFLockPlatform()
MFLockSharedWorkQueue(String, Int32, ref Int32, out Int32)
MFLockWorkQueue(Int32)
Declaration
public static HResult MFLockWorkQueue(int dwWorkQueue)
Parameters
System.Int32
dwWorkQueue
|
Returns
HResult
|
MFMapDX9FormatToDXGIFormat(Int32)
Declaration
public static int MFMapDX9FormatToDXGIFormat(int dx9)
Parameters
System.Int32
dx9
|
Returns
System.Int32
|
MFMapDXGIFormatToDX9Format(Int32)
Declaration
public static int MFMapDXGIFormatToDX9Format(int dx11)
Parameters
System.Int32
dx11
|
Returns
System.Int32
|
MFPCreateMediaPlayer(String, Boolean, MFP_CREATION_OPTIONS, IMFPMediaPlayerCallback, IntPtr, out IMFPMediaPlayer)
Declaration
public static HResult MFPCreateMediaPlayer(string pwszURL, bool fStartPlayback, MFP_CREATION_OPTIONS creationOptions, IMFPMediaPlayerCallback pCallback, IntPtr hWnd, out IMFPMediaPlayer ppMediaPlayer)
Parameters
System.String
pwszURL
|
System.Boolean
fStartPlayback
|
MFP_CREATION_OPTIONS
creationOptions
|
IMFPMediaPlayerCallback
pCallback
|
System.IntPtr
hWnd
|
IMFPMediaPlayer
ppMediaPlayer
|
Returns
HResult
|
MFPutWaitingWorkItem(IntPtr, Int32, IMFAsyncResult, out Int64)
Declaration
public static HResult MFPutWaitingWorkItem(IntPtr hEvent, int Priority, IMFAsyncResult pResult, out long pKey)
Parameters
System.IntPtr
hEvent
|
System.Int32
Priority
|
IMFAsyncResult
pResult
|
System.Int64
pKey
|
Returns
HResult
|
MFPutWorkItem(Int32, IMFAsyncCallback, Object)
Declaration
public static HResult MFPutWorkItem(int dwQueue, IMFAsyncCallback pCallback, object pState)
Parameters
System.Int32
dwQueue
|
IMFAsyncCallback
pCallback
|
System.Object
pState
|
Returns
HResult
|
MFPutWorkItem2(Int32, Int32, IMFAsyncCallback, Object)
Declaration
public static HResult MFPutWorkItem2(int dwQueue, int Priority, IMFAsyncCallback pCallback, object pState)
Parameters
System.Int32
dwQueue
|
System.Int32
Priority
|
IMFAsyncCallback
pCallback
|
System.Object
pState
|
Returns
HResult
|
MFPutWorkItemEx(Int32, IMFAsyncResult)
Declaration
public static HResult MFPutWorkItemEx(int dwQueue, IMFAsyncResult pResult)
Parameters
System.Int32
dwQueue
|
IMFAsyncResult
pResult
|
Returns
HResult
|
MFPutWorkItemEx2(Int32, Int32, IMFAsyncResult)
Declaration
public static HResult MFPutWorkItemEx2(int dwQueue, int Priority, IMFAsyncResult pResult)
Parameters
System.Int32
dwQueue
|
System.Int32
Priority
|
IMFAsyncResult
pResult
|
Returns
HResult
|
MFRegisterLocalByteStreamHandler(String, String, IMFActivate)
Declaration
public static HResult MFRegisterLocalByteStreamHandler(string szFileExtension, string szMimeType, IMFActivate pActivate)
Parameters
System.String
szFileExtension
|
System.String
szMimeType
|
IMFActivate
pActivate
|
Returns
HResult
|
MFRegisterLocalSchemeHandler(String, IMFActivate)
Declaration
public static HResult MFRegisterLocalSchemeHandler(string szScheme, IMFActivate pActivate)
Parameters
System.String
szScheme
|
IMFActivate
pActivate
|
Returns
HResult
|
MFRegisterPlatformWithMMCSS(String, ref Int32, Int32)
Declaration
public static HResult MFRegisterPlatformWithMMCSS(string wszClass, ref int pdwTaskId, int lPriority)
Parameters
System.String
wszClass
|
System.Int32
pdwTaskId
|
System.Int32
lPriority
|
Returns
HResult
|
MFRemovePeriodicCallback(Int32)
Declaration
public static HResult MFRemovePeriodicCallback(int dwKey)
Parameters
System.Int32
dwKey
|
Returns
HResult
|
MFRequireProtectedEnvironment(IMFPresentationDescriptor)
Declaration
public static HResult MFRequireProtectedEnvironment(IMFPresentationDescriptor pPresentationDescriptor)
Parameters
IMFPresentationDescriptor
pPresentationDescriptor
|
Returns
HResult
|
MFScheduleWorkItem(IMFAsyncCallback, Object, Int64, out Int64)
Declaration
public static HResult MFScheduleWorkItem(IMFAsyncCallback pCallback, object pState, long Timeout, out long pKey)
Parameters
IMFAsyncCallback
pCallback
|
System.Object
pState
|
System.Int64
Timeout
|
System.Int64
pKey
|
Returns
HResult
|
MFScheduleWorkItemEx(IMFAsyncResult, Int64, out Int64)
Declaration
public static HResult MFScheduleWorkItemEx(IMFAsyncResult pResult, long Timeout, out long pKey)
Parameters
IMFAsyncResult
pResult
|
System.Int64
Timeout
|
System.Int64
pKey
|
Returns
HResult
|
MFSerializeAttributesToStream(IMFAttributes, MFAttributeSerializeOptions, IStream)
Declaration
public static HResult MFSerializeAttributesToStream(IMFAttributes pAttr, MFAttributeSerializeOptions dwOptions, IStream pStm)
Parameters
IMFAttributes
pAttr
|
MFAttributeSerializeOptions
dwOptions
|
IStream
pStm
|
Returns
HResult
|
MFSerializePresentationDescriptor(IMFPresentationDescriptor, out Int32, out IntPtr)
Declaration
public static HResult MFSerializePresentationDescriptor(IMFPresentationDescriptor pPD, out int pcbData, out IntPtr ppbData)
Parameters
IMFPresentationDescriptor
pPD
|
System.Int32
pcbData
|
System.IntPtr
ppbData
|
Returns
HResult
|
MFSetAttribute2UINT32asUINT64(IMFAttributes, Guid, Int32, Int32)
Declaration
public static HResult MFSetAttribute2UINT32asUINT64(IMFAttributes pAttributes, Guid guidKey, int unHigh32, int unLow32)
Parameters
IMFAttributes
pAttributes
|
System.Guid
guidKey
|
System.Int32
unHigh32
|
System.Int32
unLow32
|
Returns
HResult
|
MFSetAttributeRatio(IMFAttributes, Guid, Int32, Int32)
Declaration
public static HResult MFSetAttributeRatio(IMFAttributes pAttributes, Guid guidKey, int unNumerator, int unDenominator)
Parameters
IMFAttributes
pAttributes
|
System.Guid
guidKey
|
System.Int32
unNumerator
|
System.Int32
unDenominator
|
Returns
HResult
|
MFSetAttributeSize(IMFAttributes, Guid, Int32, Int32)
Declaration
public static HResult MFSetAttributeSize(IMFAttributes pAttributes, Guid guidKey, int unWidth, int unHeight)
Parameters
IMFAttributes
pAttributes
|
System.Guid
guidKey
|
System.Int32
unWidth
|
System.Int32
unHeight
|
Returns
HResult
|
MFShutdown()
MFShutdownObject(Object)
Declaration
public static HResult MFShutdownObject(object pUnk)
Parameters
System.Object
pUnk
|
Returns
HResult
|
MFStartup(Int32, MFStartup)
Declaration
public static HResult MFStartup(int Version, MFStartup dwFlags)
Parameters
System.Int32
Version
|
MFStartup
dwFlags
|
Returns
HResult
|
MFTEnum(Guid, Int32, MFTRegisterTypeInfo, MFTRegisterTypeInfo, IMFAttributes, out Guid[], out Int32)
Declaration
public static HResult MFTEnum(Guid MFTransformCategory, int Flags, MFTRegisterTypeInfo pInputType, MFTRegisterTypeInfo pOutputType, IMFAttributes pAttributes, out Guid[] ppclsidMFT, out int pcMFTs)
Parameters
System.Guid
MFTransformCategory
|
System.Int32
Flags
|
MFTRegisterTypeInfo
pInputType
|
MFTRegisterTypeInfo
pOutputType
|
IMFAttributes
pAttributes
|
System.Guid[]
ppclsidMFT
|
System.Int32
pcMFTs
|
Returns
HResult
|
MFTEnumEx(Guid, MFT_EnumFlag, MFTRegisterTypeInfo, MFTRegisterTypeInfo, out IMFActivate[], out Int32)
Declaration
public static HResult MFTEnumEx(Guid MFTransformCategory, MFT_EnumFlag Flags, MFTRegisterTypeInfo pInputType, MFTRegisterTypeInfo pOutputType, out IMFActivate[] pppMFTActivate, out int pnumMFTActivate)
Parameters
System.Guid
MFTransformCategory
|
MFT_EnumFlag
Flags
|
MFTRegisterTypeInfo
pInputType
|
MFTRegisterTypeInfo
pOutputType
|
IMFActivate[]
pppMFTActivate
|
System.Int32
pnumMFTActivate
|
Returns
HResult
|
MFTGetInfo(Guid, out String, ArrayList, MFInt, ArrayList, MFInt, IntPtr)
Declaration
public static HResult MFTGetInfo(Guid clsidMFT, out string pszName, ArrayList ppInputTypes, MFInt pcInputTypes, ArrayList ppOutputTypes, MFInt pcOutputTypes, IntPtr ip)
Parameters
System.Guid
clsidMFT
|
System.String
pszName
|
System.Collections.ArrayList
ppInputTypes
|
MFInt
pcInputTypes
|
System.Collections.ArrayList
ppOutputTypes
|
MFInt
pcOutputTypes
|
System.IntPtr
ip
|
Returns
HResult
|
MFTranscodeGetAudioOutputAvailableTypes(Guid, MFT_EnumFlag, IMFAttributes, out IMFCollection)
Declaration
public static HResult MFTranscodeGetAudioOutputAvailableTypes(Guid guidSubType, MFT_EnumFlag dwMFTFlags, IMFAttributes pCodecConfig, out IMFCollection ppAvailableTypes)
Parameters
System.Guid
guidSubType
|
MFT_EnumFlag
dwMFTFlags
|
IMFAttributes
pCodecConfig
|
IMFCollection
ppAvailableTypes
|
Returns
HResult
|
MFTRegister(Guid, Guid, String, MFT_EnumFlag, Int32, MFTRegisterTypeInfo[], Int32, MFTRegisterTypeInfo[], IMFAttributes)
Declaration
public static HResult MFTRegister(Guid clsidMFT, Guid guidCategory, string pszName, MFT_EnumFlag Flags, int cInputTypes, MFTRegisterTypeInfo[] pInputTypes, int cOutputTypes, MFTRegisterTypeInfo[] pOutputTypes, IMFAttributes pAttributes)
Parameters
System.Guid
clsidMFT
|
System.Guid
guidCategory
|
System.String
pszName
|
MFT_EnumFlag
Flags
|
System.Int32
cInputTypes
|
MFTRegisterTypeInfo[]
pInputTypes
|
System.Int32
cOutputTypes
|
MFTRegisterTypeInfo[]
pOutputTypes
|
IMFAttributes
pAttributes
|
Returns
HResult
|
MFTRegisterLocal(Object, Guid, String, MFT_EnumFlag, Int32, MFTRegisterTypeInfo[], Int32, MFTRegisterTypeInfo[])
Declaration
public static HResult MFTRegisterLocal(object pClassFactory, Guid guidCategory, string pszName, MFT_EnumFlag Flags, int cInputTypes, MFTRegisterTypeInfo[] pInputTypes, int cOutputTypes, MFTRegisterTypeInfo[] pOutputTypes)
Parameters
System.Object
pClassFactory
|
System.Guid
guidCategory
|
System.String
pszName
|
MFT_EnumFlag
Flags
|
System.Int32
cInputTypes
|
MFTRegisterTypeInfo[]
pInputTypes
|
System.Int32
cOutputTypes
|
MFTRegisterTypeInfo[]
pOutputTypes
|
Returns
HResult
|
MFTRegisterLocalByCLSID(Guid, Guid, String, MFT_EnumFlag, Int32, MFTRegisterTypeInfo[], Int32, MFTRegisterTypeInfo[])
Declaration
public static HResult MFTRegisterLocalByCLSID(Guid clisdMFT, Guid guidCategory, string pszName, MFT_EnumFlag Flags, int cInputTypes, MFTRegisterTypeInfo[] pInputTypes, int cOutputTypes, MFTRegisterTypeInfo[] pOutputTypes)
Parameters
System.Guid
clisdMFT
|
System.Guid
guidCategory
|
System.String
pszName
|
MFT_EnumFlag
Flags
|
System.Int32
cInputTypes
|
MFTRegisterTypeInfo[]
pInputTypes
|
System.Int32
cOutputTypes
|
MFTRegisterTypeInfo[]
pOutputTypes
|
Returns
HResult
|
MFTUnregister(Guid)
Declaration
public static HResult MFTUnregister(Guid clsidMFT)
Parameters
System.Guid
clsidMFT
|
Returns
HResult
|
MFTUnregisterLocal(Object)
Declaration
public static HResult MFTUnregisterLocal(object pClassFactory)
Parameters
System.Object
pClassFactory
|
Returns
HResult
|
MFTUnregisterLocalByCLSID(Guid)
Declaration
public static HResult MFTUnregisterLocalByCLSID(Guid clsidMFT)
Parameters
System.Guid
clsidMFT
|
Returns
HResult
|
MFUnlockDXGIDeviceManager()
MFUnlockPlatform()
MFUnlockWorkQueue(Int32)
Declaration
public static HResult MFUnlockWorkQueue(int dwWorkQueue)
Parameters
System.Int32
dwWorkQueue
|
Returns
HResult
|
MFUnregisterPlatformFromMMCSS()
MFUnwrapMediaType(IMFMediaType, out IMFMediaType)
Declaration
public static HResult MFUnwrapMediaType(IMFMediaType pWrap, out IMFMediaType ppOrig)
Parameters
IMFMediaType
pWrap
|
IMFMediaType
ppOrig
|
Returns
HResult
|
MFValidateMediaTypeSize(Guid, IntPtr, Int32)
Declaration
public static HResult MFValidateMediaTypeSize(Guid FormatType, IntPtr pBlock, int cbSize)
Parameters
System.Guid
FormatType
|
System.IntPtr
pBlock
|
System.Int32
cbSize
|
Returns
HResult
|
MFWrapMediaType(IMFMediaType, Guid, Guid, out IMFMediaType)
Declaration
public static HResult MFWrapMediaType(IMFMediaType pOrig, Guid MajorType, Guid SubType, out IMFMediaType ppWrap)
Parameters
IMFMediaType
pOrig
|
System.Guid
MajorType
|
System.Guid
SubType
|
IMFMediaType
ppWrap
|
Returns
HResult
|
Pack2UINT32AsUINT64(Int32, Int32)
Declaration
public static long Pack2UINT32AsUINT64(int unHigh, int unLow)
Parameters
System.Int32
unHigh
|
System.Int32
unLow
|
Returns
System.Int64
|
PackRatio(Int32, Int32)
Declaration
public static long PackRatio(int nNumerator, int unDenominator)
Parameters
System.Int32
nNumerator
|
System.Int32
unDenominator
|
Returns
System.Int64
|
PackSize(Int32, Int32)
Declaration
public static long PackSize(int unWidth, int unHeight)
Parameters
System.Int32
unWidth
|
System.Int32
unHeight
|
Returns
System.Int64
|
Unpack2UINT32AsUINT64(Int64, out Int32, out Int32)
Declaration
public static void Unpack2UINT32AsUINT64(long unPacked, out int punHigh, out int punLow)
Parameters
System.Int64
unPacked
|
System.Int32
punHigh
|
System.Int32
punLow
|
UnpackRatio(Int64, out Int32, out Int32)
Declaration
public static void UnpackRatio(long unPacked, out int pnNumerator, out int punDenominator)
Parameters
System.Int64
unPacked
|
System.Int32
pnNumerator
|
System.Int32
punDenominator
|
UnpackSize(Int64, out Int32, out Int32)
Declaration
public static void UnpackSize(long unPacked, out int punWidth, out int punHeight)
Parameters
System.Int64
unPacked
|
System.Int32
punWidth
|
System.Int32
punHeight
|