Skip to content

Latest commit

 

History

History
68 lines (54 loc) · 1.69 KB

nf-mfidl-imfsampleallocatorcontrol-getallocatorusage.md

File metadata and controls

68 lines (54 loc) · 1.69 KB
UID title ms.date targetos description tech.root req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:mfidl.IMFSampleAllocatorControl.GetAllocatorUsage
IMFSampleAllocatorControl::GetAllocatorUsage
11/4/2019
Windows
Retrieves the sample allocator usage for the specified output stream.
mf
function
mfuuid.dll
mfidl.h
Windows 10, version 2004 (10.0; Build 19041)
Windows Server, version 2004 (10.0; Build 19041)
apiref
COM
mfuuid.lib
mfuuid.dll
IMFSampleAllocatorControl::GetAllocatorUsage
IMFSampleAllocatorControl::GetAllocatorUsage
mfidl/IMFSampleAllocatorControl::GetAllocatorUsage
c++

-description

Retrieves the sample allocator usage for the specified output stream.

-parameters

-param dwOutputStreamID

The ID of the output stream whose sample allocator usage is requested.

-param 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.

-param peUsage

A member of the MFSampleAllocatorUsage enumeration specifying the sample allocator usage of the specified output stream.

-returns

The method returns an HRESULT.

-remarks

-see-also