IltmmCameraControl::Set

Summary

Sets the value and flags for the specified camera property.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmCameraControl_Set(pCamera, Property, lValue, Flags)
C++ HRESULT Set(Property, lValue, Flags)

Parameters

IltmmCameraControl *pCamera

Pointer to an IltmmCameraControl interface.

long Property

Value that represents the property for which to set the value and flags. For a list of possible values, refer to the ltmmCameraControlProperty Constants.

long lValue

The new property value to set.

long Flags

Value that represents the property flags to set. For a list of possible values, refer to ltmmCameraControlFlags Constants.

Returns

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.

Comments

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.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C IltmmCameraControl::GetRange
C++ IltmmCameraControl::GetRange
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.