IMFSampleAllocatorControl::GetAllocatorUsage method (mfidl.h)
Retrieves the sample allocator usage for the specified output stream.
HRESULT GetAllocatorUsage(
DWORD dwOutputStreamID,
DWORD *pdwInputStreamID,
MFSampleAllocatorUsage *peUsage
);
dwOutputStreamID
The ID of the output stream whose sample allocator usage is requested.
pdwInputStreamID
If the allocator usage is MFSampleAllocatorUsage_DoesNotAllocate, then this output parameter is set to the ID of the input stream that the output samples are coming from. For all other allocator usage values, this parameter is ignored.
peUsage
A member of the MFSampleAllocatorUsage enumeration specifying the sample allocator usage of the specified output stream.
The method returns an HRESULT.
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 (10.0; Build 19041) |
Minimum supported server | Windows Server, version 2004 (10.0; Build 19041) |
Header | mfidl.h |
DLL | mfuuid.dll |