Skip to content

Latest commit

 

History

History
82 lines (63 loc) · 2.16 KB

nf-mfvirtualcamera-imfvirtualcamera-addproperty.md

File metadata and controls

82 lines (63 loc) · 2.16 KB
UID tech.root title ms.date targetos description prerelease 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:mfvirtualcamera.IMFVirtualCamera.AddProperty
mf
IMFVirtualCamera::AddProperty
05/17/2021
Windows
Adds custom device interface properties to the virtual camera.
false
function
mfsensorgroup.dll
mfvirtualcamera.h
mfsensorgroup.lib
Windows Build 22000
apiref
DllExport
mfsensorgroup.dll
IMFVirtualCamera::AddProperty
IMFVirtualCamera::AddProperty
mfvirtualcamera/IMFVirtualCamera::AddProperty
c++

-description

Adds custom device interface properties to the virtual camera.

-parameters

-param pKey

Pointer to a DEVPROPKEY to add to the virtual camera device interface. For more information, see Unified Device Property Model.

-param Type

Property type for the specified pKey. The DEVPROP_TYPE_NULL and DEVPROP_TYPE_EMPTY types are not supported.

-param pbData

Pointer to the property data.

-param cbData

Size in bytes contained in the buffer pointed to by data.

-returns

Returns an HRESULT value, including but not limited to the following values:

Error code Description
S_OK Succeeded
E_INVALIDARG An input parameter is invalid.
E_ACCESSDENIED Caller has insufficient permissions to add properties.

-remarks

Callers must have administrator-level permissions to use this API. UWP and packaged apps do not have permissions to call this method.

Callers should use caution when adding known Windows device properties as this may have unintended effects.

-see-also