MFCreateCaptureEngine function

[MFCreateCaptureEngine is not supported and may be altered or unavailable in the future. ]

Creates an instance of the capture engine.

Syntax

HRESULT MFCreateCaptureEngine(
  _Out_ IMFCaptureEngine **ppCaptureEngine
);

Parameters

ppCaptureEngine [out]

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

Return value

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This function has no associated import library and is not declared in a public header file. You must use the LoadLibrary and GetProcAddress functions to dynamically link to MFCaptureEngine.dll.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 R2 [desktop apps only]
DLL
MFCaptureEngine.dll

See also

Media Foundation Functions