Sets the value and flags for the specified camera property.
#include "ltmm.h"
Language | Syntax |
---|---|
C | HRESULT IltmmCameraControl_Set(pCamera, Property, lValue, Flags) |
C++ | HRESULT Set(Property, lValue, Flags) |
Pointer to an IltmmCameraControl interface.
Value that represents the property for which to set the value and flags. For a list of possible values, refer to the ltmmCameraControlProperty Constants.
The new property value to set.
Value that represents the property flags to set. For a list of possible values, refer to ltmmCameraControlFlags Constants.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
Call IltmmCameraControl::Get to retrieve the value and flags for a specific camera property.
To get the range and default value of a specific camera property, call IltmmCameraControl::GetRange.
For more detailed information, refer to the Microsoft documentation for the IAMCameraControl::Set function.
Win32, x64.
Language | Example |
---|---|
C | IltmmCameraControl::GetRange |
C++ | IltmmCameraControl::GetRange |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document