ReactOS  0.4.15-dev-1177-g6cb3b62
IMFSample Interface Reference

import"mfobjects.idl";

Inheritance diagram for IMFSample:
Collaboration diagram for IMFSample:

Public Member Functions

HRESULT GetSampleFlags ([out] DWORD *pdwSampleFlags)
 
HRESULT SetSampleFlags ([in] DWORD dwSampleFlags)
 
HRESULT GetSampleTime ([out] LONGLONG *phnsSampleTime)
 
HRESULT SetSampleTime ([in] LONGLONG hnsSampleTime)
 
HRESULT GetSampleDuration ([out] LONGLONG *phnsSampleDuration)
 
HRESULT SetSampleDuration ([in] LONGLONG hnsSampleDuration)
 
HRESULT GetBufferCount ([out] DWORD *pdwBufferCount)
 
HRESULT GetBufferByIndex ([in] DWORD dwIndex, [out] IMFMediaBuffer **ppBuffer)
 
HRESULT ConvertToContiguousBuffer ([out] IMFMediaBuffer **ppBuffer)
 
HRESULT AddBuffer ([in] IMFMediaBuffer *pBuffer)
 
HRESULT RemoveBufferByIndex ([in] DWORD dwIndex)
 
HRESULT RemoveAllBuffers ()
 
HRESULT GetTotalLength ([out] DWORD *pcbTotalLength)
 
HRESULT CopyToBuffer ([in] IMFMediaBuffer *pBuffer)
 
- Public Member Functions inherited from IMFAttributes
HRESULT GetItem (REFGUID guidKey, [in, out, ptr] PROPVARIANT *pValue)
 
HRESULT GetItemType (REFGUID guidKey, [out] MF_ATTRIBUTE_TYPE *pType)
 
HRESULT CompareItem (REFGUID guidKey, REFPROPVARIANT Value, [out] BOOL *pbResult)
 
HRESULT Compare (IMFAttributes *pTheirs, MF_ATTRIBUTES_MATCH_TYPE MatchType, [out] BOOL *pbResult)
 
HRESULT GetUINT32 (REFGUID guidKey, [out] UINT32 *punValue)
 
HRESULT GetUINT64 (REFGUID guidKey, [out] UINT64 *punValue)
 
HRESULT GetDouble (REFGUID guidKey, [out] double *pfValue)
 
HRESULT GetGUID (REFGUID guidKey, [out] GUID *pguidValue)
 
HRESULT GetStringLength (REFGUID guidKey, [out] UINT32 *pcchLength)
 
HRESULT GetString (REFGUID guidKey, [out, size_is(cchBufSize)] LPWSTR pwszValue, UINT32 cchBufSize, [in, out, ptr] UINT32 *pcchLength)
 
HRESULT GetAllocatedString (REFGUID guidKey, [out, size_is(, *pcchLength+1)] LPWSTR *ppwszValue, [out] UINT32 *pcchLength)
 
HRESULT GetBlobSize (REFGUID guidKey, [out] UINT32 *pcbBlobSize)
 
HRESULT GetBlob (REFGUID guidKey, [out, size_is(cbBufSize)] UINT8 *pBuf, UINT32 cbBufSize, [in, out, ptr] UINT32 *pcbBlobSize)
 
HRESULT GetAllocatedBlob (REFGUID guidKey, [out, size_is(, *pcbSize)] UINT8 **ppBuf, [out] UINT32 *pcbSize)
 
HRESULT GetUnknown (REFGUID guidKey, REFIID riid, [out, iid_is(riid)] LPVOID *ppv)
 
HRESULT SetItem (REFGUID guidKey, REFPROPVARIANT Value)
 
HRESULT DeleteItem (REFGUID guidKey)
 
HRESULT DeleteAllItems ()
 
HRESULT SetUINT32 (REFGUID guidKey, UINT32 unValue)
 
HRESULT SetUINT64 (REFGUID guidKey, UINT64 unValue)
 
HRESULT SetDouble (REFGUID guidKey, double fValue)
 
HRESULT SetGUID (REFGUID guidKey, REFGUID guidValue)
 
HRESULT SetString (REFGUID guidKey, [in, string] LPCWSTR wszValue)
 
HRESULT SetBlob (REFGUID guidKey, [in, size_is(cbBufSize)] const UINT8 *pBuf, UINT32 cbBufSize)
 
HRESULT SetUnknown (REFGUID guidKey, [in] IUnknown *pUnknown)
 
HRESULT LockStore ()
 
HRESULT UnlockStore ()
 
HRESULT GetCount ([out] UINT32 *pcItems)
 
HRESULT GetItemByIndex (UINT32 unIndex, [out] GUID *pguidKey, [in, out, ptr] PROPVARIANT *pValue)
 
HRESULT CopyAllItems ([in] IMFAttributes *pDest)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

Definition at line 110 of file mfobjects.idl.

Member Function Documentation

◆ AddBuffer()

HRESULT IMFSample::AddBuffer ( [in] IMFMediaBuffer pBuffer)

◆ ConvertToContiguousBuffer()

HRESULT IMFSample::ConvertToContiguousBuffer ( [out] IMFMediaBuffer **  ppBuffer)

◆ CopyToBuffer()

HRESULT IMFSample::CopyToBuffer ( [in] IMFMediaBuffer pBuffer)

◆ GetBufferByIndex()

HRESULT IMFSample::GetBufferByIndex ( [in] DWORD  dwIndex,
[out] IMFMediaBuffer **  ppBuffer 
)

◆ GetBufferCount()

HRESULT IMFSample::GetBufferCount ( [out] DWORD pdwBufferCount)

◆ GetSampleDuration()

HRESULT IMFSample::GetSampleDuration ( [out] LONGLONG phnsSampleDuration)

◆ GetSampleFlags()

HRESULT IMFSample::GetSampleFlags ( [out] DWORD pdwSampleFlags)

◆ GetSampleTime()

HRESULT IMFSample::GetSampleTime ( [out] LONGLONG phnsSampleTime)

◆ GetTotalLength()

HRESULT IMFSample::GetTotalLength ( [out] DWORD pcbTotalLength)

◆ RemoveAllBuffers()

HRESULT IMFSample::RemoveAllBuffers ( )

◆ RemoveBufferByIndex()

HRESULT IMFSample::RemoveBufferByIndex ( [in] DWORD  dwIndex)

◆ SetSampleDuration()

HRESULT IMFSample::SetSampleDuration ( [in] LONGLONG  hnsSampleDuration)

◆ SetSampleFlags()

HRESULT IMFSample::SetSampleFlags ( [in] DWORD  dwSampleFlags)

◆ SetSampleTime()

HRESULT IMFSample::SetSampleTime ( [in] LONGLONG  hnsSampleTime)

The documentation for this interface was generated from the following file: