MFFrameCreateFromTexture Method (IMFFactory)
media propertoes
D3D texture object
amount of audio samples
a pointer to audio data
result MFFrame object
additional properties
Creates a MFFrame object from D3D texture
Syntax
Sub MFFrameCreateFromTexture( _
   ByRef _pAVProps As M_AV_PROPS, _
   ByVal _pD3DTexture2D As Object, _
   ByVal _lAudioSamples As Integer, _
   ByVal _lpAudio As Long, _
   ByRef _ppFrame As IMFFrame, _
   ByVal _bsPropsList As String _
) 
void MFFrameCreateFromTexture( 
   ref M_AV_PROPS _pAVProps,
   IUnknown* _pD3DTexture2D,
   int _lAudioSamples,
   long _lpAudio,
   [PARAMFLAG::Out] IMFFrame* _ppFrame,
   BSTR* _bsPropsList
) 

Parameters

_pAVProps
media propertoes
_pD3DTexture2D
D3D texture object
_lAudioSamples
amount of audio samples
_lpAudio
a pointer to audio data
_ppFrame
result MFFrame object
_bsPropsList
additional properties
See Also

Reference

IMFFactory Interface
IMFFactory Members