IltmmCameraControl::Get

Summary

Gets the value and flags for the specified camera property.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmCameraControl_get(pCamera, Property, lValue, Flags)
C++ HRESULT get(Property, lValue, Flags)

Parameters

IltmmCameraControl *pCamera

Pointer to an IltmmCameraControl interface.

long Property

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

long *lValue

Pointer to a variable that receives the value of the specified property.

long *Flags

Pointer to a variable that receives the flags of the specified property. For a list of possible values, refer to the 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::Set to set 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::Get 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.