Skip to content

Latest commit

 

History

History
130 lines (108 loc) · 3.13 KB

nf-mfcaptureengine-imfcapturesink-getservice.md

File metadata and controls

130 lines (108 loc) · 3.13 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mfcaptureengine.IMFCaptureSink.GetService
IMFCaptureSink::GetService (mfcaptureengine.h)
Queries the underlying Sink Writer object for an interface.
GetService
GetService method [Media Foundation]
GetService method [Media Foundation]
IMFCaptureSink interface
IMFCaptureSink interface [Media Foundation]
GetService method
IMFCaptureSink.GetService
IMFCaptureSink::GetService
mf.imfcapturesink_getservice
mfcaptureengine/IMFCaptureSink::GetService
mf\imfcapturesink_getservice.htm
mf
591F0E3D-01A8-420F-86C6-2C610643EB69
12/05/2018
GetService, GetService method [Media Foundation], GetService method [Media Foundation],IMFCaptureSink interface, IMFCaptureSink interface [Media Foundation],GetService method, IMFCaptureSink.GetService, IMFCaptureSink::GetService, mf.imfcapturesink_getservice, mfcaptureengine/IMFCaptureSink::GetService
mfcaptureengine.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Windows
19H1
IMFCaptureSink::GetService
mfcaptureengine/IMFCaptureSink::GetService
c++
APIRef
kbSyntax
COM
mfcaptureengine.h
IMFCaptureSink.GetService

IMFCaptureSink::GetService

-description

Queries the underlying Sink Writer object for an interface.

-parameters

-param dwSinkStreamIndex [in]

The zero-based index of the stream to query. The index is returned in the pdwSinkStreamIndex parameter of the IMFCaptureSink::AddStream method.

-param rguidService [in]

A service identifier GUID. Currently, the value must be GUID_NULL.

-param riid [in]

A service identifier GUID. Currently, the value must be IID_IMFSinkWriter.

-param ppUnknown [out]

Receives a pointer to the IUnknown interface. The caller must release the interface.

-returns

This method can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
Invalid argument.
MF_E_INVALIDREQUEST
Invalid request.
MF_E_INVALIDSTREAMNUMBER
Invalid stream number.

-see-also

IMFCaptureSink