Share via


MFCreateSensorProfile-Funktion (mfidl.h)

Erstellt ein Sensorprofil basierend auf dem angegebenen Typ, Index und optionalen Einschränkungen.

Syntax

HRESULT MFCreateSensorProfile(
  [in]           REFGUID          ProfileType,
  [in, out]      UINT32           ProfileIndex,
  [in, optional] LPCWSTR          Constraints,
  [out]          IMFSensorProfile **ppProfile
);

Parameter

[in] ProfileType

Der zu erstellende Profiltyp.

[in, out] ProfileIndex

Der Profilindex.

[in, optional] Constraints

Alle optionalen Einschränkungen, die für das Profil festgelegt werden sollen.

[out] ppProfile

Gibt bei Erfolg einen doppelten Zeiger auf das IMFSensorProfile zurück, das das Sensorprofil enthält.

Rückgabewert

Diese Funktion gibt keinen Wert zurück.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 10, Version 1803 [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Nicht unterstützt
Zielplattform Windows
Kopfzeile mfidl.h
Bibliothek Mfsensorgroup.lib
DLL Mfsensorgroup.dll