IAMCameraControl::Set
A version of this page is also available for
4/8/2010
This method sets a specified property on the camera.
Syntax
HRESULT Set (
long Property,
long lValue,
long Flags
);
Parameters
- Property
[in] A long value that specifies the property to set, as a value from the CameraControlProperty enumeration.
- lValue
[in] A long value that specifes the new value of the property.
- Flags
[in] A long value that specifies the desired control setting, as a member of the CameraControlFlags enumeration.
Return Value
If method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.
Remarks
If the Flags parameter is CameraControl_Flags_Auto, the method ignores the lValue parameter.
Requirements
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment |
See Also
Reference
IAMCameraControl Interface
IAMCameraControl::Get
CameraControlProperty
CameraControlFlags